Skip to content

Commit 20fd589

Browse files
committed
add mage/adminhtml/tools for Base64
1 parent 188a3e6 commit 20fd589

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/code/Magento/Variable/view/adminhtml/web/variables.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ define([
1616
'Magento_Variable/js/custom-directive-generator',
1717
'Magento_Ui/js/lib/spinner',
1818
'jquery/ui',
19-
'prototype'
19+
'prototype',
20+
'mage/adminhtml/tools'
2021
], function (jQuery, notification, $t, wysiwyg, registry, mageApply, utils, configGenerator, customGenerator, loader) {
2122
'use strict';
2223

lib/web/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentovariable/editor_plugin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ define([
99
'Magento_Variable/js/config-directive-generator',
1010
'Magento_Variable/js/custom-directive-generator',
1111
'wysiwygAdapter',
12-
'jquery'
12+
'jquery',
13+
'mage/adminhtml/tools'
1314
], function (configDirectiveGenerator, customDirectiveGenerator, wysiwyg, jQuery) {
1415
return function (config) {
1516
tinymce.create('tinymce.plugins.magentovariable', {

0 commit comments

Comments
 (0)