diff options
author | Ferdinand Thiessen <rpm@fthiessen.de> | 2022-07-24 19:47:36 +0300 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-07-25 20:47:43 +0300 |
commit | 55f55041a7cdfca5231310b05f2675add1243aad (patch) | |
tree | 3b7058e1485ebac1fb7c21bca577296fc6276280 /src | |
parent | 0676343532ab99c077c18ad74b672057d1affe84 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/nodes/BulletList.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodes/BulletList.js b/src/nodes/BulletList.js index ac32fd040..60abebbdf 100644 --- a/src/nodes/BulletList.js +++ b/src/nodes/BulletList.js @@ -33,7 +33,7 @@ const BulletList = TiptapBulletList.extend({ addInputRules() { return [ listInputRule( - /^\s*([-+*])\s([^\s[])$/, + /^\s*([-+*])\s([^\s[]+)$/, this.type ), ] |