We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b196b5 commit 964b55eCopy full SHA for 964b55e
lib/web/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentowidget/editor_plugin.js
@@ -142,7 +142,7 @@ define([
142
* @return {*}
143
*/
144
encodeWidgets: function (content) {
145
- return content.gsub(/\{\{widget(.*?)\}\}/i, function (match) {
+ return content.gsub(/\{\{widget([\S\s]*?)\}\}/i, function (match) {
146
var attributes = wysiwyg.parseAttributesString(match[1]),
147
imageSrc,
148
imageHtml = '';
0 commit comments