MCPcopy
hub / github.com/tinymce/tinymce / getContainer

Method getContainer

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

* Returns the container element of the editor. The container element includes * all the elements added to the page for the editor. Such as UI, iframe, etc. * * @method getContainer * @return {Element} HTML DOM element for the editor container.

()

Source from the content-addressed store, hash-verified

974 * @return {Element} HTML DOM element for the editor container.
975 */
976 public getContainer(): HTMLElement {
977 const self = this;
978
979 if (!self.container) {
980 self.container = self.editorContainer || DOM.get(self.id + '_parent') as HTMLElement;
981 }
982
983 return self.container;
984 }
985
986 /**
987 * Returns the content area container element of the editor. This element

Callers 15

isInViewportFunction · 0.80
SelectionTest.tsFile · 0.80
BookmarksTest.tsFile · 0.80
removeFunction · 0.80
purgeDestroyedEditorFunction · 0.80
showMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected