mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 19:40:48 +08:00
This commit is contained in:
parent
c3517f48bd
commit
f6880da241
@ -54,7 +54,7 @@ export const renderTextMenu = (protyle: IProtyle, toolbarElement: Element) => {
|
||||
const nodeElements = getFontNodeElements(protyle);
|
||||
let disableFont = false;
|
||||
nodeElements?.find((item: HTMLElement) => {
|
||||
if (item.classList.contains("list") || item.classList.contains("li")) {
|
||||
if (item.classList.contains("li")) {
|
||||
disableFont = true;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user