Skip to content

Fix #942 - Expose method to check for changes to html#1077

Merged
j0k3r merged 2 commits intomasterfrom
update-button-example
May 7, 2016
Merged

Fix #942 - Expose method to check for changes to html#1077
j0k3r merged 2 commits intomasterfrom
update-button-example

Conversation

@nmielnik
Copy link
Copy Markdown
Member

@nmielnik nmielnik commented May 5, 2016

Q A
Bug fix? yes
New feature? yes
BC breaks? no
Deprecations? no
New tests added? yes
Fixed tickets #942
License MIT

Description

#942 pointed out that the button building walkthrough results in a button that doesn't update a <textarea> when the highlight button is clicked.

In order to allow any extension or user to have the editor function as expected when its html changed, I added a checkContentChanged method which will check for any changes to the editor and trigger the editableInput event if the content has changed.

I've also updated the button example and button tutorial to use this new method, which fixes #942

@j0k3r j0k3r merged commit 008eb67 into master May 7, 2016
@j0k3r j0k3r deleted the update-button-example branch May 7, 2016 07:32
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.

Medium Editor Highlight Button tutorial doesn't update textarea when clicked

2 participants