2.10.0
2.10.0
Added
- Code Formatting Toolbar Button — added a new
codetoolbar action with smart formatting behavior:- single-line selections are wrapped in inline
<code> - multi-line selections create a
<pre><code>code block - clicking again toggles/removes existing code formatting
- single-line selections are wrapped in inline
- The
codebutton is now included in the default toolbar betweensubscriptandremoveFormat - Added
toolbar.codetranslation key to all 8 built-in languages:- English (
en) - Czech (
cs) - Chinese (
zh) - Spanish (
es) - German (
de) - French (
fr) - Portuguese (
pt) - Japanese (
ja)
- English (
Fixed
- List Toggle Paragraph Wrapping — fixed text not being properly wrapped in
<p>elements after disabling Bullet List or Numbered List formatting - Consecutive inline/text nodes are now grouped into a single paragraph instead of generating multiple fragmented
<p>elements - HTML Entity Decoding — fixed HTML entities such as
&being displayed as literal text instead of decoded characters
Improved
- Renamed
custom_classconfig option tocustomClassfor consistency with the editor’s camelCase API style - Backward compatibility is preserved — the legacy
custom_classoption still works
Full Changelog: 2.9.5...2.10.0