mirror of https://github.com/artf/grapesjs.git
2 changed files with 24 additions and 10 deletions
@ -1,10 +0,0 @@ |
|||
export default { |
|||
stylePrefix: 'trt-', |
|||
|
|||
// Specify the element to use as a container, string (query) or HTMLElement
|
|||
// With the empty value, nothing will be rendered
|
|||
appendTo: '', |
|||
|
|||
// Default options for the target input
|
|||
optionsTarget: [{ value: false }, { value: '_blank' }], |
|||
}; |
|||
@ -0,0 +1,24 @@ |
|||
export interface TraitManagerConfig { |
|||
/** |
|||
* Style prefix. |
|||
* @default 'trt-' |
|||
*/ |
|||
stylePrefix?: string; |
|||
|
|||
/** |
|||
* Specify the element to use as a container, string (query) or HTMLElement. |
|||
* With the empty value, nothing will be rendered. |
|||
* @default '' |
|||
*/ |
|||
appendTo?: string | HTMLElement; |
|||
|
|||
optionsTarget: Record<string, any>[]; |
|||
} |
|||
|
|||
const config: TraitManagerConfig = { |
|||
stylePrefix: 'trt-', |
|||
appendTo: '', |
|||
optionsTarget: [{ value: false }, { value: '_blank' }], |
|||
}; |
|||
|
|||
export default config; |
|||
Loading…
Reference in new issue