- Description:
This key defines input options for text Editable Regions.
- Appears in:
└── _editables └── text- Type:
Object- Properties:
This key toggles whether CloudCannon will allow you to edit custom markup in rich text editors and explicitly accept the risk of unintentionally deleting elements that cannot be recreated.
Setting this key to
truewill enable editing of custom markup. When usingallow_custom_markupoutside of editable regions, content that uses JavaScript will not be editable for security reasons. These inputs will appear as uneditable snippets.Appears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to bold selected text.
Setting this key to
truewill enable a tool in your WYSIWYG toolbar to bold selected text.Defaults to:
trueAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to copy formatting from selected text.
Setting this key to
truewill enable a tool in your WYSIWYG toolbar to copy formatting from selected text. Applies tobold,italic,underline,strike,subscript, andsuperscriptformatting. Does not copy other styles or formatting.Defaults to:
falseAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to italicize selected text.
Setting this key to
truewill enable a tool in your WYSIWYG toolbar to italicize selected text.Defaults to:
trueAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to create a hyperlink around selected text.
Setting this key to
truewill enable a tool in your WYSIWYG toolbar to create a hyperlink around selected text.Defaults to:
trueAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.Configure the controls to edit hyperlinks around selected text.
Appears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key defines paths for your Rich Text editors or File inputs.
If undefined at higher levels of the configuration cascade,
pathswill default to any values configured in the CloudCannon configuration file.Appears in: Rich Text Input
options, URL Inputoptions, File Inputoptions,_editables.content,_editables.block,_editables.link,_editables.image,_editables.text.Show examplesHide examples
In this example, we have configured paths for the
blogCollection to set custom upload and static paths.Copied to clipboardcollections_config: blog: paths: uploads: /uploads/blog/ static: /assets/{ "collections_config": { "blog": { "paths": { "uploads": "/uploads/blog/", "static": "/assets/" } } } }This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to redo recent edits undone with
undo.Setting this key to
truewill enable a tool in your WYSIWYG toolbar to redo recent edits. Undo is always enabled through standard OS-specific keyboard shortcuts.Defaults to:
falseAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will allow you to strip custom markup from content edited in a rich text editor, allowing you to clean files of unnecessary HTML content.
Setting this key to
truewill enable stripping custom markup from content. Theremove_custom_markupkey is disabled ifallow_custom_markupis enabled.Appears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to remove formatting from selected text.
Setting this key to
truewill enable a tool in your WYSIWYG toolbar to remove formatting. Applies tobold,italic,underline,strike,subscript, andsuperscriptformatting. Does not remove other styles or formatting.Defaults to:
trueAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to strike through selected text.
Setting this key to
truewill enable a tool in your WYSIWYG toolbar to strike through selected text.Defaults to:
falseAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to subscript selected text.
Setting this key to
truewill enable a tool in your WYSIWYG toolbar to subscript selected text.Defaults to:
falseAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to superscript selected text.
Setting this key to
truewill enable a tool in your WYSIWYG toolbar to superscript selected text.Defaults to:
falseAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to underline selected text.
Setting this key to
truewill enable a tool in your WYSIWYG toolbar to underline selected text.Defaults to:
falseAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.This key toggles whether CloudCannon will display a tool in your WYSIWYG toolbar to undo recent edits.
Setting this key to
truewill enable a tool in your WYSIWYG toolbar to undo recent edits. Undo is always enabled through standard OS-specific keyboard shortcuts.Defaults to:
falseAppears in: Rich Text Input
options,_editables.content,_editables.block,_editables.text.- Examples: