From ae7d9cd37062616aa07763f24ded445c4538b2ec Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Sun, 26 Sep 2021 15:04:53 +0200 Subject: [PATCH] Add reference to component properties in Blocks doc --- docs/modules/Blocks.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/modules/Blocks.md b/docs/modules/Blocks.md index 4a75879bf..617b20164 100644 --- a/docs/modules/Blocks.md +++ b/docs/modules/Blocks.md @@ -150,7 +150,12 @@ editor.Components.addType('cmp-Y', { } }); ``` -Another alternative is to leverage `data-gjs-*` attributes (used by GrapesJS parser) to attach properties to components. +Another alternative is to leverage `data-gjs-*` attributes to attach properties to components. + +::: tip +You can use most of the available [Component properties](/api/component.html#properties). +::: + ```js // -- [Option 1]: Declare type in HTML strings -- {