add mention command
This commit is contained in:
@@ -51,6 +51,10 @@ export default class Mention extends Node {
|
||||
}
|
||||
}
|
||||
|
||||
commands({ schema }) {
|
||||
return attrs => replaceText(null, schema.nodes.mention, attrs)
|
||||
}
|
||||
|
||||
get plugins() {
|
||||
return [
|
||||
SuggestionsPlugin({
|
||||
|
||||
Reference in New Issue
Block a user