mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-26 10:16:10 +01:00
This commit is contained in:
parent
f6703be165
commit
6fe5754234
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
|
|||
if (blockElement.classList.contains("table")) {
|
||||
scrollLeft = getContenteditableElement(blockElement).scrollLeft;
|
||||
}
|
||||
if (/<span data-type="backslash">.<\/span><wbr>/.test(html)) {
|
||||
if (/<span data-type="backslash">.+<\/span><wbr>/.test(html)) {
|
||||
// 转义不需要添加 zwsp
|
||||
blockElement.outerHTML = html;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue