Ticket #2292 (closed Bug: fixed)

Opened 7 years ago

Last modified 6 years ago

Opera: strange line break behavior when applying/removing styles

Reported by: fredck Owned by: hallvord@…
Priority: High Milestone: Opera Compatibility
Component: General Version: FCKeditor 2.6.1
Keywords: Confirmed Opera Cc: hallvord@…

Description

Steps to Reproduce It

  1. Load sample01.html, or even our online demo.
  2. Double click on the "are" text to select it.
  3. Click the "Bold" button in the toolbar.
  4. Click again the "Bold" button to remove the style.
  5. Without touching the selection, repeat steps 3 and 4 several times.

The line will keep breaking after and before "are".

But, it is not said that we have a <br> there... just switch to source and back to WYSIWYG and everything will be ok again.

Change History

comment:1 Changed 7 years ago by hallvord@…

  • Owner set to hallvord@…
  • Status changed from new to assigned

This is Opera bug 336017: empty text nodes (such as any created when the Range.insertNode functionality in FCKEditor is called while creating a bookmark at the start of a text node and calls textNode.splitText(0) ) are rendered as linebreaks. This must be fixed on our side though you can probably make the impact less by not creating empty text nodes in the "create bookmark" functionality.

comment:2 Changed 6 years ago by fredck

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

With great pleasure, I've checked that Opera build 10094 has this issue finally fixed! Opera 9.52 users will now have a pleasant editing experience with FCKeditor.

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