Browse Source

Start Canvas module doc

pull/5358/head
Artur Arseniev 3 years ago
parent
commit
a5e7975708
  1. 31
      docs/modules/Canvas.md

31
docs/modules/Canvas.md

@ -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…
Cancel
Save