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: ID isn't updating after change #5882

Closed
2 tasks done
Riddle1001 opened this issue May 13, 2024 · 0 comments
Closed
2 tasks done

BUG: ID isn't updating after change #5882

Riddle1001 opened this issue May 13, 2024 · 0 comments

Comments

@Riddle1001
Copy link

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome

Reproducible demo link

https://jsfiddle.net/szLp8h4n

Describe the bug

How to reproduce the bug?

  1. Create a block
  2. Click it
  3. Go to the traits tab
  4. Set an new ID
  5. Go to the styles tab
  6. See the ID hasn't changed (under class)

To see the ID you must:

  1. Do the previous steps
  2. unfocus the block (e.g clicking the body)
  3. focus the block

What is the expected behavior?
To have the ID updated without refocusing

What is the current behavior?
Needing to refocus to see the ID change

Code of Conduct

  • I agree to follow this project's Code of Conduct
@artf artf closed this as completed in 099b5cb May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant