Hi,
I use M2.3 and Tiny MCE 4. When I create a link in a CMS page like this:
<a href="{{config path="web/secure/base_url"}}test.html">Test</a> in HTML and save it all works ok. As soon as I open the Tiny MCE Editor this part of code is changed into this:
<a href="{{config path="web/secure/base_url"}}">Test</a></p>
So the " is added but more important the test.html is stripped out. How can I avoid this?
Hello @jean luc_thibault
That's correct ! somehow that test.html is stripped out and not able to showing at backend !
But if you check link on the frontend, link is still present with test.html on the frontend !
So you can go with that approach as of now ! May be it is core bug ! because without {} (braces) if we are passing link directly - then also its showing properly at backend ! so
Hope it helps !
Hi,
Sorry but that is not true. If it is stripped out and you save page, it is really gone also on frontend.
Hello @jean luc_thibault
No, I have checked that on Magento 2.3 and its showing link on frontend !
Don't enable again tinyMCE editor once you put that link on text editor !
Meaning when you edit any page - click on Show/Hide Editor and on a text editor paste the link syntax and then click on save button ! (Don't go back on TinyMCE editor)
Clear the cache and check it on frontend - it will showcase that link !
Hope it helps !