mirror of
https://github.com/proelements/proelements.git
synced 2026-05-16 05:45:01 +00:00
v4.0.4.1
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
/*! pro-elements - v4.0.0 - 28-04-2026 */
|
||||
"use strict";
|
||||
(self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["code-highlight"],{
|
||||
|
||||
/***/ "../modules/code-highlight/assets/js/frontend/handler.js"
|
||||
/*!***************************************************************!*\
|
||||
!*** ../modules/code-highlight/assets/js/frontend/handler.js ***!
|
||||
\***************************************************************/
|
||||
(__unused_webpack_module, exports) {
|
||||
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({
|
||||
value: true
|
||||
}));
|
||||
exports["default"] = void 0;
|
||||
class codeHighlightHandler extends elementorModules.frontend.handlers.Base {
|
||||
onInit(...args) {
|
||||
super.onInit(...args);
|
||||
Prism.highlightAllUnder(this.$element[0], false);
|
||||
}
|
||||
onElementChange() {
|
||||
// Handle the changes for "Word Wrap" feature
|
||||
Prism.highlightAllUnder(this.$element[0], false);
|
||||
}
|
||||
}
|
||||
exports["default"] = codeHighlightHandler;
|
||||
|
||||
/***/ }
|
||||
|
||||
}]);
|
||||
//# sourceMappingURL=code-highlight.872070dcb83100cdc6a7.bundle.js.map
|
||||
Reference in New Issue
Block a user