Optional
allowRender this content widget in a location where it could overflow the editor's view dom node.
Optional
suppressCall preventDefault() on mousedown events that target the content widget.
Optional
afterOptional function that is invoked after rendering the content
widget. Is being invoked with the selected position preference
or null
if not rendered.
Optional
beforeOptional function that is invoked before rendering the content widget. If a dimension is returned the editor will attempt to use it.
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.