RestrictedEditingModeConfig (restricted-editing)
@ckeditor/ckeditor5-restricted-editing/src/restrictededitingmode
The configuration of the restricted editing mode feature.
The option is used by the RestrictedEditingMode
feature.
See all editor options.
Filtering
Properties
-
allowedAttributes : Array.<String>
The text attribute names allowed when pasting content ot non-restricted areas.
The default value is:
-
allowedCommands : Array.<String>
The command names allowed in non-restricted areas of the content.
Defines which feature commands should be enabled in the restricted editing mode. The commands used for typing and deleting text (
'input'
,'delete'
and'deleteForward'
) are allowed by the feature inside non-restricted regions and do not need to be defined.Note: The restricted editing mode always allows to use the restricted mode navigation commands as well as
'undo'
and'redo'
commands.The default value is:
To make a command always enabled (also outside non-restricted areas) use
enableCommand
method.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.