Open slubonski opened 2 months ago
Hi @slubonski
To solve this issue you need to disable sanitize
add the next snippet https://prnt.sc/QreTThkb1qqq to the functions.php file of your child theme:
https://gist.github.com/Crocoblock/f8802e82a36689fdae6dcb104b28edff
Then, display the meta field with a Dynamic Field widget. Add the 'disable-sanitize' class to the Dynamic Field: https://prnt.sc/1dMvdRMeHZHU
Describe the bug HTML code inserted in meta data field, is not showing all attributes in the end - when I would like to display this value on page. It only shows 'class' and that's it :(
To Reproduce Steps to reproduce the behavior:
<span class="keyWordClass" onClick="HiThere()" myCustomAttr="Hello world">Sample text</span>
<span class="keyWordClass">Sample text</span>
, but it should be:<span class="keyWordClass" onClick="HiThere()" myCustomAttr="Hello world">Sample text</span>
Expected behavior My HTML code inserted in the meta data field (in this example in 'key_words') should be displayed correctly. Meaning, it should show all HTML attributes. That's it.
Screenshots![image](https://github.com/Crocoblock/suggestions/assets/38492491/3bfc44ca-9ecd-4191-ad63-bb15569cd98b)
Desktop (please complete the following information):
PS. Im using JetEngine 3.4.2.