mirror of https://github.com/artf/grapesjs.git
nocodeframeworkdrag-and-dropsite-buildersite-generatortemplate-builderui-builderweb-builderweb-builder-frameworkwebsite-builderno-codepage-builder
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
335 B
16 lines
335 B
import Component from './Component';
|
|
import { toLowerCase } from 'utils/mixins';
|
|
|
|
export default Component.extend(
|
|
{
|
|
defaults: {
|
|
...Component.prototype.defaults,
|
|
type: 'cell',
|
|
tagName: 'td',
|
|
draggable: ['tr']
|
|
}
|
|
},
|
|
{
|
|
isComponent: el => ['td', 'th'].indexOf(toLowerCase(el.tagName)) >= 0
|
|
}
|
|
);
|
|
|