* Returns the root element of the editable area. * For a non-inline iframe-based editor, returns the iframe's body element. * * @method getBody * @return {Element} The root element of the editable area.
()
| 1056 | * @return {Element} The root element of the editable area. |
| 1057 | */ |
| 1058 | public getBody(): HTMLElement { |
| 1059 | const doc = this.getDoc(); |
| 1060 | return this.bodyElement ?? doc?.body ?? null; |
| 1061 | } |
| 1062 | |
| 1063 | /** |
| 1064 | * URL converter function this gets executed each time a user adds an img, a or |
no test coverage detected