forked from ard/ruoyi-api

‘liusuyi’
2023-08-07 167d184121945c0d6098b92fcaeec5e3c8fd4fa3
1
2
3
4
5
6
7
8
9
var { isNodeChildrenList } = require('./utils');
 
module.exports = function cleanRaw(node, item, list) {
    // raw in stylesheet or block children
    if (isNodeChildrenList(this.stylesheet, list) ||
        isNodeChildrenList(this.block, list)) {
        list.remove(item);
    }
};