mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 22:08:48 +01:00
This commit is contained in:
parent
c3517f48bd
commit
f6880da241
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue