OptionalallowRender this content widget in a location where it could overflow the editor's view dom node.
OptionalsuppressCall preventDefault() on mousedown events that target the content widget.
OptionalafterOptional function that is invoked after rendering the content
widget. Is being invoked with the selected position preference
or null if not rendered.
OptionalbeforeOptional 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.
A content widget renders inline with the text and can be easily placed 'near' an editor position.