Issue #2857💬 AnsweredOpened June 25, 2020by makkaronis4e0 reactions

"showComputed: false" strange behavior

Quick answerby artf

Steps to reproduce, please?

Read full answer below ↓

Question

Hi, i want to use showComputed: false, to prevent from counting right/left/top/bottom for position absolute. But when i'm initializing grapesjs with this parameter, style manager doesnt show css-prop values for tablet/mobile screen size:

image

you can check it here https://codepen.io/makkaronis4e/pen/PoZjaXJ

Answers (3)

artfJune 26, 2020

Steps to reproduce, please?

makkaronis4eJune 26, 2020
  1. Drop some element on canvas
  2. Add some styles (for example background color)
  3. Switch to tablet/mobile view
  4. check style prop value in style manager (it will be default).
artfJuly 5, 2020

Ah ok, now I get it. Unfortunately, to show a style of a different view is part of the showComputed feature, so disabling it is what you get.

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.