MCPcopy
hub / github.com/tinymce/tinymce / getRoot

Function getRoot

modules/tinymce/src/core/main/ts/api/dom/DOMUtils.ts:434–434  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

432 };
433
434 const getRoot = (): HTMLElement => settings.root_element || doc.body;
435
436 const getViewPort = (argWin?: Window): GeomRect => {
437 const vp = WindowVisualViewport.getBounds(argWin);

Callers 2

getParentsFunction · 0.70
getContentEditableParentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…