🎨 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

@ -417,7 +417,7 @@ ${html || genSelectItemHTML({type: "empty"})}`;
const selectedElements = options.menuElement.querySelectorAll('.b3-menu__item[draggable="true"]');
selectedElements.forEach((item: HTMLElement) => {
if (selectedElements.length > 1) {
copyText += "* ";
copyText += "- ";
}
const textElement = item.querySelector(".b3-menu__label") as HTMLElement;
if (!textElement.dataset.id || textElement.dataset.id === "undefined") {