domain String

Relaxes the same-origin policy when using the iframe-based editor. This is done automatically for all cases except when the policy is relaxed by document.domain = document.domain. In that case, this property must be used to allow the editor to function properly across browsers. This property has been introduced in internal builds after 2014.1.319.

Example

<textarea id="editor"></textarea>
<script>
document.domain = document.domain;

$("#editor").kendoEditor({
  domain: document.domain
});
</script>
In this article