diff --git a/docs/modules/Canvas.md b/docs/modules/Canvas.md index 5463ae468..9acbdf240 100644 --- a/docs/modules/Canvas.md +++ b/docs/modules/Canvas.md @@ -4,8 +4,9 @@ title: Canvas # Canvas -> [!WARNING] -> The documentation of this module is still a work in progress. +::: danger WIP +The documentation of this module is still a work in progress. +::: ::: warning This guide is referring to GrapesJS v0.21.5 or higher diff --git a/src/canvas/config/config.ts b/src/canvas/config/config.ts index 756c7039f..a33d0af09 100644 --- a/src/canvas/config/config.ts +++ b/src/canvas/config/config.ts @@ -74,6 +74,8 @@ export interface CanvasConfig { /** * Disable the rendering of built-in canvas spots. + * + * Read here for more information about [Canvas Spots](https://grapesjs.com/docs/modules/Canvas.html#canvas-spots). * @example * // Disable only the hover type spot * customSpots: { hover: true }, diff --git a/src/canvas/model/CanvasSpot.ts b/src/canvas/model/CanvasSpot.ts index 2009a40ef..96c18e57e 100644 --- a/src/canvas/model/CanvasSpot.ts +++ b/src/canvas/model/CanvasSpot.ts @@ -49,7 +49,7 @@ export interface CanvasSpotProps exte * Canvas spots are elements drawn on top of the canvas. They can be used to represent anything you * might need but the most common use case of canvas spots is rendering information and managing * components rendered in the canvas. - * Read here for more information about [Canvas Spots](https://github.com/GrapesJS/grapesjs/blob/dev/docs/modules/Canvas.md#canvas-spots) + * Read here for more information about [Canvas Spots](https://grapesjs.com/docs/modules/Canvas.html#canvas-spots) * * [Component]: component.html *