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

Changes into new added question onQuestionAdded event generates addition undo transactions #972

Closed
andrewtelnov opened this issue Oct 1, 2020 · 0 comments
Labels
Milestone

Comments

@andrewtelnov
Copy link
Member

If there is a code like this:

  creator.onQuestionAdded.add(function (sender, options) {
    options.question.title = "new title";
  });

then it would require to click two times on "Undo" to remove the question. Changing title will be added as a new undo transaction. If there are several properties changes, then more "Undo" clicks would be required.
The same story with onPageAdded and onPanelAdded events.

@andrewtelnov andrewtelnov added this to the v1.8.7 milestone Oct 1, 2020
andrewtelnov added a commit that referenced this issue Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant