提交 e620459e 编写于 作者: H hancong03

更新chart的输出过滤

上级 bfc6185c
......@@ -58,6 +58,26 @@ UE.plugin.register('charts', function (){
}
}
},
inputRule:function(root){
utils.each(root.getNodesByTagName('table'),function( tableNode ){
if ( tableNode.getAttr("data-chart") !== undefined ) {
tableNode.setAttr("style");
}
})
},
outputRule:function(root){
utils.each(root.getNodesByTagName('table'),function( tableNode ){
if ( tableNode.getAttr("data-chart") !== undefined ) {
tableNode.setAttr("style", "display: none;");
}
})
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册