Skip to content

Commit f78f0c2

Browse files
tschifftnertmotyl
authored andcommitted
Added srcset support to tiny_mce wysiwyg editor (#481)
Added support for srcset in wysiwyg editor by allowing the tag attributes
1 parent 1e31c01 commit f78f0c2

File tree

1 file changed

+1
-1
lines changed
  • js/mage/adminhtml/wysiwyg/tiny_mce

1 file changed

+1
-1
lines changed

js/mage/adminhtml/wysiwyg/tiny_mce/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ tinyMceWysiwygSetup.prototype =
215215
+"img[align<bottom?left?middle?right?top|alt|border|class|dir<ltr?rtl|height"
216216
+"|hspace|id|ismap<ismap|lang|longdesc|name|onclick|ondblclick|onkeydown"
217217
+"|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover"
218-
+"|onmouseup|src|style|title|usemap|vspace|width],"
218+
+"|onmouseup|sizes|src|srcset|style|title|usemap|vspace|width],"
219219
+"input[accept|accesskey|align<bottom?left?middle?right?top|alt"
220220
+"|checked<checked|class|dir<ltr?rtl|disabled<disabled|id|ismap<ismap|lang"
221221
+"|maxlength|name|onblur|onclick|ondblclick|onfocus|onkeydown|onkeypress"

0 commit comments

Comments
 (0)