From eaf2e50af881d0bfcf4c3fb099b847da1b15ac66 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 22 May 2021 17:17:46 -0700 Subject: [PATCH] feat: Add 'download image' button feat: Enable Enter+Shift shortcut in blockquotes fix: Improve behavior of caret around inline code marks fix: Disallow pasting embeds in table cells --- app/components/Editor.js | 1 + package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/components/Editor.js b/app/components/Editor.js index 5a7008aa1..7eb7aef8e 100644 --- a/app/components/Editor.js +++ b/app/components/Editor.js @@ -127,6 +127,7 @@ function Editor(props: PropsWithRef) { deleteRow: t("Delete row"), deleteTable: t("Delete table"), deleteImage: t("Delete image"), + downloadImage: t("Download image"), alignImageLeft: t("Float left"), alignImageRight: t("Float right"), alignImageDefault: t("Center large"), diff --git a/package.json b/package.json index de8489c5c..fb20cbae3 100644 --- a/package.json +++ b/package.json @@ -168,7 +168,7 @@ "react-window": "^1.8.6", "reakit": "^1.3.6", "regenerator-runtime": "^0.13.7", - "rich-markdown-editor": "^11.8.2", + "rich-markdown-editor": "^11.9.0", "semver": "^7.3.2", "sequelize": "^6.3.4", "sequelize-cli": "^6.2.0", diff --git a/yarn.lock b/yarn.lock index f1df85039..e5cba10f2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11316,10 +11316,10 @@ retry-as-promised@^3.2.0: dependencies: any-promise "^1.3.0" -rich-markdown-editor@^11.8.2: - version "11.8.2" - resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.8.2.tgz#29f270e9daf2b9eaf301b3752bcf43c3ebcead82" - integrity sha512-ZavgYVTEKxiRd9XJc4DiUzFm6ksnlxfWX5L264bFRbAxnXvbfAhENhMtWW+k12YFzIRni9TXiqfmlBFaDXsZEQ== +rich-markdown-editor@^11.9.0: + version "11.9.0" + resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.9.0.tgz#bd89d851abfc15d42c26d6cb969debed7572cba0" + integrity sha512-KT9TYo0Evy62BHvtML+uYOqdSahpC5BgkW2qkIcPpzuhzjDeRhv6V69Sdncaoy8vsaaxCH08wtu3psf07IbMNQ== dependencies: copy-to-clipboard "^3.0.8" lodash "^4.17.11"