mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🚨
This commit is contained in:
parent
a8f3b1762a
commit
b2ba9ace07
10 changed files with 33 additions and 36 deletions
|
|
@ -45,7 +45,6 @@ import {exportAsset} from "./util";
|
|||
import {removeLink} from "../protyle/toolbar/Link";
|
||||
import {alignImgCenter, alignImgLeft} from "../protyle/wysiwyg/commonHotkey";
|
||||
import {getEnableHTML} from "../protyle/wysiwyg/removeEmbed";
|
||||
import {getContenteditableElement} from "../protyle/wysiwyg/getBlock";
|
||||
|
||||
export const refMenu = (protyle: IProtyle, element: HTMLElement) => {
|
||||
const nodeElement = hasClosestBlock(element);
|
||||
|
|
@ -319,7 +318,7 @@ export const contentMenu = (protyle: IProtyle, nodeElement: Element) => {
|
|||
}
|
||||
});
|
||||
if (protyle.disabled) {
|
||||
html = getEnableHTML(html)
|
||||
html = getEnableHTML(html);
|
||||
}
|
||||
const tempElement = document.createElement("template");
|
||||
tempElement.innerHTML = protyle.lute.BlockDOM2HTML(html);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue