diff --git a/app/components/Editor.js b/app/components/Editor.js index 37d01c5f..12bde581 100644 --- a/app/components/Editor.js +++ b/app/components/Editor.js @@ -121,6 +121,10 @@ function Editor(props: PropsWithRef) { deleteColumn: t("Delete column"), deleteRow: t("Delete row"), deleteTable: t("Delete table"), + deleteImage: t("Delete image"), + alignImageLeft: t("Float left"), + alignImageRight: t("Float right"), + alignImageDefault: t("Center large"), em: t("Italic"), embedInvalidLink: t("Sorry, that link won’t work for this embed type"), findOrCreateDoc: `${t("Find or create a doc")}…`, @@ -141,6 +145,7 @@ function Editor(props: PropsWithRef) { noResults: t("No results"), openLink: t("Open link"), orderedList: t("Ordered list"), + pageBreak: t("Page break"), pasteLink: `${t("Paste a link")}…`, pasteLinkWithTitle: (service: string) => t("Paste a {{service}} link…", { service }), diff --git a/package.json b/package.json index 7e222ebe..c5698943 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "mobx-react": "^6.2.5", "natural-sort": "^1.0.0", "nodemailer": "^4.4.0", - "outline-icons": "^1.25.1", + "outline-icons": "^1.27.0", "oy-vey": "^0.10.0", "passport": "^0.4.1", "passport-google-oauth2": "^0.2.0", @@ -166,7 +166,7 @@ "react-window": "^1.8.6", "reakit": "^1.3.6", "regenerator-runtime": "^0.13.7", - "rich-markdown-editor": "^11.6.7", + "rich-markdown-editor": "^11.7.0", "semver": "^7.3.2", "sequelize": "^6.3.4", "sequelize-cli": "^6.2.0", @@ -225,7 +225,6 @@ "workbox-webpack-plugin": "^6.1.0" }, "resolutions": { - "outline-icons": "1.25.1", "dot-prop": "^5.2.0", "js-yaml": "^3.13.1" }, diff --git a/yarn.lock b/yarn.lock index 52c3c796..1fb56a3f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9543,10 +9543,10 @@ os-name@^3.1.0: macos-release "^2.2.0" windows-release "^3.1.0" -outline-icons@1.25.1, outline-icons@^1.25.1, outline-icons@^1.25.1-1: - version "1.25.1" - resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-1.25.1.tgz#9c935aeb2ff0c38ca02a007a18fc271c77a1185c" - integrity sha512-zmMgW5gnuf7ujkyiC4T4PF3cgb/x4LRGQcs9+MvXyHsuMFJfBgCyKKP8QcKfBRG/tXVeng3h2eMQr9EJcg0SNA== +outline-icons@^1.26.1, outline-icons@^1.27.0: + version "1.27.0" + resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-1.27.0.tgz#0d923a0b81fe2f3eac1ee5ffe9617158d41e4c29" + integrity sha512-YGm0IjCGO3+dduESI4aU/VMmu5uVJwsbStGn6+fRVZLryv2HEFcfofgF93AvPnc8AdFgF9xwzyYisnzpLjhPbA== oy-vey@^0.10.0: version "0.10.0" @@ -11291,15 +11291,15 @@ retry-as-promised@^3.2.0: dependencies: any-promise "^1.3.0" -rich-markdown-editor@^11.6.7: - version "11.6.7" - resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.6.7.tgz#8860a8acae05e7e9e27c7c10f49c71a382df44df" - integrity sha512-0u7DUD6xFhPh7r2I2LEHNYtL3opiRmZvIXLxGf1vLx1BBjZdYqKDAMeGEv2LLp1LlKZKrdb/Kbx9je5wkIDGpA== +rich-markdown-editor@^11.7.0: + version "11.7.0" + resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.7.0.tgz#dd2856a3e8407cc1026c93b7ee5dd633297b6d71" + integrity sha512-V51xWjNmRDCRxcLz2/+swKG2CKRHWvHdlDi9Xlu49WwTXV12OfX1VwRWqle2It59AgGZdyVQoWQ9j8SFpzEjXQ== dependencies: copy-to-clipboard "^3.0.8" lodash "^4.17.11" markdown-it-container "^3.0.0" - outline-icons "^1.25.1-1" + outline-icons "^1.26.1" prosemirror-commands "^1.1.6" prosemirror-dropcursor "^1.3.3" prosemirror-gapcursor "^1.1.5"