A content widget renders inline with the text and can be easily placed 'near' an editor position.

Hierarchy

  • IContentWidget

Index

Properties

Optional allowEditorOverflow

allowEditorOverflow: boolean

Render this content widget in a location where it could overflow the editor's view dom node.

Optional suppressMouseDown

suppressMouseDown: boolean

Methods

getDomNode

  • getDomNode(): HTMLElement
  • Get the dom node of the content widget.

    Returns HTMLElement

getId

  • getId(): string
  • Get a unique identifier of the content widget.

    Returns string

getPosition