Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFerdinand Thiessen <rpm@fthiessen.de>2022-07-24 19:47:36 +0300
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-07-25 20:47:43 +0300
commit55f55041a7cdfca5231310b05f2675add1243aad (patch)
tree3b7058e1485ebac1fb7c21bca577296fc6276280 /src
parent0676343532ab99c077c18ad74b672057d1affe84 (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.js2
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
),
]