���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/admin.adimi/layout/bootstrap4/global_assets/js/demo_pages/ |
/* ------------------------------------------------------------------------------ * * # Summernote editor * * Demo JS code for editor_summernote.html page * * ---------------------------------------------------------------------------- */ // Setup module // ------------------------------ var Summernote = function() { // // Setup module components // // Summernote var _componentSummernote = function() { if (!$().summernote) { console.warn('Warning - summernote.min.js is not loaded.'); return; } // Basic examples // ------------------------------ // Default initialization $('.summernote').summernote(); // Control editor height $('.summernote-height').summernote({ height: 400 }); // Air mode $('.summernote-airmode').summernote({ airMode: true }); // Click to edit // ------------------------------ // Edit $('#edit').on('click', function() { $('.click2edit').summernote({focus: true}); }) // Save $('#save').on('click', function() { var aHTML = $('.click2edit').summernote('code'); $('.click2edit').summernote('destroy'); }); }; // Uniform var _componentUniform = function() { if (!$().uniform) { console.warn('Warning - uniform.min.js is not loaded.'); return; } // Styled file input $('.note-image-input').uniform({ fileButtonClass: 'action btn bg-warning-400' }); }; // // Return objects assigned to module // return { init: function() { _componentSummernote(); _componentUniform(); } } }(); // Initialize module // ------------------------------ document.addEventListener('DOMContentLoaded', function() { Summernote.init(); });