Issue #4744Opened November 23, 2022by ronaldohoch0 reactions

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?

  1. Click on an element
  2. Try to add this css style using the StyleManager Ui: transform:scale(2);
  3. You can't.

What is the expected behavior?

  1. The transform type stack should have or allow the scale and rotate from type stack

What is the current behavior?

  1. The transform type stack don't have scale and rotate properties.

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)

artfDecember 3, 20220 reactions

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.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.