Opened 16 years ago

Closed 13 years ago

#2550 closed Bug (fixed)

Bold content pasted from Outlook not converted to <strong>

Reported by: tcarden Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: SVN (FCKeditor) - Retired
Keywords: Cc:

Description

Since version 2.6, the editor generates <strong> tags rather than <b>'s. However, the formatting of pasted content is inconsistent with this. As a consequence, it is not possible to un-bold the content.

Versions: 2.6.2 / 2.6.3 OS: Windows XP Browser: IE6

Steps to reproduce:

In an Outlook (2003) email, format some text as bold. Copy and paste it into the FCK editor. The formatting appears to be preserved. Select the bold text. Note that the "B" toolbar button is highlighted. Click the toolbar button to 'un-bold' the text. Note that the text remains bold.

Use the "Source" toolbar button to examine the content. Note that the bolding is applied with <b> tags:

<p>Plain <b>Bold</b> Plain</p>

Using the 'Paste from Word' option does not solve the problem. So the only option is to 'Paste as Text', and then re-format the content.

Interestingly, the same issue does not apply to italic formatting (within <i> tags). Although it is pasted into the editor as <i>'s, rather than <em>'s, the "I" toolbar button can be used to convert it back to non-italic text.

Change History (2)

comment:1 Changed 16 years ago by Artur Formella

Keywords: Confirmed added
Version: SVN

I confirm. Paste

<p>Plain <b>bold</b> Plain</p>

in source mode, go to WYSIWIG. There are 3 ways to un-bold this text:

  • Double click "bold", click Bold button 2 times. (FF3)
  • Insert cursor in "bold" and click Bold-button. (FF3, IE6)
  • Double click "bold", click Bold button. (IE7)

comment:2 Changed 13 years ago by Krzysztof Studnik

Component: GeneralCore : Styles
Resolution: fixed
Status: confirmedclosed

Fixed with #6215 for CKE3.4

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