Function to detect general content change #27668
marwinpl
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe..
I'm working on integration when I provide guides based on post content, and I was not able to track content changes.
Describe the solution you'd like.
I would expect a function similar to what Gutenberg have:
if (wp.data.select('core/editor').hasChangedContent()) {
handleGutenbergContentChange()
}
Describe alternatives you've considered.
I tried to search this in documentation. I checked the whole Elementor objects in React including isEdited param, but I was not able to detect changes in it.
Additional context
I already asked support question on wordpress.org, but I was redirected here. I'm not 100% sure if it is the correct place to ask this question.
Agreement
All reactions