* Returns the target element/textarea that got replaced with a TinyMCE editor instance. * * @method getElement * @return {Element} HTML DOM element for the replaced element.
()
| 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. |
no test coverage detected