feat: Upgrade RME – includes new page break functionality

This commit is contained in:
Tom Moor 2021-04-27 17:21:45 -07:00
parent 65b4480e93
commit ab2aaf7b7b
3 changed files with 16 additions and 12 deletions

View File

@ -121,6 +121,10 @@ function Editor(props: PropsWithRef) {
deleteColumn: t("Delete column"), deleteColumn: t("Delete column"),
deleteRow: t("Delete row"), deleteRow: t("Delete row"),
deleteTable: t("Delete table"), deleteTable: t("Delete table"),
deleteImage: t("Delete image"),
alignImageLeft: t("Float left"),
alignImageRight: t("Float right"),
alignImageDefault: t("Center large"),
em: t("Italic"), em: t("Italic"),
embedInvalidLink: t("Sorry, that link wont work for this embed type"), embedInvalidLink: t("Sorry, that link wont work for this embed type"),
findOrCreateDoc: `${t("Find or create a doc")}`, findOrCreateDoc: `${t("Find or create a doc")}`,
@ -141,6 +145,7 @@ function Editor(props: PropsWithRef) {
noResults: t("No results"), noResults: t("No results"),
openLink: t("Open link"), openLink: t("Open link"),
orderedList: t("Ordered list"), orderedList: t("Ordered list"),
pageBreak: t("Page break"),
pasteLink: `${t("Paste a link")}`, pasteLink: `${t("Paste a link")}`,
pasteLinkWithTitle: (service: string) => pasteLinkWithTitle: (service: string) =>
t("Paste a {{service}} link…", { service }), t("Paste a {{service}} link…", { service }),

View File

@ -136,7 +136,7 @@
"mobx-react": "^6.2.5", "mobx-react": "^6.2.5",
"natural-sort": "^1.0.0", "natural-sort": "^1.0.0",
"nodemailer": "^4.4.0", "nodemailer": "^4.4.0",
"outline-icons": "^1.25.1", "outline-icons": "^1.27.0",
"oy-vey": "^0.10.0", "oy-vey": "^0.10.0",
"passport": "^0.4.1", "passport": "^0.4.1",
"passport-google-oauth2": "^0.2.0", "passport-google-oauth2": "^0.2.0",
@ -166,7 +166,7 @@
"react-window": "^1.8.6", "react-window": "^1.8.6",
"reakit": "^1.3.6", "reakit": "^1.3.6",
"regenerator-runtime": "^0.13.7", "regenerator-runtime": "^0.13.7",
"rich-markdown-editor": "^11.6.7", "rich-markdown-editor": "^11.7.0",
"semver": "^7.3.2", "semver": "^7.3.2",
"sequelize": "^6.3.4", "sequelize": "^6.3.4",
"sequelize-cli": "^6.2.0", "sequelize-cli": "^6.2.0",
@ -225,7 +225,6 @@
"workbox-webpack-plugin": "^6.1.0" "workbox-webpack-plugin": "^6.1.0"
}, },
"resolutions": { "resolutions": {
"outline-icons": "1.25.1",
"dot-prop": "^5.2.0", "dot-prop": "^5.2.0",
"js-yaml": "^3.13.1" "js-yaml": "^3.13.1"
}, },

View File

@ -9543,10 +9543,10 @@ os-name@^3.1.0:
macos-release "^2.2.0" macos-release "^2.2.0"
windows-release "^3.1.0" windows-release "^3.1.0"
outline-icons@1.25.1, outline-icons@^1.25.1, outline-icons@^1.25.1-1: outline-icons@^1.26.1, outline-icons@^1.27.0:
version "1.25.1" version "1.27.0"
resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-1.25.1.tgz#9c935aeb2ff0c38ca02a007a18fc271c77a1185c" resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-1.27.0.tgz#0d923a0b81fe2f3eac1ee5ffe9617158d41e4c29"
integrity sha512-zmMgW5gnuf7ujkyiC4T4PF3cgb/x4LRGQcs9+MvXyHsuMFJfBgCyKKP8QcKfBRG/tXVeng3h2eMQr9EJcg0SNA== integrity sha512-YGm0IjCGO3+dduESI4aU/VMmu5uVJwsbStGn6+fRVZLryv2HEFcfofgF93AvPnc8AdFgF9xwzyYisnzpLjhPbA==
oy-vey@^0.10.0: oy-vey@^0.10.0:
version "0.10.0" version "0.10.0"
@ -11291,15 +11291,15 @@ retry-as-promised@^3.2.0:
dependencies: dependencies:
any-promise "^1.3.0" any-promise "^1.3.0"
rich-markdown-editor@^11.6.7: rich-markdown-editor@^11.7.0:
version "11.6.7" version "11.7.0"
resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.6.7.tgz#8860a8acae05e7e9e27c7c10f49c71a382df44df" resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.7.0.tgz#dd2856a3e8407cc1026c93b7ee5dd633297b6d71"
integrity sha512-0u7DUD6xFhPh7r2I2LEHNYtL3opiRmZvIXLxGf1vLx1BBjZdYqKDAMeGEv2LLp1LlKZKrdb/Kbx9je5wkIDGpA== integrity sha512-V51xWjNmRDCRxcLz2/+swKG2CKRHWvHdlDi9Xlu49WwTXV12OfX1VwRWqle2It59AgGZdyVQoWQ9j8SFpzEjXQ==
dependencies: dependencies:
copy-to-clipboard "^3.0.8" copy-to-clipboard "^3.0.8"
lodash "^4.17.11" lodash "^4.17.11"
markdown-it-container "^3.0.0" markdown-it-container "^3.0.0"
outline-icons "^1.25.1-1" outline-icons "^1.26.1"
prosemirror-commands "^1.1.6" prosemirror-commands "^1.1.6"
prosemirror-dropcursor "^1.3.3" prosemirror-dropcursor "^1.3.3"
prosemirror-gapcursor "^1.1.5" prosemirror-gapcursor "^1.1.5"