disable allow spaces for mentions
This commit is contained in:
@@ -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 }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user