public static final class CkEditorWrapper.CKEditorConfigs extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIB_AUTO_PARAGRAPH
autoParagraph : false
Whether automatically create wrapping blocks around inline contents inside document body, this helps to ensure the integrality of the block enter mode. |
static String |
ATTRIB_BODY_ID
Specify a Body Id, so that CSS elements that use the common id for content derive that via the inserted id
within the editor.
|
static String |
ATTRIB_CSS
CSS(s) to import into the Editor
|
static String |
ATTRIB_CTX_MKUP_END
Deprecated.
as it inserts it in the content can can lead to complications
|
static String |
ATTRIB_CTX_MKUP_START
Deprecated.
as it inserts it in the content can can lead to complications
|
static String |
ATTRIB_CUSTOM_CONFIG
Suppose you copied the config.js file to a folder named custom in the root of your website.
|
static String |
ATTRIB_EDITOR_PAGE_HEADER
We may want to insert some common scripts etc in the Header of the page itself
where the CkEditor is being used.
|
static String |
ATTRIB_ENTER_MODE
For example the following prevents content from being enclosed in <p> tags
enterMode : CKEDITOR.ENTER_BR
|
static String |
ATTRIB_FULLPAGE
by default false, if enabled/true then editor loads in Full page mode
|
static String |
ATTRIB_HEIGHT
Height of the Editor.
|
static String |
ATTRIB_RAW_CONFIG
A raw String that will be sent/appended to config
|
static String |
ATTRIB_TOOLBAR
Custom Toolbar Name
It is a toolbar name or an array of toolbars (strips), each one being also an array, containing a list of UI items. |
static String |
ATTRIB_WIDTH
Width of the Editor.
|
Constructor and Description |
---|
CKEditorConfigs() |
Modifier and Type | Method and Description |
---|---|
String |
getAutoParagraph()
autoParagraph : false
Whether automatically create wrapping blocks around inline contents inside document body, this helps to ensure the integrality of the block enter mode. |
String |
getBodyId()
Specify a Body Id, so that CSS elements that use the common id for content derive that via the inserted id
within the editor.
|
List<String> |
getContentsCss()
All the CSS path that should be imported into the editor
|
String |
getContextMarkupEnd()
Deprecated.
as it inserts it in the content can can lead to complications
|
String |
getContextMarkupStart()
Deprecated.
as it inserts it in the content can can lead to complications
|
String |
getCustomConfig()
Suppose you copied the config.js file to a folder named custom in the root of your website.
|
String |
getEditorPageHeader()
We may want to insert some common scripts etc in the Header of the page itself
where the CkEditor is being used.
|
String |
getEnterMode()
For example the following prevents content from being enclosed in <p> tags
enterMode : CKEDITOR.ENTER_BR
|
Object |
getHeight()
pixels , for % specify %
|
String |
getRawConfig()
A raw String that will be sent/appended to config
|
String |
getToolbar()
Custom Toolbar Name
It is a toolbar name or an array of toolbars (strips), each one being also an array, containing a list of UI items. |
Object |
getWidth()
pixels , for % specify %
|
boolean |
isFullPage() |
void |
setAutoParagraph(String autoParagraph)
autoParagraph : false
Whether automatically create wrapping blocks around inline contents inside document body, this helps to ensure the integrality of the block enter mode. |
void |
setBodyId(String bodyId)
Specify a Body Id, so that CSS elements that use the common id for content derive that via the inserted id
within the editor.
|
void |
setContentsCss(List<String> contentsCss)
All the CSS path that should be imported into the editor
|
void |
setContextMarkupEnd(String contextMarkupEnd)
Deprecated.
as it inserts it in the content can can lead to complications
|
void |
setContextMarkupStart(String contextMarkupStart)
Deprecated.
as it inserts it in the content can can lead to complications
|
void |
setCustomConfig(String customConfig)
Suppose you copied the config.js file to a folder named custom in the root of your website.
|
void |
setEditorPageHeader(String editorPageHeader)
We may want to insert some common scripts etc in the Header of the page itself
where the CkEditor is being used.
|
void |
setEnterMode(String enterMode)
For example the following prevents content from being enclosed in <p> tags
enterMode : CKEDITOR.ENTER_BR
|
void |
setFullPage(boolean fullPage) |
void |
setHeight(Object height)
pixels , for % specify %
|
void |
setRawConfig(String rawConfig)
A raw String that will be sent/appended to config
|
void |
setToolbar(String toolbar)
Custom Toolbar Name
It is a toolbar name or an array of toolbars (strips), each one being also an array, containing a list of UI items. |
void |
setWidth(Object width)
pixels , for % specify %
|
public static final String ATTRIB_CSS
public static final String ATTRIB_FULLPAGE
public static final String ATTRIB_BODY_ID
@Deprecated public static final String ATTRIB_CTX_MKUP_START
@Deprecated public static final String ATTRIB_CTX_MKUP_END
public static final String ATTRIB_WIDTH
public static final String ATTRIB_HEIGHT
public static final String ATTRIB_TOOLBAR
public static final String ATTRIB_EDITOR_PAGE_HEADER
public static final String ATTRIB_CUSTOM_CONFIG
CKEDITOR.replace( 'editor1', { customConfig: '/custom/ckeditor_config.js' });
public static final String ATTRIB_ENTER_MODE
public static final String ATTRIB_AUTO_PARAGRAPH
public static final String ATTRIB_RAW_CONFIG
public List<String> getContentsCss()
public void setContentsCss(List<String> contentsCss)
@Deprecated public String getContextMarkupStart()
@Deprecated public void setContextMarkupStart(String contextMarkupStart)
@Deprecated public String getContextMarkupEnd()
@Deprecated public void setContextMarkupEnd(String contextMarkupEnd)
public boolean isFullPage()
public void setFullPage(boolean fullPage)
public String getBodyId()
public void setBodyId(String bodyId)
public Object getHeight()
public void setHeight(Object height)
public Object getWidth()
public void setWidth(Object width)
public String getToolbar()
public void setToolbar(String toolbar)
public String getEditorPageHeader()
public void setEditorPageHeader(String editorPageHeader)
public String getCustomConfig()
CKEDITOR.replace( 'editor1', { customConfig: '/custom/ckeditor_config.js' });
public void setCustomConfig(String customConfig)
CKEDITOR.replace( 'editor1', { customConfig: '/custom/ckeditor_config.js' });
public String getEnterMode()
public void setEnterMode(String enterMode)
public String getAutoParagraph()
public void setAutoParagraph(String autoParagraph)
public String getRawConfig()
public void setRawConfig(String rawConfig)
Copyright © 2018. All rights reserved.