Fix #877 insert uploaded image even if CKEditor is in source mode

This commit is contained in:
Kijin Sung 2024-05-15 11:02:22 +09:00
parent f57cc96e3f
commit f50772c1dd
3 changed files with 35 additions and 2 deletions

View file

@ -199,6 +199,13 @@ function _getCkeInstance(editor_sequence) {
return $('#ckeditor_instance_' + editor_sequence).data('cke_instance');
}
/**
* Legacy function to get the container element for CKEditor.
*/
function _getCkeContainer(editor_sequence) {
return $('#ckeditor_instance_' + editor_sequence);
}
/**
* Legacy function to get HTML content from CKEditor.
*/