add appendText option for suggestions
This commit is contained in:
@@ -55,6 +55,7 @@ export default class MentionNode extends Node {
|
||||
return [
|
||||
SuggestionsPlugin({
|
||||
command: ({ range, attrs, schema }) => replaceText(range, schema.nodes.mention, attrs),
|
||||
appendText: ' ',
|
||||
matcher: this.options.matcher,
|
||||
items: this.options.items,
|
||||
onEnter: this.options.onEnter,
|
||||
|
||||
Reference in New Issue
Block a user