class CkeditorEditor implements EditorInterface (View source)

Properties

protected Liaison $config
protected PluginManager $pluginManager
protected ResponseAssetGroup $assets
protected $identifier
protected $token
protected $allowFileManager
protected $allowSitemap
protected $styles

Methods

__construct(Liaison $config, PluginManager $pluginManager, $styles)

No description

string
getEditorScript(string $identifier, array $options = [])

No description

string
getEditorInitJSFunction(array $options = [])

No description

string
outputPageInlineEditor($key, $content = null)

No description

outputStandardEditor($key, $content = null)

No description

string
saveOptionsForm(Request $request)

No description

requireEditorAssets()

No description

string
getLanguageOption()

Returns the CKEditor language configuration

string
getStylesJson()

Returns a JSON Encoded string of styles

outputPageComposerEditor($key, $content)

No description

outputBlockEditModeEditor($key, $content)

No description

allowFileManager()

No description

allowSitemap()

No description

setAllowFileManager($allow)

No description

setAllowSitemap($allow)

No description

getPluginManager()

No description

setToken(string $token)

No description

setIdentifier(string $identifier)

No description

string
getIdentifier(bool $autogenerate = true)

No description

Details

__construct(Liaison $config, PluginManager $pluginManager, $styles)

No description

Parameters

Liaison $config
PluginManager $pluginManager
$styles

protected string getEditorScript(string $identifier, array $options = [])

No description

Parameters

string $identifier
array $options

Return Value

string

string getEditorInitJSFunction(array $options = [])

No description

Parameters

array $options

Return Value

string

string outputInlineEditorInitJSFunction()

No description

Return Value

string

outputPageInlineEditor($key, $content = null)

No description

Parameters

$key
$content

outputStandardEditor($key, $content = null)

No description

Parameters

$key
$content

string outputStandardEditorInitJSFunction()

No description

Return Value

string

saveOptionsForm(Request $request)

No description

Parameters

Request $request

requireEditorAssets()

No description

protected string getLanguageOption()

Returns the CKEditor language configuration

Return Value

string

string getStylesJson()

Returns a JSON Encoded string of styles

Return Value

string

outputPageComposerEditor($key, $content)

No description

Parameters

$key
$content

outputBlockEditModeEditor($key, $content)

No description

Parameters

$key
$content

allowFileManager()

No description

allowSitemap()

No description

setAllowFileManager($allow)

No description

Parameters

$allow

setAllowSitemap($allow)

No description

Parameters

$allow

getPluginManager()

No description

setToken(string $token)

No description

Parameters

string $token

setIdentifier(string $identifier)

No description

Parameters

string $identifier

string getIdentifier(bool $autogenerate = true)

No description

Parameters

bool $autogenerate

When true, will generate a new identifier, when false will use the object's set identifier

Return Value

string