This repository was archived by the owner on Sep 11, 2020. It is now read-only.
Commit e19bf31
extend editor's functions only once (#316)
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 editorSetup1 parent 9a122cb commit e19bf31
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
| |||
0 commit comments