Skip to content

Commit

Permalink
Rewrite table block to use a simpler RichText value (#8767)
Browse files Browse the repository at this point in the history
* Rewrite table block to use a simpler RichText value

* Remove TinyMCE table plugin

* Add basic tests

* Restore drop down table controls

* move files to package

* Fixes

* More polish

* Polish initial prompt again.

* Add docs

* Table: Address my own feedback from review

* Componnet: Add isDisabled support for DropdownMenu controls

* Table block: Fix an issue when removing all columns does not prompt table creation

* Revert part of 19b7cb3
  • Loading branch information
ellatrix committed Aug 23, 2018
1 parent e959064 commit 49c65b9
Show file tree
Hide file tree
Showing 16 changed files with 1,230 additions and 467 deletions.
6 changes: 0 additions & 6 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ function gutenberg_register_scripts_and_styles() {
array(
'lodash',
'tinymce-latest-lists',
'tinymce-latest-table',
'wp-a11y',
'wp-api-fetch',
'wp-blob',
Expand Down Expand Up @@ -796,11 +795,6 @@ function gutenberg_register_vendor_scripts() {
'https://unpkg.com/tinymce@' . $tinymce_version . '/plugins/lists/plugin' . $suffix . '.js',
array( 'wp-tinymce' )
);
gutenberg_register_vendor_script(
'tinymce-latest-table',
'https://unpkg.com/tinymce@' . $tinymce_version . '/plugins/table/plugin' . $suffix . '.js',
array( 'wp-tinymce' )
);
gutenberg_register_vendor_script(
'lodash',
'https://unpkg.com/lodash@4.17.5/lodash' . $suffix . '.js'
Expand Down
1 change: 1 addition & 0 deletions packages/block-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"url": "^0.11.0"
},
"devDependencies": {
"deep-freeze": "^0.0.1",
"enzyme": "^3.3.0",
"react-test-renderer": "^16.4.1"
},
Expand Down
Loading

0 comments on commit 49c65b9

Please sign in to comment.