Opened 9 years ago
Last modified 8 years ago
#13775 confirmed Bug
Typing into selected contents of span tag creates font tag — at Version 5
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | IE11 Blink Webkit | Cc: |
Description (last modified by )
Steps to reproduce
- Open replacebycode sample and clear editor contents
- Type few characters
- Select chars and change text color and font to e.g. Comic sans
- While whole text is still selected (you can also unselect and select whole sample text again - result will be the same), type new random characters
Expected result
Span tags stays and only its content changes.
Actual result
Span tag is changed to font tag.
Other details (browser, OS, CKEditor version, installed plugins)
Problem can be reproduced from CKEditor 4.0 in Blink/Webkit and in IE11 from version 4.3 (this is the version when we have started supporting IE11 and issue probably occurs in earlier versions as well). Firefox and IE10- seem to work fine.
Change History (5)
comment:1 Changed 9 years ago by
Status: | new → confirmed |
---|---|
Summary: | Typing into selected area ccontents of span tag creates font tag → Typing into selected contents of span tag creates font tag |
comment:3 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Keywords: | Blink Webkit added |
Version: | 4.3 → 4.0 |
comment:5 Changed 8 years ago by
Description: | modified (diff) |
---|
This seems to be IE native issue, if you try below code:
<div style="margin:20px; border:1px solid black; width:500px;" contenteditable="true"> <strong>test</strong> </div>
select all and press e.g. c
character, you will get c
wrapped in b
tags; The same will happen if you place cursor behind test^
, press backspace 4 times and then start typing.
As a workaround ACF transformations might be used: