-
Notifications
You must be signed in to change notification settings - Fork 156
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
Useless Image reload triggered at keyup event, when cache is disabled #500
Comments
Could you please provide a code sandbox or a code snippet? I've tried replicating with the React integration, but I've only found this problem when deleting a selection of text, nothing with keyup events. And this can also be replicated in core TinyMCE, see this TinyMCE fiddle. In which case this would be an issue to do with core and not the React integration. |
@danoaky-tiny I have updated my description, and after some debugging I found out that the bug can be reproduced if:
Just go ahead on that example, paste/insert an image, and start typing in the editor |
Internal ref: INT-3288 |
The problem is there's a required call to If applicable, you could opt to use the editor as an uncontrolled component and call Another solution that could work (depending on your use case) is to have something like a Otherwise this would need to be addressed as a core TinyMCE issue. As it's replicable in a TinyMCE fiddle and in the Angular integration too, see: https://codesandbox.io/p/sandbox/int-3288-539h9p |
For now I just removed codesample plugin, as I don't use it at all |
This issue is stale because it has been open for 30 days with no activity. Respond with a comment or this will be closed in 7 days. |
Not sure what prio has this one, but I think it's still an issue which might need some attention, if possible |
Same bug described as here tinymce/tinymce-angular#138
https://stackblitz.com/edit/vitejs-vite-zwyxe1?file=src%2FApp.tsx
The text was updated successfully, but these errors were encountered: