Skip to content

Commit

Permalink
Reduce the number of edit-post components used
Browse files Browse the repository at this point in the history
  • Loading branch information
vindl committed Aug 7, 2018
1 parent 8a4f472 commit 55f455e
Show file tree
Hide file tree
Showing 84 changed files with 49 additions and 3,965 deletions.
12 changes: 0 additions & 12 deletions assets/stylesheets/sections/gutenberg-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,8 @@
@import 'gutenberg/editor/edit-post/assets/stylesheets/z-index';
@import 'gutenberg/editor/edit-post/assets/stylesheets/main';

@import 'gutenberg/editor/edit-post/components/meta-boxes/meta-boxes-area/style';
@import 'gutenberg/editor/edit-post/components/visual-editor/style';
@import 'gutenberg/editor/edit-post/components/header/pinned-plugins/style';
@import 'gutenberg/editor/edit-post/components/layout/style';
@import 'gutenberg/editor/edit-post/components/sidebar/post-schedule/style';
@import 'gutenberg/editor/edit-post/components/sidebar/post-visibility/style';
@import 'gutenberg/editor/edit-post/components/header/header-toolbar/style';
@import 'gutenberg/editor/edit-post/components/header/more-menu/style';
@import 'gutenberg/editor/edit-post/components/text-editor/style';
@import 'gutenberg/editor/edit-post/components/sidebar/sidebar-header/style';
@import 'gutenberg/editor/edit-post/components/sidebar/block-sidebar/style';
@import 'gutenberg/editor/edit-post/components/header/style';
@import 'gutenberg/editor/edit-post/components/sidebar/settings-header/style';
@import 'gutenberg/editor/edit-post/components/sidebar/last-revision/style';
@import 'gutenberg/editor/edit-post/components/sidebar/style';

@import '../../../node_modules/@wordpress/editor/build-style/style';
4 changes: 4 additions & 0 deletions client/boot/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ window.AppBoot = () => {
user.once( 'change', () => boot( user ) );
}
};

// Gutenberg expects some global values
// TODO: find a way to remove this later
window.userSettings = { uid: 'gutenberg-test' };

This file was deleted.

103 changes: 0 additions & 103 deletions client/gutenberg/editor/edit-post/components/browser-url/index.js

This file was deleted.

106 changes: 0 additions & 106 deletions client/gutenberg/editor/edit-post/components/browser-url/test/index.js

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 55f455e

Please sign in to comment.