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

FIX Changing the value of a TinyMCE field will correctly trigger a change in the React component #682

Conversation

ScopeyNZ
Copy link
Contributor

This is a follow up to #676 and #654. The new React component for TinyMCE updates the redux store when it is added or removed from the DOM but not when the value is actually changed. This PR adds a proper change event to the existing jQuery "change" event that gets fired when TinyMCE content changes. React will only pick up the proper event - it ignores the jQuery one.

Excuse the branch name target - it's meant to be 1.3!

@ScopeyNZ ScopeyNZ force-pushed the pulls/4.3/re-tinymce-act-events branch from 2d88d7e to 4702a22 Compare October 14, 2018 23:08
@rupachup rupachup added this to the Recipe 4.3.0 milestone Oct 15, 2018
@robbieaverill robbieaverill changed the base branch from 1 to 1.3 October 15, 2018 08:50
@robbieaverill robbieaverill merged commit f013e82 into silverstripe:1.3 Oct 15, 2018
@robbieaverill robbieaverill deleted the pulls/4.3/re-tinymce-act-events branch October 15, 2018 08:50
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.

3 participants