grapesjs_codeapps
Version:
Free and Open Source Web Builder Framework/SC Modification
23 lines (19 loc) • 392 B
JavaScript
const ComponentTableBody = require('./ComponentTableBody');
module.exports = ComponentTableBody.extend(
{
defaults: {
...ComponentTableBody.prototype.defaults,
type: 'tfoot',
tagName: 'tfoot'
}
},
{
isComponent(el) {
let result = '';
if (el.tagName == 'TFOOT') {
result = { type: 'tfoot' };
}
return result;
}
}
);