\Kendo\UI\EditorNonSplittableTagsOnPasteItem

A PHP class representing the nonSplittableTagsOnPasteItem setting of EditorNonSplittableTagsOnPaste.

Methods

tag

An extension of the nonSplittableTagsOnPaste configuration. You can specify an array of objects instead of array of strings if you want to configure additional settings.

Returns

\Kendo\UI\EditorNonSplittableTagsOnPasteItem

Parameters

$value string

Example

<?php
$nonSplittableTagsOnPasteItem = new \Kendo\UI\EditorNonSplittableTagsOnPasteItem();
$nonSplittableTagsOnPasteItem->tag('value');
?>

unwrap

By default the pasted content will be unwrapped from its parent elements when the nonSplittableTagsOnPaste configuration is enabled. This property enables you to stop that behavior.

Returns

\Kendo\UI\EditorNonSplittableTagsOnPasteItem

Parameters

$value boolean

Example

<?php
$nonSplittableTagsOnPasteItem = new \Kendo\UI\EditorNonSplittableTagsOnPasteItem();
$nonSplittableTagsOnPasteItem->unwrap(true);
?>
In this article
Not finding the help you need?