mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-21 19:41:05 +08:00
This commit is contained in:
parent
3f70ac1d45
commit
2ae6628c68
@ -728,7 +728,7 @@ export const contentMenu = (protyle: IProtyle, nodeElement: Element) => {
|
||||
selectAll(protyle, nodeElement, range);
|
||||
}
|
||||
}).element);
|
||||
if (nodeElement.classList.contains("table")) {
|
||||
if (nodeElement.classList.contains("table") && !protyle.disabled) {
|
||||
const cellElement = hasClosestByMatchTag(range.startContainer, "TD") || hasClosestByMatchTag(range.startContainer, "TH");
|
||||
if (cellElement) {
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
|
Loading…
Reference in New Issue
Block a user