[Question] Swap default factories
Question
Hello, I'm using GrapesJs to template HTML for printing so I need the measurements in mm. Is there a way to swap the default factory in the StyleManager? maybe pass it in the options?
Thanks, Antonio
Answers (1)
No, you can't, you just need to configure your properties in the StyleManager configuration (example configuration can be found here)
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3268
QUESTION: How to add javascript in the html without sanitization?
Hey @artf, I am taking javascript input from the user. I need to add this javascript inside the template HTML but it gets sanitized. Is the...
Issue #2933
QUESTION: Is there a way to listen to class name changes
I have created a added a component to the "view". I want to show this component only in view (and not add to model/html thus added to the v...
Issue #2787
[QUESTION] Replace all of HTML
Hello there, I am trying to use GrapesJS for template customization for my end users, but ran in the following problem: There is no documen...
Issue #1167
[QUESTION] export options
Hi @artf, Are there any other export options than HTML/CSS ? I'm thinking of a way to directly load the configuration from a remote server...
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.