MentionAttribute
typedef
Represents a mention in the model.
Properties
-
_text : stringmodule:mention/mention~MentionAttribute#_textHelper property that stores the text of the inserted mention. Used for detecting a broken mention in the editing area.
-
id : stringmodule:mention/mention~MentionAttribute#idThe 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 : stringmodule:mention/mention~MentionAttribute#uidA unique ID of this mention instance. Should be passed as an
option.idwhen using writer.createAttributeElement().