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

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

上级 5113bc0a
......@@ -33,8 +33,10 @@ module.exports = function parseCustomBlocks(descriptor, options) {
block.attrs.lang === 'renderjs'
)
) {
descriptor.renderjs = block
modules[block.attrs.module] = block
descriptor.renderjs = 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.
先完成此消息的编辑!
想要评论请 注册