github xdan/jodit 4.12.30

latest release: 4.12.31
5 hours ago

🐛 Bug Fix

  • Paste from Excel / "Keep" formatting: content copied from MS Excel (and other apps that wrap the clipboard in a bare <html> tag) lost all styling — table cells styled by class in a <style> block (e.g. .xl31 { background:#FCE4D6 }, the typical Excel export) came in with no background, fonts or alignment. applyStyles (the Paste as HTML → Keep path) only inlined <style> rules when the opening tag carried attributes (<html …>, as Word emits); Excel emits a bare <html>, so the rules were never inlined and were dropped together with the <style> block. The opening <html> tag is now matched with or without attributes, so class-based styling is inlined onto the cells and survives. Reported in #1362.

Don't miss a new jodit release

NewReleases is sending notifications on new releases.