You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1style="text-align: center;">Hi {{user_name}}, have a nice day!</h1><h5style="text-align: center;">Note, this is not an "enterprise/premium" demo.<br/>Visit the <ahref="https://www.tinymce.com/pricing/#demo-enterprise">pricing page</a> to demo our premium plugins.</h5>
that is displayed in editor like this:
after applying style (bold) to whole line I get this output:
<h1style="text-align: center;"><strong>Hi </strong>{{user_name}}<strong>, have a nice day!</strong></h1><h5style="text-align: center;">Note, this is not an "enterprise/premium" demo.<br/>Visit the <ahref="https://www.tinymce.com/pricing/#demo-enterprise">pricing page</a> to demo our premium plugins.</h5>
and in preview looks like this:
Here is recording showing my steps:
As You can see variable in output isn't bolded. Ideally variable should be treated as normal text.
The text was updated successfully, but these errors were encountered:
Try wrapping span element of the variable text in another element, like em. The span element is returned from function the createHTMLVariable inside plugin.js.
I've prepared simple demo to show this issue: https://codepen.io/Misiu/pen/vxjQow
I have simple html:
that is displayed in editor like this:
after applying style (bold) to whole line I get this output:
and in preview looks like this:
Here is recording showing my steps:
As You can see variable in output isn't bolded. Ideally variable should be treated as normal text.
The text was updated successfully, but these errors were encountered: