Change default font size unit to EM instead of REM.
Yeah, I think you're right, would you like to create a PR?
Read full answer below βQuestion
Now in GrapesJS editor, we have some of font sizes in REM. I think they should be in EM unit because if we want to embed editor in the existing page there may be some issues with proper font size - in case when the parent font size is set to other then default size (ex. :root { font-size: 10px }).
https://i.imgur.com/Vzoa5y9.png
Answers (2)
Yeah, I think you're right, would you like to create a PR?
Yep, sure, I will do it later :)
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2337
[BUG / QUESTION] Deleting default styles does not work
Hello, i'm trying to delete some of the default styles of the blocks. I wrote everything I changed in a plugin. I used this function to upd...
Issue #369
Usage from source failed
I tried to use grapesjs from source by using require('grapesjs/src') to debug both my source and grapesjs. But could not success because of...
Issue #826
[Bug] Element auto generated id not added back after custom id is used and then cleared
Hi, I think there is a bug related to the generation of element id attributes. When modifying element's style the value of the element's id...
Issue #391
Namespace CSS?
Hi there, Is there a way to setup the grapesjs editor such that the CSS generated for the HTML content is namespaced? In other words, how t...
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.