Render this content widget in a location where it could overflow the editor's view dom node.
Optional function that is invoked after rendering the content
widget. Is being invoked with the selected position preference
or null
if not rendered.
Optional function that is invoked before rendering the content widget. If a dimension is returned the editor will attempt to use it.
Get the dom node of the content widget.
Get a unique identifier of the content widget.
Get the placement of the content widget. If null is returned, the content widget will be placed off screen.
Generated using TypeDoc
A content widget renders inline with the text and can be easily placed 'near' an editor position.