mirror of https://github.com/artf/grapesjs.git
2 changed files with 20 additions and 10 deletions
@ -0,0 +1,19 @@ |
|||||
|
export interface UndoManagerConfig { |
||||
|
/** |
||||
|
* Maximum number of undo items. |
||||
|
* @default 500 |
||||
|
*/ |
||||
|
maximumStackLength?: number; |
||||
|
/** |
||||
|
* Track component selection. |
||||
|
* @default true |
||||
|
*/ |
||||
|
trackSelection?: boolean; |
||||
|
} |
||||
|
|
||||
|
const config: UndoManagerConfig = { |
||||
|
maximumStackLength: 500, |
||||
|
trackSelection: true, |
||||
|
}; |
||||
|
|
||||
|
export default config; |
||||
Loading…
Reference in new issue