mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 06:54:08 +01:00
This commit is contained in:
parent
14ad527fc8
commit
c7cba8a831
2 changed files with 5 additions and 1 deletions
|
|
@ -1,7 +1,10 @@
|
|||
import {hideElements} from "../ui/hideElements";
|
||||
|
||||
export const destroy = (protyle: IProtyle) => {
|
||||
if (!protyle) {
|
||||
return;
|
||||
}
|
||||
hideElements(["util"], protyle);
|
||||
protyle.element.classList.remove("protyle");
|
||||
protyle.element.removeAttribute("style");
|
||||
if (protyle.wysiwyg) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue