This commit is contained in:
Vanessa 2022-09-15 11:57:33 +08:00
parent 01af1ca85f
commit 8af738ab06
9 changed files with 195 additions and 114 deletions

View file

@ -528,7 +528,8 @@ ${unicode2Emoji(emoji.unicode, true)}</button>`;
range.deleteContents();
focusByRange(range);
protyle.toolbar.range = range;
protyle.toolbar.setInlineMark(protyle, value, "add");
// TODO
// protyle.toolbar.setInlineMark(protyle, value, "hint");
return;
} else if (value === "emoji") {
range.deleteContents();