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

Method getElement

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

* Returns the target element/textarea that got replaced with a TinyMCE editor instance. * * @method getElement * @return {Element} HTML DOM element for the replaced element.

()

Source from the content-addressed store, hash-verified

1001 * @return {Element} HTML DOM element for the replaced element.
1002 */
1003 public getElement(): HTMLElement {
1004 if (!this.targetElm) {
1005 this.targetElm = DOM.get(this.id) as HTMLElement;
1006 }
1007
1008 return this.targetElm;
1009 }
1010
1011 /**
1012 * Returns the iframes window object.

Callers 15

SyncThemeFunction · 0.80
AsyncThemeFunction · 0.80
assertEditorsFunction · 0.80
removeFunction · 0.80
renderFunction · 0.80
createIframeFunction · 0.80
initFunction · 0.80
getRootNameFunction · 0.80
contentBodyLoadedFunction · 0.80
renderFromThemeFuncFunction · 0.80
renderThemeFalseFunction · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected