HomeMusing Studio

Prevent ProseMirror from breaking on unknown HTML

Description

Prevent ProseMirror from breaking on unknown HTML

Previously, loading any HTML into the Classic editor (such as when switching between editors) would cause the entire editor to break.

Now, this preserves all HTML loaded into a post, alongside shortcodes like <!--more-->. It simply displays the HTML and maintains it across edits, so no data is lost.

Details

Provenance
mattAuthored on Thu, Apr 2, 8:20 PM
Parents
rWF7f10e8c813c6: Fix ProseMirror build issues with Node 17+
Branches
Unknown
Tags
Unknown