WebContextMenus: fix patch
This commit is contained in:
parent
c8d880f578
commit
fbe587fe55
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ import { saveFile } from "@utils/web";
|
|||
import { filters, mapMangledModuleLazy } from "@webpack";
|
||||
import { ComponentDispatch } from "@webpack/common";
|
||||
|
||||
const ctxMenuCallbacks = mapMangledModuleLazy('.tagName)==="TEXTAREA"||', {
|
||||
const ctxMenuCallbacks = mapMangledModuleLazy('closest("[contenteditable=true]")', {
|
||||
contextMenuCallbackWeb: filters.byCode('"[contenteditable=true]"'),
|
||||
contextMenuCallbackNative: filters.byCode('.getPropertyValue("-webkit-user-select")')
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue