Using Text Widget for HTML Code

Since the version 6 there is a strange behavior when editing a text box used to insert code.

When you open the text clicking in the box Content/Edit Text, it opens as Rich Text, not as HTML as in previous version.

If you have a JS code, when you pass to plan HTML it adds some

or
so it broke the script.

Kindest regards.

@marcor,

Thanks for reaching out!

When the text element is opened there’s an option to view the code as Raw code. In that way, it will break the website. It would also be best to add any script to the global settings.

Hope that helps.

Hi Marc,
What I’m saying is that when you open a text box to edit a text, the editor has to open as HTML as in the past, not as Rich Text, because if you have a script in that box, passing to the HTML editor will add some unexpected HTML tags.

Is it clear? I can make you a screen video if needed.

Kindest regards.

Hello @marcor,

It seems that you have enabled the “Rich Text Editor Default”, I would suggest you go to the Cornerstone—>Settings -->Preferences—>Uncheck this checkbox “Rich Text Editor Default”

Test-Page-Cornerstone (39)

Hope it helps
Thanks

You saved my life!

Thanks!

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.