addCSS(css)
Class: DocumentEditor.
Description:
Adds CSS styles to be applied to the HTML document without adding this CSS to the HTML content. This method should be used only when DocumentEditor's HTML content type is enabled using html(true) method. Added CSS cannot be removed separately. To remove all added CSS use setCSS("") method.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
string |
CSS content (without |
Returns:
Type: DocumentEditor
