From 1c82e292e0b3a65cb0f0b9d8bb4516b16b294109 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 16 Jun 2021 18:36:21 -0700 Subject: [PATCH] fix: Allow embed of private mindmeister embeds fix: Missing right and bottom border of some embeds --- app/embeds/Mindmeister.js | 5 ++++- app/embeds/components/Frame.js | 18 +++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/app/embeds/Mindmeister.js b/app/embeds/Mindmeister.js index 42c97646..3f2927e8 100644 --- a/app/embeds/Mindmeister.js +++ b/app/embeds/Mindmeister.js @@ -17,7 +17,10 @@ export default class Mindmeister extends React.Component { static ENABLED = [URL_REGEX]; render() { - const chartId = this.props.attrs.matches[4] + this.props.attrs.matches[6]; + const chartId = + this.props.attrs.matches[4] + + (this.props.attrs.matches[5] || "") + + (this.props.attrs.matches[6] || ""); return (