Skip to content

Commit

Permalink
Fixes #391 - Replaced deprecated tinyMCE.editors
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Apr 23, 2022
1 parent 393dcf9 commit 47c6ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinymce/static/django_tinymce/init_tinymce.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
if (el.dataset.mceGzConf) {
tinyMCE_GZ.init(JSON.parse(el.dataset.mceGzConf));
}
if (!tinyMCE.editors[id]) {
if (!tinyMCE.get(id)) {
tinyMCE.init(mce_conf);
}
}
Expand Down

0 comments on commit 47c6ec2

Please sign in to comment.