$('.modal').on('shown.bs.modal', function (e) {
jQuery("html").addClass("modal-open");
});
$('.modal').on('hide.bs.modal', function (e) {
jQuery("html").removeClass("modal-open");
});
var editor = CKEDITOR.replace( 'body' );
// The "change" event is fired whenever a change is made in the editor.
editor.on( 'change', function( evt ) {
// getData() returns CKEditor's HTML content.
CKEDITOR.instances.insert_desc.setData( CKEDITOR.instances.body.getData());
});
window.addEventListener('load', (event) => {
$('body').toggleClass('open');
});
$('#menuToggle').on('click', function(event) {
$('body').toggleClass('open');
});