Typedef

MentionAttribute (mention)

@ckeditor/ckeditor5-mention/src/mention

typedefobject

Represents a mention in the model.

See Mention#toMentionAttribute().

Filtering

Properties

  • _text : string

    Helper property that stores the text of the inserted mention. Used for detecting a broken mention in the editing area.

  • id : string

    The ID of a mention. It identifies the mention item in the mention feed. There can be multiple mentions in the document with the same ID (e.g. the same hashtag being mentioned).

  • uid : string

    A unique ID of this mention instance. Should be passed as an option.id when using writer.createAttributeElement().