-
Create a static block with the identifier test_block in two store views store A and store B and insert a skin directive. Example:
<p><img alt="" src="{{skin url="images/img.png"}}" /></p>
-
Go to the edit page of the static block. You see two text areas / WYSIWYG editors.
-
Disable the WYSIWYG editor for the static block of store A.
-
Click save.
-
Check the content in the database:
SELECT * FROM `cms_block` WHERE `identifier` = 'test_block';
Expected:
The content in the database is stored correctly for store A and store B.
<p><img alt="" src="{{skin url="images/img.png"}}" /></p>
Actual:
The content in the database is stored encoded for store B.
<p><img alt="" src="http://magento.local/index.php/customadmin/cms_wysiwyg/directive/___directive/e3tza2luIHVybD0iaW1hZ2VzL2ltZy5wbmcifX0,/key/2cbf090a2fafbc2b9457a0f93ebcb220/" /></p>
This of course leads to a broken image in the frontend.
Create a static block with the identifier
test_blockin two store views store A and store B and insert a skin directive. Example:Go to the edit page of the static block. You see two text areas / WYSIWYG editors.
Disable the WYSIWYG editor for the static block of store A.
Click save.
Check the content in the database:
Expected:
The content in the database is stored correctly for store A and store B.
Actual:
The content in the database is stored encoded for store B.
This of course leads to a broken image in the frontend.