cancel
Showing results for 
Search instead for 
Did you mean: 

Tiny MCE 4 strips out URL

Tiny MCE 4 strips out URL

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=&quot;web/secure/base_url&quot;}}">Test</a></p>

 

So the &quot; is added but more important the test.html is stripped out. How can I avoid this?

3 REPLIES 3

Re: Tiny MCE 4 strips out URL

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 !

 

if issue solved,Click Kudos & Accept as Solution

Re: Tiny MCE 4 strips out URL

Hi,

 

Sorry but that is not true. If it is stripped out and you save page, it is really gone also on frontend.

Re: Tiny MCE 4 strips out URL

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 !

if issue solved,Click Kudos & Accept as Solution