mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-28 09:54:07 +01:00
This commit is contained in:
parent
b4f8b676d6
commit
fb220ae122
2 changed files with 5 additions and 6 deletions
|
|
@ -366,7 +366,7 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
|
|||
const actionElementId = actionElement.getAttribute("data-node-id");
|
||||
if (range.toString() !== "") {
|
||||
getContentByInlineHTML(range, (content) => {
|
||||
writeText(`((${actionElementId} "${Lute.EscapeHTMLStr(content.trim())}"))`);
|
||||
writeText(`((${actionElementId} "${content.trim()}"))`);
|
||||
});
|
||||
} else {
|
||||
fetchPost("/api/block/getRefText", {id: actionElementId}, (response) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue