diff --git a/app/components/Editor.js b/app/components/Editor.js index 60ba6f626..562f3c80b 100644 --- a/app/components/Editor.js +++ b/app/components/Editor.js @@ -148,6 +148,7 @@ function Editor(props: PropsWithRef) { hr: t("Divider"), image: t("Image"), imageUploadError: t("Sorry, an error occurred uploading the image"), + imageCaptionPlaceholder: t("Write a caption"), info: t("Info"), infoNotice: t("Info notice"), link: t("Link"), diff --git a/package.json b/package.json index 2c4ebecbb..03514ba56 100644 --- a/package.json +++ b/package.json @@ -143,7 +143,7 @@ "react-window": "^1.8.6", "reakit": "^1.3.8", "regenerator-runtime": "^0.13.7", - "rich-markdown-editor": "^11.16.0", + "rich-markdown-editor": "^11.17.0", "semver": "^7.3.2", "sequelize": "^6.3.4", "sequelize-cli": "^6.2.0", @@ -212,4 +212,4 @@ "js-yaml": "^3.13.1" }, "version": "0.57.0" -} +} \ No newline at end of file diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 463e8cdf9..fefcb0678 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -75,6 +75,7 @@ "Divider": "Divider", "Image": "Image", "Sorry, an error occurred uploading the image": "Sorry, an error occurred uploading the image", + "Write a caption": "Write a caption", "Info": "Info", "Info notice": "Info notice", "Link": "Link", @@ -550,4 +551,4 @@ "{{ time }} ago.": "{{ time }} ago.", "Edit Profile": "Edit Profile", "{{ userName }} hasn’t updated any documents yet.": "{{ userName }} hasn’t updated any documents yet." -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 2c17b0a3a..fb3c4d3bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11566,10 +11566,10 @@ retry-as-promised@^3.2.0: dependencies: any-promise "^1.3.0" -rich-markdown-editor@^11.16.0: - version "11.16.0" - resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.16.0.tgz#7a6831df7b3ce728feff556a0455836ebbaa93b4" - integrity sha512-khZ59Q9TgSSNN37coEu20tdREJHOO7eOBcqaVvXRcXjKipDNqRM5VnPyOkEMmvU4ApiDwpcnxbMCPAfiW6kfZg== +rich-markdown-editor@^11.17.0: + version "11.17.0" + resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.17.0.tgz#9a39f5bd6518de1d0dc6c6ffa352fd3f7f664d96" + integrity sha512-zCl9F7eeR3T5O2tiSU9iNGDOKhYBfTMqwWMPSY4ADjHcxELNkF1wOdKb0lqM8ZOfM63DkPEZy/N7cSifReyqvg== dependencies: copy-to-clipboard "^3.0.8" lodash "^4.17.11"