Hi Max... on CF7 I added "entity_encoding: 'raw'," to the g3.tinymce.js file. Where/How do I add this to CF8?
How stupid... All data currently stored cannot be used. That's a few night shifts for me...
How stupid... All data currently stored cannot be used. That's a few night shifts for me...
tinymce encodes the data so you may just need to decode it before it goes to the database ?
you may also run a php script to update all the data stored
the file to be changed is nui.tinymce.min.js
you may also run a php script to update all the data stored
the file to be changed is nui.tinymce.min.js
in the tinymceSettings variable
but as I noted, better leave the default editor settings and just decode the result with PHP
but as I noted, better leave the default editor settings and just decode the result with PHP
I think the editor does it correctly, it encodes the characters because when you display them on the front page you just decode them, it's just like inserting <html> code in the text
so all you need to do is to decode after reading, or decode before saving, no need to change the editor settings
but I can still add a new setting to override the editor if it's necessary for you
so all you need to do is to decode after reading, or decode before saving, no need to change the editor settings
but I can still add a new setting to override the editor if it's necessary for you
Hi Max... On CF7 I simply added entity_encoding: 'raw', in the g3.tinymce.js file. If you add that as an option, then you're welcome. But it's enough for me if you tell me where to insert it into the nui.tinymce.min.js file. I have already adapted this file. I only need toolbar 1 with bold bullist numlist.
Furthermore, my greatest wish in this regard is to use the JCE. I pay for this one and find it much more pleasant than the MCE.
to insert the code you can do it at the first occurrence of:
but it will be overwritten by the update of course
so you do not like decoding the HTML solution ? that's how it is usually done
var tinymceSettings = {
but it will be overwritten by the update of course
so you do not like decoding the HTML solution ? that's how it is usually done
