Issue #3335πŸ’¬ AnsweredOpened March 11, 2021by zachsnoek0 reactions

Creating trait with Style Manager property UI

Quick answerby artf

Unfortunately, it's not yet possible, but there is a plan to add soon a new UI module that should allow the reuse of UI elements

Read full answer below ↓

Question

I have a component using the background-url Style Manager property: I would like to reuse this UI that is shown in the Style Manager for a background URL trait that shows up under "Settings": Is it possible to make a Style Manager property behave like a trait and show up in the "Settings" section, or would I have to create a new trait with this UI? Thanks.

Answers (3)

artfβ€’ March 12, 2021

Unfortunately, it's not yet possible, but there is a plan to add soon a new UI module that should allow the reuse of UI elements

zachsnoekβ€’ March 12, 2021

:+1: Thank you!

GJSBlockβ€’ May 17, 2026

Thanks for reporting this, @zachsnoek. Great question about Creating trait with Style Manager property UI. 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 listener method Most op...

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.