Skip to content

Commit 8e1c978

Browse files
authored
Merge pull request #1148 from Generation4/patch-1
Fixed tinymce5 changing image issue
2 parents 1a4690e + e022f1a commit 8e1c978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ function usingTinymce3() {
774774
}
775775

776776
function usingTinymce4AndColorbox() {
777-
return !!getUrlParam('field_name');
777+
return !!getUrlParam('field_name') && getUrlParam('editor') != 'tinymce5';
778778
}
779779

780780
function usingTinymce5(){

0 commit comments

Comments
 (0)