mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 23:22:33 +01:00
This commit is contained in:
parent
1f050f4431
commit
bef6bc6512
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ export class Toolbar {
|
||||||
)) {
|
)) {
|
||||||
// 移除
|
// 移除
|
||||||
if (type === "clear") {
|
if (type === "clear") {
|
||||||
toolbarElement.querySelectorAll('[data-type="em"],[data-type="u"],[data-type="s"],[data-type="mark"],[data-type="sup"],[data-type="sub"],[data-type="strong"]').forEach(item => {
|
toolbarElement.querySelectorAll('[data-type="strong"],[data-type="em"],[data-type="u"],[data-type="s"],[data-type="mark"],[data-type="sup"],[data-type="sub"],[data-type="kbd"],[data-type="mark"],[data-type="code"]').forEach(item => {
|
||||||
item.classList.remove("protyle-toolbar__item--current");
|
item.classList.remove("protyle-toolbar__item--current");
|
||||||
});
|
});
|
||||||
} else if (actionBtn) {
|
} else if (actionBtn) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue