Skip to content

Commit e891386

Browse files
susnuxbackportbot-nextcloud[bot]
authored andcommitted
Fix bullet list input role for CJK input
When using IME for CJK character input it is called after the composing is finished, at this point there might be more than one character. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 0676343 commit e891386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodes/BulletList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const BulletList = TiptapBulletList.extend({
3333
addInputRules() {
3434
return [
3535
listInputRule(
36-
/^\s*([-+*])\s([^\s[])$/,
36+
/^\s*([-+*])\s([^\s[]+)$/,
3737
this.type
3838
),
3939
]

0 commit comments

Comments
 (0)