diff --git a/docs/modules/Canvas.md b/docs/modules/Canvas.md new file mode 100644 index 000000000..58ef7522b --- /dev/null +++ b/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 \ No newline at end of file