mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-09 00:34:20 +01:00
🎨 Improve protyle slash (#15648)
fix https://github.com/siyuan-note/siyuan/issues/15647
This commit is contained in:
parent
1e5f514225
commit
cd7734ba91
1 changed files with 1 additions and 1 deletions
|
|
@ -727,7 +727,7 @@ ${genHintItemHTML(item)}
|
|||
focusByRange(range);
|
||||
this.genEmojiHTML(protyle);
|
||||
return;
|
||||
} else if (value.indexOf("style") > -1) {
|
||||
} else if (value.startsWith("style")) {
|
||||
range.deleteContents();
|
||||
this.fixImageCursor(range);
|
||||
nodeElement.setAttribute("style", value.split(Constants.ZWSP)[1] || "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue