Skip to content

Commit 49934b4

Browse files
committed
update code
1 parent dc6c455 commit 49934b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/web/mage/adminhtml/wysiwyg/tiny_mce/tinymce5Adapter.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,8 @@ define([
403403
jQuery('.tox-tinymce-aux').hide();
404404

405405
require(['mage/adminhtml/browser'], function () {
406-
MediabrowserUtility.openDialog(wUrl, false, false, typeTitle, {
406+
MediabrowserUtility.openDialog(wUrl, false, false, typeTitle,
407+
{
407408
/**
408409
* Closed.
409410
*/
@@ -676,8 +677,7 @@ define([
676677
attributesString = attributesString.gsub(/([a-z0-9\-\_]+)="(.*?)(\{\{.+?\}\})(.*?)"/i, function (m) {
677678
if (/\{\{config path=\"([^\"]+)\"\}\}/i.test(m[3].replace(/"/g, '"'))) {
678679
return m[1] + '="' + m[2] + m[3].replace(/\"/g,'"') + m[4] + '"';
679-
};
680-
680+
}
681681
decodedDirectiveString = encodeURIComponent(Base64.mageEncode(m[3].replace(/"/g, '"') + m[4]));
682682

683683
return m[1] + '="' + m[2] + this.makeDirectiveUrl(decodedDirectiveString) + '"';

0 commit comments

Comments
 (0)