Issue #5164๐Ÿ’ฌ AnsweredOpened Jun 6, 2023by shomeel0 reactions

By default components are created using table in my demo project but the demo uses flex property to create components

Quick answerby artf

https://github.com/GrapesJS/grapesjs/discussions/5163#discussioncomment-6162516

Read full answer below โ†“

Question

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 112.0.5615.49 (Official Build) (x86_64) Reproducible demo link https://jsfiddle.net/shomeelconovo/k7L2rthg/1/ Describe the bug I need help with something regarding the grapes.js. I have created a project and whenever I put a component in Canvas, every component has display : table property by default. However I have tried in grapes.js official demo, and every element has display : flex by default in their demo. What could be the issue and why the local project has different properties by d...

Answers (2)

GJS Helperโ€ข May 17, 2026

The difference in default display properties between your GrapesJS project and the official demo stems from the CSS loaded within the GrapesJS canvas iframe, not from GrapesJS itself enforcing display: table or display: flex universally. GrapesJS provides a clean slate, and the final rendering depe...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins โ†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features โ€” save days of integration work.

Browse premium plugins โ†’

Related tutorials

In-depth guides on the same topic.

All tutorials โ†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.