🎨 Change the unordered list marker from "*" to "-" (#15902)

This commit is contained in:
Jeffrey Chen 2025-09-21 18:41:37 +08:00 committed by GitHub
parent f96298e34c
commit 8e443ce5c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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}'))`;