Ticket #4476 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

inaccessible bullet created when adding bullet at higher level and pressing enter twice

Reported by: Kenny Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.3
Component: General Version: FCKeditor 2.6.4
Keywords: Confirmed IE Review+ Cc:

Description (last modified by fredck) (diff)

We noticed a problem in fckeditor 2.6.4.1 , when creating bullets with multiple levels , and then trying to add a bullet in the middle :

If we have bullets on a higher level , and press enter twice on a bullet on that level , it creates a bullet on a lower level , which cannot be accessed.

Steps to reproduce :

  1. create 3 bullets with some text , on the same level
  2. go to the second bullet , press enter , to add a bullet in the middle
  3. on new bullet , press indent , to make it raise a level
  4. type some text and create 3 bullets at that level
  5. go to the second bullet at that level and press enter, which creates a bullet in the middle there
  6. press enter again, on that new bullet

If you do that , it will create a bullet at a higher level , but you can't type anything at this , and you can only remove it by removing everything around the bullet.

Attachments

fckeditor_inacessible_bullet.JPG (23.2 KB) - added by Kenny 5 years ago.
bullet problem
4476.patch (997 bytes) - added by garry.yao 5 years ago.

Change History

Changed 5 years ago by Kenny

bullet problem

comment:1 Changed 5 years ago by Kenny

Also , the problem occurs in IE6 and IE8 , but not in Firefox.

comment:2 Changed 5 years ago by wwalc

  • Keywords fckeditor 2.6.4 bullets level strange bullet removed

comment:3 Changed 5 years ago by fredck

  • Keywords Confirmed IE added
  • Milestone set to CKEditor 3.2

comment:4 Changed 5 years ago by fredck

  • Description modified (diff)
  • Milestone changed from CKEditor 3.2 to CKEditor 3.3

Confirmed with IE8 Compatibility Mode. Work well with IE8 No-Compatibility mode, even if the caret is not positioned properly when hitting ENTER. It should stay in the same bullet when outdenting.

Changed 5 years ago by garry.yao

comment:5 Changed 5 years ago by garry.yao

  • Keywords Review? added
  • Status changed from new to assigned
  • Owner set to garry.yao

comment:6 Changed 5 years ago by fredck

  • Keywords Review+ added; Review? removed

When committing, please move the variables declaration from line 272 to the top of the function at line 13. Please format it properly also with the correct number of tabs.

comment:7 Changed 5 years ago by garry.yao

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed with [5380].

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy