MCPcopy Index your code
hub / github.com/tinymce/tinymce / setEditableRoot

Method setEditableRoot

modules/tinymce/src/core/main/ts/api/Editor.ts:1126–1128  ·  view source on GitHub ↗

* Changes the editable state of the editor's root element. * * @method setEditableRoot * @param {Boolean} state State to set true for editable and false for non-editable.

(state: boolean)

Source from the content-addressed store, hash-verified

1124 * @param {Boolean} state State to set true for editable and false for non-editable.
1125 */
1126 public setEditableRoot(state: boolean): void {
1127 EditableRoot.setEditableRoot(this, state);
1128 }
1129
1130 /**
1131 * Returns the current editable state of the editor's root element.

Callers 8

testReplaceFunction · 0.80
testInSelectionFunction · 0.80
SplitButtonTest.tsFile · 0.80
setEditableRootFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected