Opened 13 years ago

Closed 12 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:


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 Edit the "ajax.html"-file Add "CKEDITOR.config.contentsCss = 'XXXXXXXXXX.css';" after line 27 Test it in Chrome.

Change History (2)

comment:1 Changed 13 years ago by Frederico Caldeira Knabben

Keywords: WebKit CantFix added

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.

comment:2 Changed 12 years ago by Jakub Ś

Resolution: duplicate
Status: newclosed

The ticked reported by @garry.yao to Webkit -

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

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