CKEditor5Migrator

Internal

Table of Contents

Properties

$configuration  : array<string|int, mixed>

Methods

__construct()  : mixed
get()  : array<string|int, mixed>
addLinkClassesToStyleSets()  : void
handleAlignmentPlugin()  : void
handleStyleDefinitions()  : void
handleWhitespacePlugin()  : void
handleWordCountPlugin()  : void
migrateAllowedContent()  : void
migrateContentsCssToArray()  : void
migrateExtraPlugins()  : void
migrateFormatTagsToHeadings()  : void
migrateRemoveButtonsFromToolbar()  : void
migrateRemovePlugins()  : void
migrateStylesSetToStyleDefinitions()  : void
migrateToolbar()  : void
CE4: https://ckeditor.com/latest/samples/toolbarconfigurator/index.html#basic CE5: https://ckeditor.com/docs/ckeditor5/latest/features/toolbar/toolbar.html#extended-toolbar-configuration-format
migrateToolbarButton()  : string|null
migrateToolbarButtons()  : array<string|int, mixed>
migrateToolbarCleanup()  : array<string|int, mixed>
migrateToolbarItems()  : array<string|int, mixed>
migrateToolbarLinebreaks()  : array<string|int, mixed>
migrateToolbarSpacers()  : array<string|int, mixed>
migrateTypo3LinkAdditionalAttributes()  : void
parseRuleProperties()  : string|null
parseRulesString()  : array<string|int, mixed>
Based on https://github.com/ckeditor/ckeditor4/blob/4.23.0-lts/core/filter.js#L1438

Properties

$configuration

protected array<string|int, mixed> $configuration

Methods

__construct()

public __construct(array<string|int, mixed> $configuration) : mixed
Parameters
$configuration : array<string|int, mixed>

Richtext configuration

get()

public get() : array<string|int, mixed>
Return values
array<string|int, mixed>

addLinkClassesToStyleSets()

protected addLinkClassesToStyleSets() : void

handleAlignmentPlugin()

protected handleAlignmentPlugin() : void

handleStyleDefinitions()

protected handleStyleDefinitions() : void

handleWhitespacePlugin()

protected handleWhitespacePlugin() : void

handleWordCountPlugin()

protected handleWordCountPlugin() : void

migrateAllowedContent()

protected migrateAllowedContent() : void

migrateContentsCssToArray()

protected migrateContentsCssToArray() : void

migrateExtraPlugins()

protected migrateExtraPlugins() : void

migrateFormatTagsToHeadings()

protected migrateFormatTagsToHeadings() : void

migrateRemoveButtonsFromToolbar()

protected migrateRemoveButtonsFromToolbar() : void

migrateRemovePlugins()

protected migrateRemovePlugins() : void

migrateStylesSetToStyleDefinitions()

protected migrateStylesSetToStyleDefinitions() : void

migrateToolbar()

CE4: https://ckeditor.com/latest/samples/toolbarconfigurator/index.html#basic CE5: https://ckeditor.com/docs/ckeditor5/latest/features/toolbar/toolbar.html#extended-toolbar-configuration-format

protected migrateToolbar() : void

migrateToolbarButton()

protected migrateToolbarButton(string $buttonName) : string|null
Parameters
$buttonName : string
Return values
string|null

migrateToolbarButtons()

protected migrateToolbarButtons(array<string|int, mixed> $toolbarItems) : array<string|int, mixed>
Parameters
$toolbarItems : array<string|int, mixed>
Return values
array<string|int, mixed>

migrateToolbarCleanup()

protected migrateToolbarCleanup(array<string|int, mixed> $toolbarItems) : array<string|int, mixed>
Parameters
$toolbarItems : array<string|int, mixed>
Return values
array<string|int, mixed>

migrateToolbarItems()

protected migrateToolbarItems(array<string|int, mixed> $items) : array<string|int, mixed>
Parameters
$items : array<string|int, mixed>
Return values
array<string|int, mixed>

migrateToolbarLinebreaks()

protected migrateToolbarLinebreaks(array<string|int, mixed> $toolbarItems) : array<string|int, mixed>
Parameters
$toolbarItems : array<string|int, mixed>
Return values
array<string|int, mixed>

migrateToolbarSpacers()

protected migrateToolbarSpacers(array<string|int, mixed> $toolbarItems) : array<string|int, mixed>
Parameters
$toolbarItems : array<string|int, mixed>
Return values
array<string|int, mixed>

migrateTypo3LinkAdditionalAttributes()

protected migrateTypo3LinkAdditionalAttributes() : void

parseRuleProperties()

protected parseRuleProperties(string $properties, string $type) : string|null
Parameters
$properties : string
$type : string
Return values
string|null

parseRulesString()

Based on https://github.com/ckeditor/ckeditor4/blob/4.23.0-lts/core/filter.js#L1438

protected parseRulesString(string $input) : array<string|int, mixed>
Parameters
$input : string
Return values
array<string|int, mixed>

        
On this page

Search results