add startOfLine option

This commit is contained in:
Philipp Kühn
2018-09-04 23:26:51 +02:00
parent 0e3810bca0
commit 39072b217d
2 changed files with 9 additions and 4 deletions

View File

@@ -45,7 +45,10 @@ export default class BlockquoteNode extends Node {
return [
suggestionsPlugin({
debug: true,
matcher: triggerCharacter('@', { allowSpaces: false }),
matcher: triggerCharacter('@', {
allowSpaces: true,
startOfLine: false,
}),
onEnter(args) {
console.log('start', args);
},