...
Other editing API and improvements
API | 설명 |
---|---|
insertHTML | If id exists in the parameter, it is inserted into the specified id and offset. |
isDirty, clearDirty | isDirty() : Determines whether the content has been edited. clearDirty() : Clears the dirty flag. When the dirty flag is initialized, the isDirty() function determines that there is no edited content. |
getSelection | You can get the id and offset information of paragraphs, cells, and tables from selection. |
updateModel, updateBodyModel | Apply the changed HTML DOM information to the editing model and re-render. |
getAPIModels, getAPIModelById, getAPIModelsBySelector | Get the APIModel using the current selection, id and selector. |
getContentsDocument | Returns the document object of the editor editing area. |
getHTMLElement, getHTMLElements | Returns the HTML Element where the caret is positioned. |
getTableCellHTMLElement | Returns the HTML Element of the cell (TD or TH) in the table where the caret is positioned. |
...