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.
Issue #3237
Add Trait For wrapper
Hi @artf I've added trait for wrapper this way. How can I perform the init function for the same Here is the code @artf Could you please he...
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...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →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.