diff --git a/23384.da7b9d7e.async.js b/23384.b828f2c9.async.js similarity index 98% rename from 23384.da7b9d7e.async.js rename to 23384.b828f2c9.async.js index 0d2f9a3abb..05c2cb9060 100644 --- a/23384.da7b9d7e.async.js +++ b/23384.b828f2c9.async.js @@ -24,6 +24,7 @@ + var MathsLatex = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (_ref, ref) { var callback = _ref.callback, showSaveButton = _ref.showSaveButton, @@ -692,6 +693,11 @@ var MathsLatex = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)( getData: getData }; }); + (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () { + if (GraphicsRef.current) GraphicsRef.current.menuItems = GraphicsRef.current.menuItems.filter(function (item) { + return item.id !== "copy" && item.id !== "paste" && item.keyboardShortcut !== "meta+X"; + }); + }, [GraphicsRef.current]); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z.mathWrap, children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, { diff --git a/index.html b/index.html index 384981b2dc..bfc5691677 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@