Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10064 closed Bug (duplicate)

[Chrome] Inline Styles from contents.css added on Del or Backspace

Reported by: mandius Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0.1
Keywords: chrome styles Cc:

Description

Using Chrome (latest: 24.0.1312.57 m) on Windows 8 Pro 64-bit. If you hit delete or backspace at the beginning or end of a paragraph (possibly other block level elements) so that it combines the paragraphs (i.e. makes them into one) the inline styles from contents.css are added as inline styles.

For a live example, this happens at http://ckeditor.com/demo

  • Click Source and you'll see that there are not any inline styles applied.
  • Go back to WYSIWYG mode and click in front of "Apollo 11" in the first paragraph (not the heading).
  • Hit backspace.
  • Switch to Source mode again and inline styles have been added to the HTML.

It appears to add the BODY styles from contents.css to the elements. In this case "font-size: 13px; line-height: 1.6em;"

Change History (1)

comment:1 Changed 11 years ago by mandius

Resolution: duplicate
Status: newclosed

DUP of #9998.

Sorry, I didn't find it in the roadmap and figured it was a pretty serious bug!

Last edited 11 years ago by mandius (previous) (diff)
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