Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2025-09-21 21:46:41 +08:00
commit 533e11cc1e
6 changed files with 15 additions and 15 deletions

View file

@ -1352,7 +1352,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
let html = "";
for (let i = 0; i < ids.length; i++) {
if (ids.length > 1) {
html += "* ";
html += "- ";
}
const response = await fetchSyncPost("/api/block/getRefText", {id: ids[i]});
html += `((${ids[i]} '${response.data}'))`;