Skip to content

Bug: Editor crashes after a value in setting gets set to null somehow #204

@ishields

Description

@ishields

This has happened a few times now where something gets corrupted and i ends up being null. The editor then crashes. The only way to fix it is put a breakpoint in chrome debugger. Then set i to an empty string. Then the page loads and you can manually delete the section that has the null. I'm not exactly sure how "i" is getting set to null but it should handle it so the editor doesn't crash.

n = new DOMParser().parseFromString(i.replace(/<br\/?>/g, " "), "text/html").body.textContent;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions