vaadin / copilot

0 stars 0 forks source link

Undo does not work when copy & pasting Figma design components into a Flow view #22

Open vesanieminen opened 2 weeks ago

vesanieminen commented 2 weeks ago

Description of the Bug

Copy & pasting a simple component into a Flow view and pressing undo in the browser does not work. The component copy & paste works ok but undo does not do anything.

Expected Behavior

Undo should work the same way as it does via the IDE.

Minimal Reproducible Example

Create a new project that has an empty view in start.vaadin.com. Enable the feature flags for Flow support and Figma copy & paste:

# Support for editing Flow views with Copilot
com.vaadin.experimental.copilotFlow=true
# Copilot experimental features
com.vaadin.experimental.copilotExperimentalFeatures=true

Versions