mirror of
https://github.com/proelements/proelements.git
synced 2026-05-19 23:35:03 +00:00
v4.0.4
This commit is contained in:
@@ -33,7 +33,7 @@ function useNotesActionProps() {
|
||||
icon: _elementor_icons__WEBPACK_IMPORTED_MODULE_1__.MessageIcon,
|
||||
onClick: () => {
|
||||
const extendedWindow = window;
|
||||
const eventsManager = extendedWindow?.elementorCommon?.eventsManager || extendedWindow?.elementor?.editorEvents;
|
||||
const eventsManager = extendedWindow?.elementorCommon?.eventsManager;
|
||||
const config = eventsManager?.config;
|
||||
if (config) {
|
||||
eventsManager.dispatchEvent(config.names.topBar.notes, {
|
||||
@@ -138,6 +138,12 @@ module.exports = window["wp"]["i18n"];
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ if (!(moduleId in __webpack_modules__)) {
|
||||
/******/ delete __webpack_module_cache__[moduleId];
|
||||
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
||||
/******/ e.code = 'MODULE_NOT_FOUND';
|
||||
/******/ throw e;
|
||||
/******/ }
|
||||
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
@@ -187,7 +193,7 @@ module.exports = window["wp"]["i18n"];
|
||||
/******/
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
||||
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
|
||||
!function() {
|
||||
/*!*********************************************************!*\
|
||||
!*** ./packages/packages/pro/editor-notes/src/index.ts ***!
|
||||
@@ -202,4 +208,4 @@ __webpack_require__.r(__webpack_exports__);
|
||||
(window.elementorV2 = window.elementorV2 || {}).editorNotes = __webpack_exports__;
|
||||
/******/ })()
|
||||
;
|
||||
window.elementorV2.editorNotes?.init?.();
|
||||
window.elementorV2.editorNotes?.init?.();
|
||||
|
||||
Reference in New Issue
Block a user