Opened 6 years ago

Last modified 5 years ago

#10150 assigned Bug

Copy styles available in styles and formats combos from contents.css to samples/styles.css

Reported by: Piotrek Koszuliński Owned by: Olek Nowodziński
Priority: Normal Milestone:
Component: Documentation & Samples Version:
Keywords: Cc:

Description

  1. Open inlineall sample.
  2. Focus one of editors.
  3. Apply marker style from stylescombo.
  4. Style is applied, but it's not visible in the inline editor contents.

It works on themed editor, because marker style is defined in contents.css.

Other TC:

  1. Open inlineall sample.
  2. Open format combo.
  3. Apply header 1 style.
  4. Open combo again and compare how header 1 looks in combo and in contents of the editor. They have different font styles.

Change History (4)

comment:1 Changed 6 years ago by Piotrek Koszuliński

Note: Remember that marker styles have changed on major, so patch has to be adjusted.

Last edited 6 years ago by Piotrek Koszuliński (previous) (diff)

comment:2 Changed 6 years ago by Olek Nowodziński

Owner: set to Olek Nowodziński
Status: newassigned

comment:3 Changed 6 years ago by Olek Nowodziński

Milestone: CKEditor 4.0.2

Created branch t/10150 that partially solves the problem. I extracted styles of inline editors to .contents namespace in styles.css. Styles looks like a part of a real web page/CMS system, they're CKE-independent and they work after an instance is destroyed (unlike .cke_editable).

The real problem is divarea that cannot be given a custom class to style contents so it's incompatible with this fix. There are two solutions:

  1. Port config.bodyClass to divarea. 1 LOC, problem is gone. Dirty.
  2. Get rid of buggy, nonsensical divarea. Drastic. Pleasurable.

To be discussed...

comment:4 Changed 5 years ago by Jakub Ś

#11090 was marked as duplicate.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy