diff --git a/app/javascript/src/utils/tinymce.js b/app/javascript/src/utils/tinymce.js index de778da215..c1112b1a35 100644 --- a/app/javascript/src/utils/tinymce.js +++ b/app/javascript/src/utils/tinymce.js @@ -25,6 +25,7 @@ import { isObject, isString, isUndefined } from './isType'; // // https://www.tinymce.com/docs/advanced/usage-with-module-loaders/ export const defaultOptions = { selector: '.tinymce', + license_key: 'gpl', statusbar: true, menubar: false, toolbar: 'bold italic | bullist numlist | link | table', diff --git a/package.json b/package.json index d324b338bf..3b635c66ef 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "regenerator-runtime": "^0.13.5", "sass": "^1.57.1", "timeago.js": "^4.0.2", - "tinymce": "^6.4.1", + "tinymce": "^7.0.0", "webpack": "^5.75.0", "webpack-cli": "^5.0.1" }, diff --git a/yarn.lock b/yarn.lock index acd64fd474..ec275d6916 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4060,10 +4060,10 @@ timeago.js@^4.0.2: resolved "https://registry.yarnpkg.com/timeago.js/-/timeago.js-4.0.2.tgz#724e8c8833e3490676c7bb0a75f5daf20e558028" integrity sha512-a7wPxPdVlQL7lqvitHGGRsofhdwtkoSXPGATFuSOA2i1ZNQEPLrGnj68vOp2sOJTCFAQVXPeNMX/GctBaO9L2w== -tinymce@^6.4.1: - version "6.8.3" - resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-6.8.3.tgz#0025a4aaa4c24dc2a3e32e83dfda705d196fd802" - integrity sha512-3fCHKAeqT+xNwBVESf6iDbDV0VNwZNmfrkx9c/6Gz5iB8piMfaO6s7FvoiTrj1hf1gVbfyLTnz1DooI6DhgINQ== +tinymce@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-7.0.0.tgz#d35441e15f8011cf549b39e58b64648798816e92" + integrity sha512-ggXLfTRrUALAcjeJSRrZcJDOl6MgC2tPXe/zNOEkQXvTDgcKqFypPRoPpfpK5wejexjyaI/7dwETOntJ5MPBFg== tmp@^0.2.1: version "0.2.3"