Skip to content

Bug report: setStyle Editor and open Editor Code #358

Open
@ALTITUDE-DEV-FR

Description

@ALTITUDE-DEV-FR

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions