Opened 12 years ago
Last modified 12 years ago
#11532 closed New Feature
Create editor#addContentsCss() method — at Version 1
| Reported by: | Marek Lewandowski | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.4.0 |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description (last modified by )
We should create more convenient way to add custom css files. Now we accept as editor.config.contentsCss string or array of strings which is ok, but if we want to attach to it extra css styles in plugins, we have to do some extra checking. Such code is redundant.
Method should be editor member, so we will end up with editor.addContentsCss(). Method itself should be injected from wysiwygarea plugin, since contentsCss works only for classic editor.
Method should accept as its parameter a string.
Change History (1)
comment:1 Changed 12 years ago by
| Description: | modified (diff) |
|---|---|
| Milestone: | → CKEditor 4.4 |
| Status: | new → confirmed |
