Fixes #952 – Page jump
This commit is contained in:
@@ -7,6 +7,7 @@ RUN mkdir -p $APP_PATH
|
|||||||
|
|
||||||
WORKDIR $APP_PATH
|
WORKDIR $APP_PATH
|
||||||
COPY . $APP_PATH
|
COPY . $APP_PATH
|
||||||
|
|
||||||
RUN yarn install --pure-lockfile
|
RUN yarn install --pure-lockfile
|
||||||
RUN cp -r /opt/outline/node_modules /opt/node_modules
|
RUN cp -r /opt/outline/node_modules /opt/node_modules
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ import Placeholder from 'rich-markdown-editor/lib/components/Placeholder';
|
|||||||
import ClickablePadding from 'components/ClickablePadding';
|
import ClickablePadding from 'components/ClickablePadding';
|
||||||
import plugins from './plugins';
|
import plugins from './plugins';
|
||||||
|
|
||||||
const defaultOptions = { normalize: true };
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
defaultValue?: string,
|
defaultValue?: string,
|
||||||
readOnly?: boolean,
|
readOnly?: boolean,
|
||||||
@@ -38,7 +36,6 @@ class DocumentEditor extends React.Component<Props> {
|
|||||||
<StyledEditor
|
<StyledEditor
|
||||||
ref={ref => (this.editor = ref)}
|
ref={ref => (this.editor = ref)}
|
||||||
plugins={plugins}
|
plugins={plugins}
|
||||||
options={defaultOptions}
|
|
||||||
{...this.props}
|
{...this.props}
|
||||||
/>
|
/>
|
||||||
<ClickablePadding
|
<ClickablePadding
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/opt/outline:cached
|
- .:/opt/outline
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
- redis
|
- redis
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
"react-waypoint": "^7.3.1",
|
"react-waypoint": "^7.3.1",
|
||||||
"redis": "^2.6.2",
|
"redis": "^2.6.2",
|
||||||
"redis-lock": "^0.1.0",
|
"redis-lock": "^0.1.0",
|
||||||
"rich-markdown-editor": "^9.3.0",
|
"rich-markdown-editor": "^9.4.1",
|
||||||
"safestart": "1.1.0",
|
"safestart": "1.1.0",
|
||||||
"sequelize": "4.28.6",
|
"sequelize": "4.28.6",
|
||||||
"sequelize-cli": "^5.4.0",
|
"sequelize-cli": "^5.4.0",
|
||||||
|
|||||||
@@ -7856,9 +7856,9 @@ retry-axios@0.3.2, retry-axios@^0.3.2:
|
|||||||
version "0.3.2"
|
version "0.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/retry-axios/-/retry-axios-0.3.2.tgz#5757c80f585b4cc4c4986aa2ffd47a60c6d35e13"
|
resolved "https://registry.yarnpkg.com/retry-axios/-/retry-axios-0.3.2.tgz#5757c80f585b4cc4c4986aa2ffd47a60c6d35e13"
|
||||||
|
|
||||||
rich-markdown-editor@^9.3.0:
|
rich-markdown-editor@^9.4.1:
|
||||||
version "9.3.0"
|
version "9.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-9.3.0.tgz#f841e37403130354b94e1a4a9aa4eafe1e2f4853"
|
resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-9.4.1.tgz#4f5eb2c549b5e8cc1caa7f81c873232c1b8a1839"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@tommoor/slate-edit-list" "0.19.0-0"
|
"@tommoor/slate-edit-list" "0.19.0-0"
|
||||||
"@wikifactory/slate-edit-blockquote" "^0.7.1"
|
"@wikifactory/slate-edit-blockquote" "^0.7.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user