From 075f9b5e4999379d81286798910240db32721036 Mon Sep 17 00:00:00 2001 From: Navid Salehi Date: Tue, 20 Aug 2024 14:02:24 +0330 Subject: [PATCH] Refactor binary numbers to boolean to fix TypeScript type error (#6065) Co-authored-by: Artur Arseniev --- docs/getting-started.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 0f8fb2076..421d8de14 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -295,10 +295,10 @@ const editor = grapesjs.init({ resizable: { maxDim: 350, minDim: 200, - tc: 0, // Top handler - cl: 1, // Left handler - cr: 0, // Right handler - bc: 0, // Bottom handler + tc: false, // Top handler + cl: true, // Left handler + cr: false, // Right handler + bc: false, // Bottom handler // Being a flex child we need to change `flex-basis` property // instead of the `width` (default) keyWidth: 'flex-basis',