Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alan Falloon 9 posts 119 karma points
    Feb 05, 2019 @ 00:10
    Alan Falloon
    0

    You have unsaved changes

    Sometimes I get the "You have unsaved changes" popup, even when nothing has changed.

    The kind of content just has the rte with a few plug ins and some other default stuff.

    Is there anything that can be done about this? How can I debug it?

    Thanks in advance

  • Jan Skovgaard 11222 posts 23230 karma points MVP 5x admin c-trib
    Feb 06, 2019 @ 16:27
    Jan Skovgaard
    0

    Hi Alan

    What exact version of Umbraco are you using? I know there have been a few bugs fixed regarding this but I don't think they're all eliminated though so it could be nice to know your exact version and whether a bug has already been fixed or if a bug report for the same issue as yours already exists at the issue tracker https://github.com/umbraco/Umbraco-CMS/issues

    Looking forward to hearing from you.

    /Jan

  • Alan Falloon 9 posts 119 karma points
    Feb 17, 2019 @ 22:13
    Alan Falloon
    100

    Hi Jan, thanks for getting back to me

    7.11.0

    We had saving event that was modifying the source HTML and replacing <br> with <br /> (or vice versa I cant remember)

    The problem was to do with HtmlDocument from HTML Agility Pack and the solution was to tell it to write the empty nodes, e.g.

    var exampleHTML = new HtmlDocument
    {
        OptionWriteEmptyNodes = true
    };
    
Please Sign in or register to post replies

Write your reply to:

Draft