diff --git a/Dockerfile b/Dockerfile index 86b565acf..fd0360307 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN mkdir -p $APP_PATH WORKDIR $APP_PATH COPY . $APP_PATH + RUN yarn install --pure-lockfile RUN cp -r /opt/outline/node_modules /opt/node_modules diff --git a/app/scenes/Document/components/Editor.js b/app/scenes/Document/components/Editor.js index 03ec94aec..ef1771b05 100644 --- a/app/scenes/Document/components/Editor.js +++ b/app/scenes/Document/components/Editor.js @@ -6,8 +6,6 @@ import Placeholder from 'rich-markdown-editor/lib/components/Placeholder'; import ClickablePadding from 'components/ClickablePadding'; import plugins from './plugins'; -const defaultOptions = { normalize: true }; - type Props = { defaultValue?: string, readOnly?: boolean, @@ -38,7 +36,6 @@ class DocumentEditor extends React.Component { (this.editor = ref)} plugins={plugins} - options={defaultOptions} {...this.props} />