Opened 16 years ago

Closed 16 years ago

#2292 closed Bug (fixed)

Opera: strange line break behavior when applying/removing styles

Reported by: Frederico Caldeira Knabben Owned by: Hallvord R. M. Steen (Opera Software)
Priority: Must have (possibly next milestone) Milestone: Opera Compatibility
Component: General Version: FCKeditor 2.6.1
Keywords: Confirmed Opera Cc: Hallvord R. M. Steen (Opera Software)


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 (2)

comment:1 Changed 16 years ago by Hallvord R. M. Steen (Opera Software)

Owner: set to Hallvord R. M. Steen (Opera Software)
Status: newassigned

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 16 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: assignedclosed

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy