Issue #2318○ OpenOpened October 8, 2019by navewi0 reactions

How can I translate the StyleManager properties?

待解决问题

No community answers yet. Open the original discussion on GitHub to share your solution.

Question

Hello, I already know this way:

grapesjs.init({ // ... styleManager: { textLayer: 'MyLayer', } })

But i don't want to translate it in the init function if possible.

For the blocks there is the set() function to translate the label for example. Is there something equal to this for the style manager to translate the properties in a plugin file and not in the init function?

Thank you!

Edit: Nevermind, I just found a way, sorry.

Answers (0)

No answers yet.

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.