Skip to content

Commit

Permalink
magento#1504: [2.1-develop] Insert rendition images to the content fr…
Browse files Browse the repository at this point in the history
…om media gallery instead of original images - adjustments for regex on wysiwyg with static urls
  • Loading branch information
jmonteros422 committed Aug 24, 2020
1 parent d4337e9 commit 1635922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MediaGalleryRenditions/etc/media_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<search>
<patterns>
<pattern name="media_gallery">/{{media url="(?:.renditions)*(.*?)"?}}/</pattern>
<pattern name="wysiwyg">/src=".*\/media\/(?:\/.renditions)*(.*?)"/</pattern>
<pattern name="wysiwyg">/src=".*\/media\/(?:.renditions\/)*(.*?)"/</pattern>
<pattern name="catalog_image">/\/?media\/(?:.renditions\/)*(.*)/</pattern>
<pattern name="catalog_image_with_pub">/\/pub\/?media\/(?:.renditions\/)*(.*)/</pattern>
</patterns>
Expand Down

0 comments on commit 1635922

Please sign in to comment.