BUG: Resizer onEnd callback should include the resizer and el object similar to onStart
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Any
Reproducible demo link
See screenshot for code
Describe the bug
Is there anything preventing us from adding the resizer and el in the onEnd callback? Since we are reusing the resizer instance (unless forceNew). I would like to have to clean up the resizer state at the end of resizing
onStart
https://github.com/artf/grapesjs/blob/dev/src/utils/Resizer.js#L295

onEnd
https://github.com/artf/grapesjs/blob/dev/src/utils/Resizer.js#L343

Happy to create a PR for this. Just want to verify this is an acceptable behavior beforehand
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (1)
Sure, I'll add it, thanks for the suggestion.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4912
BUG: broken links in the docs
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? any Reproducible demo link no Describe the...
Issue #4335
BUG: No way to upload background video component in the editor , Please suggest if there is any way to upload background video
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v9 Reproducible demo link Not there...
Issue #6152
BUG: CSS added via custom code persists after custom code component is removed
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? any Reproducible demo link https://grapesj...
Issue #4503
BUG: Missing inline styles used by CKEditor when adding raw html components
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chromium v96 Reproducible demo link https:...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.