Upgrade Editor – Slate 0.44 / RME 8.0.0 (#863)

* Upgrade Slate

* Normalization

* Remove dupe dep

* Fixes placeholders

* Image uploading fixed

* Verbose but solid placeholder handling

* RME 8.0.0

* Fixes: Ability to delete embeds
This commit is contained in:
Tom Moor
2019-01-18 22:44:31 -08:00
committed by GitHub
parent 0be5aef1c6
commit d21dd710bb
11 changed files with 185 additions and 306 deletions

View File

@ -26,7 +26,7 @@ export default class Embed extends React.Component<*> {
const result = this.matches;
if (!result) return null;
const { attributes, isSelected } = this.props;
const { attributes, isSelected, children } = this.props;
const { component, matches } = result;
const EmbedComponent = component;
@ -37,6 +37,7 @@ export default class Embed extends React.Component<*> {
{...attributes}
>
<EmbedComponent matches={matches} url={this.url} />
{children}
</Container>
);
}