disable allow spaces for mentions

This commit is contained in:
Philipp Kühn
2018-09-28 13:34:46 +02:00
parent b5fe141afa
commit f645b9edc0

View File

@@ -47,7 +47,7 @@ export default class MentionNode extends Node {
suggestionsPlugin({ suggestionsPlugin({
debug: true, debug: true,
matcher: triggerCharacter('@', { matcher: triggerCharacter('@', {
allowSpaces: true, allowSpaces: false,
startOfLine: false, startOfLine: false,
}), }),
command: ({ pos, attrs, schema }) => { command: ({ pos, attrs, schema }) => {