Skip to content

ckeditor5-elements / isStandalone

Function: isStandalone() ​

ts
function isStandalone(schema, element): boolean;

Whether the element can be handled as a whole: copied, moved, duplicated or removed. Parts of a structure that cannot stand alone, such as a table cell, a table row or a caption, cannot: in the schema, they are limit elements that are not objects.

Parameters ​

ParameterType
schemaModelSchema
elementModelElement

Returns ​

boolean