Opened 3 years ago

Last modified 2 years ago

#14302 confirmed Bug

span tag replaced by font

Reported by: LeResKP Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.4
Keywords: Cc:

Description

Steps to reproduce

  1. Go here http://sdk.ckeditor.com/samples/acf.html in section 'Adjusting Automatic ACF Mode'
  2. Select the text in green 'text colors' and click on backspace
  3. Type a new text

Expected result

Only the new text should be added

Actual result

A font tag with the previous color is added

Other details (browser, OS, CKEditor version, installed plugins)

Linux Fedora, chrome Version 40.0.2214.115 (64-bit). I also saw the bug on windows chrome and firefox

Attachments (1)

ckeditor-font-issue.png (176.9 KB) - added by LeResKP 3 years ago.
font tag is added

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by LeResKP

Attachment: ckeditor-font-issue.png added

font tag is added

comment:1 Changed 3 years ago by kkrzton

Status: newconfirmed

comment:2 Changed 3 years ago by Jakub Ś

This issue looks like a part of #13830 where many similar issues are mentioned.

comment:3 Changed 2 years ago by kkrzton

I also encountered same/similar issue but it is only reproducible on IE/Edge:

  1. Go to http://sdk.ckeditor.com/samples/acf.html to Disabling ACF sample.
  2. In the source mode paste HTML
<p><span style="font-size:18px;color:#00FF00;background-color: #FFFF00">Text</span></p>
  1. Switch back to WYSIWYG mode.
  2. Select whole Text.
  3. Type something.

Resulted html is:

<p><font color="#00ff00" style="background-color: rgb(255, 255, 0);">Typed text</font></p>

So the span tag was replaced by font tag.

comment:4 Changed 2 years ago by kkrzton

It seems like the scenario described in a previous comment fits better for issue #13775. Both issues seems to be related.

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