Urgent Support Needed: XML code in Post

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.

image_transcoder.php?o=sys_images_editor&h=2373&dpx=1&t=17334806462) When post is edited - xml structure is getting lost.

image_transcoder.php?o=sys_images_editor&h=2374&dpx=1&t=1733480980

Thanks,

  • 1487
  • More
Replies (3)
      • 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:

        • Quill – allow empty tags
        • Quill – allowed formats for mini/standard/full editor
        • Quill buttons for mini editor:
        ['bold','italic','underline','clean',{'list':'ordered'}, {'list':'bullet'},{ 'align':''},{'align':'center'},{'align':'right'},'blockquote','link','image','embed']
        
        • Quill buttons for standard editor:
        ['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']
        
        • Quill buttons for full editor:
        [{ '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.

          image_transcoder.php?o=sys_images_editor&h=2681&dpx=1&t=1746100143

          Login or Join to comment.