stable
Clone or download
Read-only
Part of story #38627: Choice of a new Rich Text Editor what has been fixed? When writing characters that correspond to inputRules in the title, the characters were deleted. For example, `*word*` became `word`. The tests have been modified to test this behavior and also test each rule. How to test: -- Write *word* in the title -> Nothing should happen and *word* should still be written Change-Id: I9b3c7aac3abf6a9308812e68fdf7dc1a6e0a18a7
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/prose-mirror-editor/src/helpers/MarkInputRule.test.ts | +108 | −45 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/helpers/MarkInputRule.ts | +5 | −0 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/toolbar/input-rules.ts | +3 | −3 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/mono-editor/artidoc-editor-schema.ts | +1 | −0 | Go to diff View file |