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:
@ -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>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user