BUG: Transform scale and rotate don't work properly.
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Brave last version
Reproducible demo link
https://jsfiddle.net/ptzavm1b/
Describe the bug
How to reproduce the bug?
- Click on an element
- Try to add this css style using the StyleManager Ui:
transform:scale(2); - You can't.
What is the expected behavior?
- The transform type stack should have or allow the
scaleandrotatefrom type stack
What is the current behavior?
- The transform type stack don't have
scaleandrotateproperties.
Code of Conduct
- I agree to follow this project's Code of Conduct
This is what i want to achieve with styleManager Ui: https://jsfiddle.net/mr31jkhb/1/ (Hover the button)
Answers (1)
You should already be able to achieve the same effect with the default transform property, your custom one is not complete.
Try to reference the complete configuration here. In case you want to update properties, you should be able to extend the default built-in one by using getBuiltIn and addBuiltIn APIs
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4310
BUG: Style Manager is inaccurate when using combined CSS selectors which contains "bout" and componentFirst = true
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 100 Reproducible demo link https://...
Issue #4208
BUG: Style click state bug in every element
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Brave Last, tested on chrome last and Safa...
Issue #4350
BUG: Style Manager don't update background when component is selected
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Brave Browser V1.39.111 Reproducible demo...
Issue #4097
BUG: mousePosFetcher in resizer config & change:style listener not working
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Brave V1.34.81 Reproducible demo link http...
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.