Opened 10 years ago

Last modified 10 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 Piotrek Koszuliński)

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 10 years ago by Piotrek Koszuliński

Description: modified (diff)
Milestone: CKEditor 4.4
Status: newconfirmed
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