Reputation: 187
As per title. In Ckeditor 3, editor.addCss() does the trick, but version 4 does not have the this method. Is there an easy way set custom css to the editor after its been fully initialized?
Thanks.
Upvotes: 0
Views: 154
Reputation: 187
got the solution from the official api docs:
editor.document.getBody().setStyle(key, val)
or
editor.document.appendStyle()
Upvotes: 1