Hi All,
My website focuses on writing content about coding, mostly related to XML.
When I post XML content in a new post, everything looks good. However, when editing the post, the XML content is getting lost. How can I ensure it is retained?
I am struggling with this issue and would greatly appreciate any help. Any suggestions are much appreciated.
1) Fresh New Post - Adding xml in paragraph and in code block - It keeps structure as is - this is good.
2) When post is edited - xml structure is getting lost.
Thanks,
Comments
related to my error: https://unacms.com/d/issues-with-code-formatting-in-the-forum
For our web sites, I believe this can be configured from the following path:
studio/module.php?name=bx_developer
under the Editor section.Relevant options include:
['bold','italic','underline','clean',{'list':'ordered'}, {'list':'bullet'},{ 'align':''},{'align':'center'},{'align':'right'},'blockquote','link','image','embed']
['bold','italic','underline','clean',{ 'header': [1, 2, 3, 4, 5, 6, false] },{'list':'ordered'}, {'list':'bullet'},{'indent': '-1'},{'indent': '+1'},{ 'align':''},{'align':'center'},{'align':'right'},{'align':'justify'},'blockquote','link','image','embed','emoji']
[{ 'header': [1, 2, 3, 4, 5, 6, false] },'bold','italic','underline','clean'], [{ 'align': [] },{'list':'ordered'}, {'list':'bullet'},{'indent': '-1'},{'indent': '+1'},'blockquote', { 'color': [] }, { 'background': [] },{ 'direction': 'rtl' },'link','image','embed','code-block','emoji','show-html']
I will investigate the issue concerning user permissions for the editor and inform you of any updates. Let me know if you've figured out how to make the correct settings.
You must utilize the HTML button to insert the code into the editor, ensuring that your code is already minified prior to submission. Failure to do so may result in code corruption. If the code is not minified beforehand, the editor will attempt to minify it, which significantly increases the risk of breaking the code.
Please review the proposed solution and confirm whether it addresses the issues effectively.