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() {
|
get plugins() {
|
||||||
return [
|
return [
|
||||||
SuggestionsPlugin({
|
SuggestionsPlugin({
|
||||||
|
|||||||
Reference in New Issue
Block a user