提交 4800a03d 编写于 作者: fxy060608's avatar fxy060608

fix(v3): remove block's content (renderjs)

上级 5113bc0a
...@@ -34,7 +34,9 @@ module.exports = function parseCustomBlocks(descriptor, options) { ...@@ -34,7 +34,9 @@ module.exports = function parseCustomBlocks(descriptor, options) {
) )
) { ) {
descriptor.renderjs = block descriptor.renderjs = block
modules[block.attrs.module] = block modules[block.attrs.module] = Object.assign({}, block, {
content: ''
})
} }
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册