Skip to main content

extension-mention-atom

Home > @remirror/extension-mention-atom

extension-mention-atom package

Classes

ClassDescription
MentionAtomExtensionThis is the atom version of the MentionExtension @remirror/extension-mention. It provides mentions as atom nodes which don't support editing once being inserted into the document.

Interfaces

InterfaceDescription
CreateMentionAtom
MentionAtomExtensionMatcherThe options for the matchers which can be created by this extension.
MentionAtomOptionsOptions available to the [[MentionAtomExtension]].
OptionalMentionAtomExtensionProps

Type Aliases

Type AliasDescription
MentionAtomChangeHandlerThis change handler is called whenever there is an update in the matching suggester. The second parameter command is available to automatically create the mention with the required attributes.
MentionAtomNodeAttributesThe attrs that will be added to the node. ID and label are plucked and used while attributes like href and role can be assigned as desired.
NamedMentionAtomNodeAttributes