github xdan/jodit 4.15.5

latest releases: 4.15.7, 4.15.6
3 hours ago

🐛 Bug Fix

  • Quoted font names in inline styles came out of the editor with double quotes (style="font-family: "Open Sans", sans-serif"), which is how the DOM serialises them. Back ends that HTML-decode the value before storing it turned that into style="font-family: "Open Sans", sans-serif" — broken markup that the editor could no longer read back. The value getter now rewrites such names with single quotes (font-family: 'Open Sans', sans-serif), which survive the round trip; names that already contain an apostrophe are left untouched. Controlled by the new cleanHTML.singleQuotesInFontFamily option (default true). Reported by Gavin Foley (Educa, Jodit OEM).

Don't miss a new jodit release

NewReleases is sending notifications on new releases.