Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Undo doesn't refresh class on component #5319

Closed
2 tasks done
AFriboulet-ii opened this issue Aug 18, 2023 · 1 comment
Closed
2 tasks done

BUG: Undo doesn't refresh class on component #5319

AFriboulet-ii opened this issue Aug 18, 2023 · 1 comment
Labels

Comments

@AFriboulet-ii
Copy link

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome V116.0.5845.96

Reproducible demo link

https://jsfiddle.net/Adrien_Friboulet/npdkshaf/8/

Describe the bug

Enregistrement.2023-08-18.120609.mp4

How to reproduce the bug?

  1. Open Provided fiddle Here
  2. Drop a component "paragraph"
  3. Select component previously drop and click on the gear in the toolbar
  4. Click on undo button in the top

What is the expected behavior?
Expect to click on the undo button, the previous class set of component are correctly rendered on canvas

What is the current behavior?
On click on the undo button, the previous class set of a component is not correctly rendering on canvas but change in the selector manager

Code of Conduct

  • I agree to follow this project's Code of Conduct
@artf
Copy link
Member

artf commented Aug 25, 2023

Thanks @AFriboulet-ii I will fix it for the next release.

@artf artf added the bug label Aug 25, 2023
@artf artf closed this as completed in b50f6e3 Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants