We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d955a commit a6be592Copy full SHA for a6be592
src/api/DraftUtils.ts
@@ -525,7 +525,7 @@ export default {
525
526
const afterSlashText = blockText.slice(slashPos);
527
528
- const hasPrompt = (afterSlashText.match(/\s/g) || []).length < 2;
+ const hasPrompt = (afterSlashText.match(/\s/g) || []).length < 1;
529
530
if (hasPrompt) {
531
return { text: afterSlashText, block, position: slashPos };
0 commit comments