Skip to content

Conversation

thet
Copy link
Member

@thet thet commented Sep 9, 2025

Remove core/remove and core/url and it's usage in pat-slides. core/url wasn't used at all and core/remove did invoke the event to invoke clean-up routines.

But core/remove did that by patching the internal cleanData jQuery API. This resulted in an infinite recursion error in combination with pat-tiptap from Mockup.

pat-slides is currently not in a working state, so the removal is OK. Anyways, this triggers the question how to handle Pattern cleanup in the future. The answer is in a mutation observer on document level, but this will be part of a future release.

Remove core/remove and core/url and it's usage in pat-slides.
core/url can nowadays be replaced by the URL interface from the web API.
core/remove did invoke the destroy event to invoke clean-up routines.

core/remove result in an infinite recursion error in combination with the
TinyMCE API due to core/remove's patching of the internal cleanData jQuery API.

pat-slides is currently not in a working state, so the removal is OK.
Anyways, this triggers the question how to handle Pattern cleanup in the
future. The answer is in a mutation observer on document level, but this
will be part of a future release.
@thet thet merged commit 3d05847 into master Sep 9, 2025
1 check passed
@thet thet deleted the remove-remove branch September 9, 2025 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant