Table plugin rework
This version is the occasion for a complete rewrite of the table plugin with a lot of additions:
- Header row
- Merged cells
- Vertical text alignment
- Columns resize
- Cell background color
- Table border-color
And all table icons were reworked!
Useful links:
Core
- Fix: Trigger
tbwChange
on spelling fix, by @abrom #1364 - Fix: Prevent shift keyup from editing selection, by @Alex-D d193186
- Fix: Reset format when calling
.trumbowyg('empty')
, by @Alex-D bdda00f #1329 - Fix: Reset font weight when using
resetCss
option, by @Alex-D 7d7b29c #1380 - Fix: Add the current tag in
tagHandler
, by @Alex-D e46b1bb - Fix: Improve the button pane rendering on 2 or 3 lines, by @Alex-D 4cc832d #1383
- Fix: Avoid editor height issues, by @Alex-D 4cc832d #1383
- Feat: change editor HTML structure to allow overlays, by @Alex-D 497dd02
- Feat: add
.trumbowyg-icons
class for plugin SVG Sprites, by @Alex-D 2e279cf - Upgrade: use
Array.isArray
instead of deprecated$.isArray
, by @Alex-D e66f9ee #1348 #1359
Translations
- BREAKING: Rename Norwegian Bokmål
no_nb
to use the correctnb
language code, by @Alex-D #1338 - Add Azerbaijani support, by @qalibqurbanov #1350
- Update Catalan and Spanish core and plugins translations, by @carmarri
Plugins
Table
- BREAKING: Remove
styler
option in favor of core'stagClasses
, by @Alex-D 3801a9c - BREAKING: Remove table style override from editor CSS, by @Alex-D 3f6fd5d
- Feat: Add some default style suggestions, by @Alex-D e5162ad 662280d
- Feat: Add heading support (
<thead>
+<th>
), by @Alex-D 180dc72 - Feat: Add multi-cells selection, by @Alex-D f163264 9d12553 fbdbc87
- Feat: Add cells merge, by @Alex-D f339d21 08f8c6f c53aa07
- Feat: Add columns resize, by @Alex-D 2435eef 839e0c5
- Feat: Add vertical alignment, by @Alex-D a477fc1
- Feat: Add table border color, by @Alex-D 648b3e1
- Feat: Add cell background color, by @Alex-D 5db3912
- Fix: Improve table creation UX by removing dead zones, by @Alex-D a8c07b7
For more details, please read the docs:
Documentation
Content
- Add a tip for custom plugin icons, by @lewiscollard #1362
- Add new Table plugin options and buttons, by @Alex-D 8f87285
Style & Behvior
- Change code font for JetBrains Mono, by @Alex-D ef13cda
- Use GitHub theme for code highlight, by @Alex-D ef13cda
- Improve highlight of diffs, by @Alex-D aed94e5
- Fix scroll issues, by @Alex-D d6960d6
Changes: v2.26.0...v2.27.2