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 report: setStyle Editor and open Editor Code #358

Open
ALTITUDE-DEV-FR opened this issue Jun 20, 2024 · 2 comments
Open

Bug report: setStyle Editor and open Editor Code #358

ALTITUDE-DEV-FR opened this issue Jun 20, 2024 · 2 comments

Comments

@ALTITUDE-DEV-FR
Copy link

ALTITUDE-DEV-FR commented Jun 20, 2024

Bug report Code Editor/StyleManager

When the user uses the right panel to add a style, it works. However, if the user opens the CodeMirror plugin (code editor), the right style menu becomes unusable and does not apply changes to the selected elements.

How to reproduce the bug:

  1. Select an element on the canvas.
  2. Apply a red background color to the element using the right panel.
  3. Verify that the change is applied to the element.
  4. The user opens the code editor and makes a modification (e.g., adds a line break).
  5. Close the code editor.
  6. Select another element on the canvas.
  7. Attempt to apply a yellow background to this element.
  8. Here, the bug occurs: no changes are applied in the canvas or in the <style id="vvv..> class.

demo : https://www.loom.com/share/4c605e948f1f44db8ff1d75493bd548a

givanz added a commit that referenced this issue Jun 23, 2024
Show server response as message on page save error.
@givanz
Copy link
Owner

givanz commented Jun 23, 2024

Thanks for the bug report, it's fixed in the last commit 63d80f7

@ALTITUDE-DEV-FR
Copy link
Author

Thanks for the bug report, it's fixed in the last commit 63d80f7

Nice, the bug is fixed in my version, the generatecss is now good working with any editors ;)

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

2 participants