[Bug] Change default font size unit to EM instead of REM.
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 #4006
Background color automatically changes to black
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://grap...
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...
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.