Item4446: weird behaviour when hitting enter, backspace or delete in lists

pencil
Priority: Enhancement
Current State: No Action Required
Released In:
Target Release: minor
Applies To: Extension
Component: KupuContrib
Branches:
Reported By: TWiki:Main.CarloSchulz
Waiting For:
Last Change By: CrawfordCurrie

weird behaviour when hitting enter or delete in lists

I don't know if this is one big bug or several small bugs. All of them occur when editing lists so I filed them all as one bug. I was able to reproduce all of them with the following list example.
  • Item 1
    • Item 1.1
    • Item 1.2
  • Item 2
    • Item 2.1
      • Item 2.1.1
      • Item 2.1.2
    • Item 2.2
  • Item 3
use case 1
  • Point your cursor at the end of list item 1.2
  • Hitting 'enter' three times creates a new level 1 list item instead of a new paragraph
use case 2
  • Point your cursor at the end of list item 1 or 2
  • hitting 'enter' creates a level 1 list item in front of a level 2 item
  • the generated code looks like this in normal edit:
    * Item 2
    * Item 2.1
use case 2 a
  • try to remove the blank list item and point your cursor at the end of list item 1 or 2
  • if you hit 'delete' or 'backspace' level 2 items become level 1 items
use case 3
  • Point your cursor at the end of a level 1 item and hit 'enter' to add a new item to the list
  • hitting 'enter' two or more times creates blank list items instead of new paragraphs
use case 4
  • Point your cursor at the beginning of item 2 or item 3
  • hitting 'backspace' has no effect at all - the list itme shoul become a paragraph instead
use case 5
  • Point your cursor at the beginning of item 1.2 and hit 'tab' mulitiple times
  • hitting 'tab+backspace' once and item 1.2 becomes a level 2 item once agein - fine
  • hitting 'tab+backspace' two times and item 1.2 is not an list item anymore - bad it should become a level 1 item instead
    nearly the same happens if you press the outdent button

-- TWiki:Main/CarloSchulz - 10 Aug 2007

heh? What happend here? This new editor is not a text editor (although i clicked edit) and the topic is completly messed up now...

-- TWiki:Main.CarloSchulz - 10 Aug 2007

Yes, i enabled TinyMCEPlugin here, in a desperate attempt to get some testing done; and you have obliged, thanks!

CC

I am no longer supporting the KupuContrib. Please use the TinyMCEPlugin instead.

-- CrawfordCurrie - 05 Aug 2008

Kupu has been dropped from NextWiki.

-- CrawfordCurrie - 13 Nov 2008 - 08:39

ItemTemplate edit

Summary weird behaviour when hitting enter, backspace or delete in lists
ReportedBy TWiki:Main.CarloSchulz
Codebase
SVN Range TWiki-4.1.2, Tue, 07 Aug 2007, build 14511
AppliesTo Extension
Component KupuContrib
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease minor
ReleasedIn
Topic revision: r4 - 13 Nov 2008, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy