• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

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

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension KupuContrib Enhancement New   minor  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
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 New
WaitingFor

Checkins

TargetRelease minor
ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-08-05 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback