Skip to content

Commit

Permalink
Fixes #952 – Page jump
Browse files Browse the repository at this point in the history
  • Loading branch information
tommoor committed May 20, 2019
1 parent 8942c7a commit 2db8cdc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions app/scenes/Document/components/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -38,7 +36,6 @@ class DocumentEditor extends React.Component<Props> {
<StyledEditor
ref={ref => (this.editor = ref)}
plugins={plugins}
options={defaultOptions}
{...this.props}
/>
<ClickablePadding
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
ports:
- "3000:3000"
volumes:
- .:/opt/outline:cached
- .:/opt/outline
depends_on:
- postgres
- redis
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"react-waypoint": "^7.3.1",
"redis": "^2.6.2",
"redis-lock": "^0.1.0",
"rich-markdown-editor": "^9.3.0",
"rich-markdown-editor": "^9.4.1",
"safestart": "1.1.0",
"sequelize": "4.28.6",
"sequelize-cli": "^5.4.0",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7856,9 +7856,9 @@ retry-axios@0.3.2, retry-axios@^0.3.2:
version "0.3.2"
resolved "https://registry.yarnpkg.com/retry-axios/-/retry-axios-0.3.2.tgz#5757c80f585b4cc4c4986aa2ffd47a60c6d35e13"

rich-markdown-editor@^9.3.0:
version "9.3.0"
resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-9.3.0.tgz#f841e37403130354b94e1a4a9aa4eafe1e2f4853"
rich-markdown-editor@^9.4.1:
version "9.4.1"
resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-9.4.1.tgz#4f5eb2c549b5e8cc1caa7f81c873232c1b8a1839"
dependencies:
"@tommoor/slate-edit-list" "0.19.0-0"
"@wikifactory/slate-edit-blockquote" "^0.7.1"
Expand Down

0 comments on commit 2db8cdc

Please sign in to comment.