Every line of 'ckeditor jquery' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
35 function initCkEditor(textarea, mode, options) { 36 var configuration = $.extend({ 37 aceEditorOptions: { 38 mode: mode 39 }, 40 height: textarea.outerHeight() 41 }, 42 ckEditorConfig, options), 43 id = textarea.attr('id'), 44 isInitialized = textarea.data('isInitialized'); 45 46 if (!isInitialized) { 47 htmlEditor.initializeHtmlEditor(id, null, configuration, true); 48 textarea.data('isInitialized', true); 49 } 50 }
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code