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.
61 lines
1.2 KiB
61 lines
1.2 KiB
module.exports = {
|
|
stylePrefix: 'comp-',
|
|
|
|
wrapperId: 'wrapper',
|
|
|
|
wrapperName: 'Body',
|
|
|
|
// Default wrapper configuration
|
|
wrapper: {
|
|
removable: false,
|
|
copyable: false,
|
|
draggable: false,
|
|
components: [],
|
|
traits: [],
|
|
stylable: [
|
|
'background',
|
|
'background-color',
|
|
'background-image',
|
|
'background-repeat',
|
|
'background-attachment',
|
|
'background-position',
|
|
'background-size'
|
|
]
|
|
},
|
|
|
|
// Could be used for default components
|
|
components: [],
|
|
|
|
// Class for new image component
|
|
imageCompClass: 'fa fa-picture-o',
|
|
|
|
// Open assets manager on create of image component
|
|
oAssetsOnCreate: true,
|
|
|
|
// Generally, if you don't edit the wrapper in the editor, like
|
|
// custom attributes, you don't need the wrapper stored in your JSON
|
|
// structure, but in case you need it you can use this option.
|
|
// If you have `config.avoidInlineStyle` disabled the wrapper will be stored
|
|
// as we need to store inlined style.
|
|
storeWrapper: 1,
|
|
|
|
// List of void elements
|
|
voidElements: [
|
|
'area',
|
|
'base',
|
|
'br',
|
|
'col',
|
|
'embed',
|
|
'hr',
|
|
'img',
|
|
'input',
|
|
'keygen',
|
|
'link',
|
|
'menuitem',
|
|
'meta',
|
|
'param',
|
|
'source',
|
|
'track',
|
|
'wbr'
|
|
]
|
|
};
|
|
|