Opened 17 years ago
Closed 17 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) |
Description
Steps to Reproduce It
- Load sample01.html, or even our online demo.
- Double click on the "are" text to select it.
- Click the "Bold" button in the toolbar.
- Click again the "Bold" button to remove the style.
- 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 17 years ago by
Owner: | set to Hallvord R. M. Steen (Opera Software) |
---|---|
Status: | new → assigned |
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.
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.