mirror of https://github.com/artf/grapesjs.git
1 changed files with 31 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||
--- |
|||
title: Canvas |
|||
--- |
|||
|
|||
# Canvas |
|||
|
|||
> [!WARNING] |
|||
> The documentation of this module is still a work in progress. |
|||
|
|||
::: warning |
|||
This guide is referring to GrapesJS v0.21.5 or higher |
|||
::: |
|||
|
|||
|
|||
## Configuration |
|||
|
|||
To change the default configurations you have to pass the `canvas` property with the main configuration object. |
|||
|
|||
```js |
|||
const editor = grapesjs.init({ |
|||
... |
|||
canvas: { |
|||
... |
|||
} |
|||
}); |
|||
``` |
|||
|
|||
Check the full list of available options here: [Canvas Config](https://github.com/GrapesJS/grapesjs/blob/master/src/canvas/config/config.ts) |
|||
|
|||
|
|||
## Canvas Spots |
|||
Loading…
Reference in new issue