Skip to content

Commit

Permalink
Post Editor: Flatten modes directory (#5093)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored Feb 26, 2018
1 parent 7f9c713 commit f3c1e22
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import { KeyboardShortcuts } from '@wordpress/components';
/**
* Internal dependencies
*/
import shortcuts from '../../../keyboard-shortcuts';
import { getEditorMode } from '../../../store/selectors';
import { switchEditorMode } from '../../../store/actions';
import shortcuts from '../../keyboard-shortcuts';
import { getEditorMode } from '../../store/selectors';
import { switchEditorMode } from '../../store/actions';

class EditorModeKeyboardShortcuts extends Component {
constructor() {
Expand Down
6 changes: 3 additions & 3 deletions edit-post/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import {
import './style.scss';
import Header from '../header';
import Sidebar from '../sidebar';
import TextEditor from '../modes/text-editor';
import VisualEditor from '../modes/visual-editor';
import EditorModeKeyboardShortcuts from '../modes/keyboard-shortcuts';
import TextEditor from '../text-editor';
import VisualEditor from '../visual-editor';
import EditorModeKeyboardShortcuts from '../keyboard-shortcuts';
import MetaBoxes from '../meta-boxes';
import { getMetaBoxContainer } from '../../utils/meta-boxes';
import {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import { IconButton, withSpokenMessages } from '@wordpress/components';
/**
* Internal dependencies
*/
import { getActiveEditorPanel, isGeneralSidebarPanelOpened } from '../../../store/selectors';
import { openGeneralSidebar } from '../../../store/actions';
import { getActiveEditorPanel, isGeneralSidebarPanelOpened } from '../../store/selectors';
import { openGeneralSidebar } from '../../store/actions';

export function BlockInspectorButton( {
isGeneralSidebarEditorOpened,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { Fragment } from '@wordpress/element';
*/
import './style.scss';
import BlockInspectorButton from './block-inspector-button';
import { hasFixedToolbar } from '../../../store/selectors';
import { hasFixedToolbar } from '../../store/selectors';

function VisualEditor( props ) {
return (
Expand Down

0 comments on commit f3c1e22

Please sign in to comment.