Opened 14 years ago
Closed 13 years ago
#6121 closed Bug (duplicate)
Chrome: Styles are hardcoded when text is moved
Reported by: | ViperVax | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.3.2 |
Keywords: | WebKit CantFix | Cc: |
Description
I use CKEDITOR.config.contentsCss to apply a certain style to the contents of the editor. All is working well, but when I select a heading and move it to another paragraph, styles are hardcoded all of a sudden. After the move, a H1-tag looks something like this: <h1 style="font-size: 25px; margin-bottom: 12px; margin-top: 10px;">. Somehow the style from the stylesheet is hardcoded into the tags.
But it only happens in Chrome, in IE8 and FF tags are not changed!
Its easy to reconstruct it. Download the zip-file from http://ckeditor.com/download Edit the "ajax.html"-file Add "CKEDITOR.config.contentsCss = 'XXXXXXXXXX.css';" after line 27 Test it in Chrome.
Change History (2)
comment:1 Changed 14 years ago by
Keywords: | WebKit CantFix added |
---|
comment:2 Changed 13 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
The ticked reported by @garry.yao to Webkit - https://bugs.webkit.org/show_bug.cgi?id=61779.
This issue was duplicated in #6366 but I'm closing this one as DUPLICATE because I have already linked #6366 to #7146 and I don't want to make a mess.
I have also copied @fredck comment to #6366
WebKit is well known about changing dragged or pasted stuff. We're not able to fix it. All we can do is reporting it to them, so they can make things work properly at their side.
I'm leaving this ticket opened for now, while the webkit ticket is not available.