From 2db8cdc7d10a4c6c7b03156af046b87163276640 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 19 May 2019 17:49:51 -0700 Subject: [PATCH] =?UTF-8?q?Fixes=20#952=20=E2=80=93=20Page=20jump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 + app/scenes/Document/components/Editor.js | 3 --- docker-compose.yml | 2 +- package.json | 2 +- yarn.lock | 6 +++--- 5 files changed, 6 insertions(+), 8 deletions(-) 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} />