Opened 17 years ago

Closed 17 years ago

#400 closed Bug (worksforme)

markup differences when pasting with toolbar button and with ctrl+v

Reported by: Hallvord R. M. Steen (Opera Software) Owned by:
Priority: Normal Milestone: Opera Compatibility
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Cc:


  • load editor
  • copy some of the bold text from the default sentence
  • use "paste" toolbar button (popup dialog opens)
  • paste

Problem: for some reason, this paste action inserts B tags while the editor by default and after Ctrl+V paste uses STRONG tags. What gives?

Change History (2)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

My guess (almost 100% sure):

When pasting through the Paste Dialog, the editor "fixes" the HTML before moving it to the editing area. For Firefox (and Opera therefore) we need to change <strong> tags to <b>, so the browser handles them correctly (related to the bold button behavior). You will notice the same thing with <em> and <i>.

When pasting directly instead, the fixes are not applied, as the browser itself handles the paste. So, you may note the difference.

There is a good chance that the new style system of version 2.5 will fix this issue, not requiring that code fix.

In the mean time, we could limit the fix for FF only. To do that we must be sure that Opera handles <b> and <strong> in the same way (depends on #9 for testing).

comment:2 Changed 17 years ago by Hallvord R. M. Steen (Opera Software)

Resolution: worksforme
Status: newclosed

Don't know how or when this was fixed but I can no longer reproduce the issue

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