Moved EntryEditor to a separate directory
This commit is contained in:
parent
9f33b160e7
commit
841772496a
@ -1,7 +1,7 @@
|
|||||||
import React, { PropTypes } from 'react';
|
import React, { PropTypes } from 'react';
|
||||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||||
import ControlPane from './ControlPanel/ControlPane';
|
import ControlPane from '../ControlPanel/ControlPane';
|
||||||
import PreviewPane from './PreviewPane';
|
import PreviewPane from '../PreviewPane';
|
||||||
import styles from './EntryEditor.css';
|
import styles from './EntryEditor.css';
|
||||||
|
|
||||||
export default function EntryEditor(props) {
|
export default function EntryEditor(props) {
|
@ -11,7 +11,7 @@ import {
|
|||||||
} from '../actions/entries';
|
} from '../actions/entries';
|
||||||
import { addMedia, removeMedia } from '../actions/media';
|
import { addMedia, removeMedia } from '../actions/media';
|
||||||
import { selectEntry, getMedia } from '../reducers';
|
import { selectEntry, getMedia } from '../reducers';
|
||||||
import EntryEditor from '../components/EntryEditor';
|
import EntryEditor from '../components/EntryEditor/EntryEditor';
|
||||||
import EntryPageHOC from './editorialWorkflow/EntryPageHOC';
|
import EntryPageHOC from './editorialWorkflow/EntryPageHOC';
|
||||||
|
|
||||||
class EntryPage extends React.Component {
|
class EntryPage extends React.Component {
|
||||||
@ -63,13 +63,13 @@ class EntryPage extends React.Component {
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<EntryEditor
|
<EntryEditor
|
||||||
entry={entryDraft.get('entry')}
|
entry={entryDraft.get('entry')}
|
||||||
getMedia={boundGetMedia}
|
getMedia={boundGetMedia}
|
||||||
collection={collection}
|
collection={collection}
|
||||||
onChange={changeDraft}
|
onChange={changeDraft}
|
||||||
onAddMedia={addMedia}
|
onAddMedia={addMedia}
|
||||||
onRemoveMedia={removeMedia}
|
onRemoveMedia={removeMedia}
|
||||||
onPersist={this.handlePersistEntry}
|
onPersist={this.handlePersistEntry}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user