From b929fb2bd35575eba4301eaae9461494e9153b89 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 7 Jun 2018 22:26:53 -0700 Subject: [PATCH] Fixes TOC --- app/scenes/Document/Document.js | 1 + package.json | 2 +- yarn.lock | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/scenes/Document/Document.js b/app/scenes/Document/Document.js index 1d5120f20..960c8d08c 100644 --- a/app/scenes/Document/Document.js +++ b/app/scenes/Document/Document.js @@ -289,6 +289,7 @@ class DocumentScene extends React.Component { onSave={this.onSave} onCancel={this.onDiscard} readOnly={!this.isEditing} + toc /> {document && diff --git a/package.json b/package.json index cff1d11f1..4280a5ca6 100644 --- a/package.json +++ b/package.json @@ -157,7 +157,7 @@ "react-waypoint": "^7.3.1", "redis": "^2.6.2", "redis-lock": "^0.1.0", - "rich-markdown-editor": "1.1.4-pre.1", + "rich-markdown-editor": "1.2.0", "safestart": "1.1.0", "sequelize": "4.28.6", "sequelize-cli": "^2.7.0", diff --git a/yarn.lock b/yarn.lock index 93a6da805..b3b80f468 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8824,9 +8824,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@1.1.4-pre.1: - version "1.1.4-pre.1" - resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-1.1.4-pre.1.tgz#cdb05cc10df6b5ef812e04df1f5d62f6d1eca76b" +rich-markdown-editor@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-1.2.0.tgz#a04b7e8e9eb8d40b47cf7fa5bede27369779eab2" dependencies: "@tommoor/slate-drop-or-paste-images" "^0.8.1" boundless-arrow-key-navigation "^1.1.0"