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

How to read current design state without button click? / Update design state on undo with history undo button #360

Open
rainabozhi opened this issue Jul 18, 2023 · 1 comment
Labels
Possible Enhancment A feature might be useful to get added in the editor but not decided yet whether to consider or not

Comments

@rainabozhi
Copy link

Dear team,

what I am trying to achieve is disable the save button in case all made changes get reverted via the historyButtons => undoButton.

To be able to do this, I'll need access to the current design state without additional function calls- similar to how you disable the undo button.

Is there a way to do this?

Best regards,

Reni

@rainabozhi rainabozhi changed the title How to read current design state without button click? How to read current design state without button click? / Update design state on undo with history undo button Jul 18, 2023
@AhmeeedMostafa
Copy link
Collaborator

@rainabozhi not possible unless u access the design state so u should use this getCurrentImgDataFnRef

maybe we would add it as possible enhancement with possibility to consider in the future on planning.

@AhmeeedMostafa AhmeeedMostafa added the Possible Enhancment A feature might be useful to get added in the editor but not decided yet whether to consider or not label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Enhancment A feature might be useful to get added in the editor but not decided yet whether to consider or not
Projects
None yet
Development

No branches or pull requests

2 participants