EditorView.setRoot method
EditorView › setRoot
Official
Update the root in which the editor lives.Signature:
setRoot(root: Document | ShadowRoot): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| root | Document | ShadowRoot | The new root. |
Returns: void
EditorView › setRoot
Official
Update the root in which the editor lives.Signature:
setRoot(root: Document | ShadowRoot): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| root | Document | ShadowRoot | The new root. |
Returns: void