Style manager slider min value bug
@starcraft0429, could you provide us a code example? I have tried to simulate it but without success.
Read full answer below ↓Question
when I set slider to 0 (min value) the slider return -1 value and this style property is ingored completely since it is not valid css. for example border-width: -1px !important
I found the code why this happens only min value. in the style manager slider view code
when slider value not min value, this works well. but if value is set to minimum(for example 0), second model.set didn't work and it break the real value.
Isn't possible set value standard without -1 and +1?
for short fix, how can I extend this function?
Answers (3)
@starcraft0429, could you provide us a code example? I have tried to simulate it but without success.
@artf Be our hero ;)
Guys, it's really important to follow the ISSUE template, I don't even know which version do you use! Can you create a reproducible demo because I don't understand how to reproduce it
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2843
[BUG] Can't remove style property on selected device
Hi, have a problem with removing style property on selected device (clearProperties: true). You can reproduce the problem on https://grapes...
Issue #1366
[BUG] Duplicating CSS
On newest version of Grapesjs. I can replicate bug on both. Linux Ubuntoo, Moxilla. I expect that the css only shows up once, otherwise it'...
Issue #1245
How to set slider in margin-top property
Hi @artf, Can you please let me know how we can set the slider in margin-top property.I am setting with the below code but slider is moving...
Issue #2661
[BUG] toggleStateCls returns js error
Hi there, guys. I found a bug at the LayerManager: I've got an html comment as a layer in the LM. I click the comment. I get an error at th...
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.