Opened 12 years ago
Last modified 11 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
- Open inlineall sample.
- Focus one of editors.
- Apply marker style from stylescombo.
- 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:
- Open inlineall sample.
- Open format combo.
- Apply header 1 style.
- 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:2 Changed 12 years ago by
Owner: | set to Olek Nowodziński |
---|---|
Status: | new → assigned |
comment:3 Changed 12 years ago by
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:
- Port config.bodyClass to divarea. 1 LOC, problem is gone. Dirty.
- Get rid of buggy, nonsensical divarea. Drastic. Pleasurable.
To be discussed...
Note: Remember that marker styles have changed on major, so patch has to be adjusted.