@elementor/editor-variables 4.0.0-511 → 4.0.0-512
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/init.ts +2 -1
package/dist/index.js
CHANGED
|
@@ -42,6 +42,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
42
42
|
|
|
43
43
|
// src/init.ts
|
|
44
44
|
var import_editor = require("@elementor/editor");
|
|
45
|
+
var import_editor_controls15 = require("@elementor/editor-controls");
|
|
45
46
|
var import_editor_editing_panel2 = require("@elementor/editor-editing-panel");
|
|
46
47
|
var import_editor_panels2 = require("@elementor/editor-panels");
|
|
47
48
|
var import_editor_props7 = require("@elementor/editor-props");
|
|
@@ -3800,7 +3801,7 @@ var { registerPopoverAction } = import_editor_editing_panel2.controlActionsMenu;
|
|
|
3800
3801
|
function init() {
|
|
3801
3802
|
registerVariableTypes();
|
|
3802
3803
|
registerRepeaterInjections();
|
|
3803
|
-
(0,
|
|
3804
|
+
(0, import_editor_controls15.registerControlReplacement)({
|
|
3804
3805
|
component: VariableControl,
|
|
3805
3806
|
condition: ({ value, placeholder }) => {
|
|
3806
3807
|
if (hasVariableAssigned(value)) {
|