From 4f4067c449a367eb6c02953ee6e91f24748b99ef Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 5 May 2021 20:09:37 -0700 Subject: [PATCH] fix: Upgrade RME, fixes image flicked post-upload in editor --- package.json | 2 +- shared/styles/theme.js | 3 +++ yarn.lock | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 923e977f4..2b2026941 100644 --- a/package.json +++ b/package.json @@ -166,7 +166,7 @@ "react-window": "^1.8.6", "reakit": "^1.3.6", "regenerator-runtime": "^0.13.7", - "rich-markdown-editor": "^11.7.0", + "rich-markdown-editor": "^11.8.0", "semver": "^7.3.2", "sequelize": "^6.3.4", "sequelize-cli": "^6.2.0", diff --git a/shared/styles/theme.js b/shared/styles/theme.js index d1b4bc302..f6c820fa5 100644 --- a/shared/styles/theme.js +++ b/shared/styles/theme.js @@ -91,8 +91,11 @@ export const base = { blockToolbarTriggerIcon: colors.white, blockToolbarItem: colors.almostBlack, blockToolbarText: colors.almostBlack, + blockToolbarTextSelected: colors.black, blockToolbarHoverBackground: colors.slateLight, blockToolbarDivider: colors.slateLight, + blockToolbarIcon: undefined, + blockToolbarIconSelected: colors.black, noticeTipBackground: colors.brand.purple, noticeTipText: colors.white, diff --git a/yarn.lock b/yarn.lock index 2bbf31717..cf73955de 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11291,10 +11291,10 @@ retry-as-promised@^3.2.0: dependencies: any-promise "^1.3.0" -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== +rich-markdown-editor@^11.8.0: + version "11.8.0" + resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.8.0.tgz#ebacd03213065db4b27e1d11edebc7834fa805fd" + integrity sha512-HaI/d6VW6JOcBuhGPbWXzJ9FyjQ0UbXh2XZCFdxzS/onzqCdUhoVSi1xOJNiXOhcidXK9/7nDUu6VLNeWqYYaw== dependencies: copy-to-clipboard "^3.0.8" lodash "^4.17.11"