[QUESTION]: How can I translate the StyleManager properties?
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.
Issue #697
Question: Dropping external element into blocks
Hello, I want to drop external elements ( for example, tree view node) into blocks. Can you please help me out to show a way, how to achiev...
Issue #2770
[QUESTION] Set selected element
Hello, is there a way to select an element after added to the body? When i add a link, i want to open the Component Settings immediately. H...
Issue #1112
[Question]How to add a new event to asset images
Hello, is there a way to add a new event to the AssetImageView, something like 'onRemove'. I overwritten the addAsset function from asset m...
Issue #2404
Question: how to observe children changes in component
Is there an easy way to subscribe/listen to changes in the components/children of my custom component type? Perhaps an event I can subscrib...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.