update commands experiment
This commit is contained in:
@@ -7,7 +7,7 @@ export default Extension.create({
|
|||||||
defaultOptions: {
|
defaultOptions: {
|
||||||
suggestion: {
|
suggestion: {
|
||||||
char: '/',
|
char: '/',
|
||||||
startOfLine: true,
|
startOfLine: false,
|
||||||
command: ({ editor, range, props }) => {
|
command: ({ editor, range, props }) => {
|
||||||
props.command({ editor, range })
|
props.command({ editor, range })
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -117,7 +117,9 @@ export default {
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
content: `
|
content: `
|
||||||
<p>Text</p>
|
<p>Type a slash</p>
|
||||||
|
<p></p>
|
||||||
|
<p></p>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user