Issue #3123šŸ’¬ AnsweredOpened November 9, 2020by fq-selbach1 reactions

Add 'inline-flex' to display selector in Style Manager

Quick answerby lexoyoā¤ 1

For anyone looking for a solution, I didn't manage to do this by modifying the StyleManager options So here is what I did

Read full answer below ↓

Question

What are you trying to add to GrapesJS? Display style inline-flex. Description: Currently the display selector of the Style Manager has only flex as option but same as block and inline-block it is useful to have inline-flex. When I try to add it manually with this (hack?): I get a result but there are many conditional operators triggered by flex that won't trigger on inline-flex like for example the Style Manager "Flex" section will not appear. Is there an alternative at the latest version? [ ] Yes (descripe the alternative) [x] No Is this related to an issue? [ ] Yes (Give a link to the issu...

Answers (4)

lexoyo• August 18, 2025

For anyone looking for a solution, I didn't manage to do this by modifying the StyleManager options So here is what I did

artf• November 16, 2020

Sorry @fq-selbach but this is something that could be handled via plugins, there is no need to have this logic in the core library

fq-selbach• November 16, 2020

@artf ok, but can you tell me please how I can control the "Flex" category of the Style Manager because the logic of showing/hiding it seems to be hard-coded :-/ I can add 'inline-flex' to the "Display" selector with a plugin ... but it will never show the "Flex" category when its selected. Alterna...

GJSBlock• May 17, 2026

Thanks for reporting this, @fq-selbach. Great question about FEAT: Add 'inline-flex' to display selector in Style Manager. The recommended approach with StyleManager is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listene...

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.