diff --git a/src/plugins/schema.js b/src/plugins/schema.js index e70cdb480..b0c96937a 100644 --- a/src/plugins/schema.js +++ b/src/plugins/schema.js @@ -137,7 +137,6 @@ const INLINE_VOID_TEXT_RULE = { const INLINE_VOID_TEXTS_AROUND_RULE = { match: (object) => { return object.kind == 'block' - return object.kind == 'block' || object.kind == 'inline' }, validate: (block) => { const invalids = block.nodes.reduce((accu, child, index) => {