Skip to content

Commit 47c6ec2

Browse files
committed
Fixes #391 - Replaced deprecated tinyMCE.editors
1 parent 393dcf9 commit 47c6ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tinymce/static/django_tinymce/init_tinymce.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
if (el.dataset.mceGzConf) {
3737
tinyMCE_GZ.init(JSON.parse(el.dataset.mceGzConf));
3838
}
39-
if (!tinyMCE.editors[id]) {
39+
if (!tinyMCE.get(id)) {
4040
tinyMCE.init(mce_conf);
4141
}
4242
}

0 commit comments

Comments
 (0)