Skip to content

Commit

Permalink
Fix bullet list input role for CJK input
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
susnux authored and backportbot-nextcloud[bot] committed Jul 25, 2022
1 parent 0676343 commit e891386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/BulletList.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const BulletList = TiptapBulletList.extend({
addInputRules() {
return [
listInputRule(
/^\s*([-+*])\s([^\s[])$/,
/^\s*([-+*])\s([^\s[]+)$/,
this.type
),
]
Expand Down

0 comments on commit e891386

Please sign in to comment.