-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
html editor #11109
Comments
Magento 2.1.9 works fine but in Magento 2.2 it fails when you update any html in the block area. I hope it helps. |
I expected my html do not change when I save it. |
Hey, It seems, that this conversion of directives to urls is intended. In /lib/web/mage/adminhtml/wysiwyg/tiny_mce/setup.js:410 is a function/method "makeDirectiveUrl" which is converts all directives in html attributes. Beside this, is there a error when you try to save/update the content? |
@smartstoremx thank you for your report. The issue is already fixed in 2.2-develop branch (PR: #11048 by @PieterCappelle) and will be available in the Magento 2.2.2 release |
Preconditions
Magento 2.2
Steps to reproduce
a class="camera_caption_txt--btn"
href="http://localhost/s2/admin2/cms/wysiwyg/directive/___directive/e3tzdG9yZSB1cmw9J21lbi5odG1sJ319/key/60e2edd93d70c88b278b9281a60f6ee9a83b4c797978b796f7ab8960ee8637c7/">Shop now!
Expected result
Actual result
The text was updated successfully, but these errors were encountered: