Issue #1914πŸ’¬ AnsweredOpened March 22, 2019by lyczos0 reactions

Change default font size unit to EM instead of REM.

Quick answerby artf

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)

artfβ€’ March 24, 2019

Yeah, I think you're right, would you like to create a PR?

lyczosβ€’ March 25, 2019

Yep, sure, I will do it later :)

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

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.