Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

extend editor's functions only once #316

Merged
merged 1 commit into from
Apr 18, 2016
Merged

extend editor's functions only once #316

merged 1 commit into from
Apr 18, 2016

Conversation

acekat
Copy link
Contributor

@acekat acekat commented Apr 18, 2016

same context as #310, this avoid infinite loop on editorSerialize, editorDestroy and editorSetup, as we don't reset the editor's functions by the already extended ones
(sorry for the double PR)

when multiple instances of InsertPlugin are on the same MediumEditor instance, the functions  _serialize, _destroy and _setup are reset with the previous extended functions causing infinite loop on editorSerialize, editorDestroy and editorSetup
@linkesch linkesch merged commit e19bf31 into linkesch:master Apr 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants