The ProseMirror schema to build the plugin against.
The ChatLog instance this plugin belongs to.
The ChatLog instance this plugin belongs to.
StatickeyA unique key for this plugin that can be used to identify a plugin instance in any given editor.
Handle sending a chat message.
The editor view.
Set the contents of the chat input to the given value.
The editor view.
The message to set.
Any metadata to append to the transaction.
Protected_ProtectedInspect transactions and update pending state if they involve insertions or deletions.
The transactions.
The editor state before.
The editor state after.
Protected_ProtectedHandle keydown events.
The editor view.
The keyboard event.
StaticbuildBuild the plugin.
The ProseMirror schema to build the plugin against.
Optionaloptions: { chat?: any } = {}Optionalchat?: anyThe ChatLog instance this plugin belongs to.
A plugin for the chat message editor which handles interactivity.