Opened 12 years ago
Closed 12 years ago
#10038 closed Bug (duplicate)
Span becomes a font tag
Reported by: | tema | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
- open http://nightly.ckeditor.com/13-02-05-08-51/standard/samples/replacebyclass.html
- using javascript console:
CKEDITOR.instances.editor1.setData('<span style="color:#ff0000;">hello</span>')
- select all text, press backspace (remove everything)
- start typing new text
Now: new text is wrapped in <font> tag with "color" attribute Expected: either plain black text or text wrapped in original span with red color
Can I fix this by changing config or something?
Change History (2)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Version: | 4.0.2 (GitHub - master) |
DUP of #8082
This is Webkit issue. Try doing the same in plain content editable element. You will get the same result:
<body contenteditable="true"><!--contenteditable="true"--> <span style="color:#ff0000;">hello</span> </body>
Same happens using "Text color" button.