Skip to content

Commit

Permalink
Include TableProperties/TableCellProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Aug 11, 2023
1 parent 6ae04d3 commit 3426ecd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- The `ckeditor/convert` action will now find and convert `craft\fields\MissingField` instances that were meant to be Redactor fields.
- CKEditor fields with the “Insert table” button now include the `TableProperties` and `TableCellProperties` plugins. ([#103](https://github.com/craftcms/ckeditor/issues/103))
- Updated CKEditor 5 to 39.0.1.

## 3.4.0 - 2023-05-16
Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/ckeditor/dist/ckeditor5-craftcms.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/ckeditor/dist/ckeditor5-craftcms.js.map

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion src/web/assets/ckeditor/src/ckeditor5-craftcms.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ import {Style} from '@ckeditor/ckeditor5-style';
import {
Table,
TableCaption,
TableCellProperties,
TableProperties,
TableToolbar,
TableUI,
} from '@ckeditor/ckeditor5-table';
Expand Down Expand Up @@ -89,6 +91,8 @@ const allPlugins = [
Superscript,
Table,
TableCaption,
TableCellProperties,
TableProperties,
TableToolbar,
TableUI,
TodoList,
Expand Down Expand Up @@ -199,7 +203,14 @@ const pluginButtonMap = [
{plugins: ['Subscript'], buttons: ['subscript']},
{plugins: ['Superscript'], buttons: ['superscript']},
{
plugins: ['Table', 'TableCaption', 'TableToolbar', 'TableUI'],
plugins: [
'Table',
'TableCaption',
'TableCellProperties',
'TableProperties',
'TableToolbar',
'TableUI',
],
buttons: ['insertTable'],
},
{plugins: ['TodoList'], buttons: ['todoList']},
Expand Down

0 comments on commit 3426ecd

Please sign in to comment.