js & jQuery not being enabled with CKEditor -



js & jQuery not being enabled with CKEditor -

i have been developed webpage enables drag & drop feature elements using js & jquery functions. it's working perfectly. used ckeditor , integrated web page unable drag & drop elements, why ?

simple page: works , can drag & drop elements

<html> <head> <link rel="stylesheet" href="jquery.ui.all.css"/> <script src=jquery.js"> </script> <script src="jquery_drag_drop.js"> </script> <head> <body> <div id="main_div_of_the_page"> <div id="element_1"> <input type="button" class="manage_to_all_properties_src"/> </div> <div id="element_2"> <input type="button" class="manage_to_all_properties_src"/> </div> </div> </body> </html>

now integrating page ckeditor, (drag & drop not working, why? )

<html> <head> <script src=ckeditor.js"> </script> <script src=jquery.js"> </script> <script src="jquery_drag_drop.js"> </script> <script type = "text/javascript"> window.onload = function() { ckeditor.replace( 'main_div_of_the_page' ); } </script> <head> <body> <div id="main_div_of_the_page"> // same innerhtml above </div> </body> </html>

now modified config.js of ckeditor

ckeditor.editorconfig = function( config ) { config.contentscss = 'jquery.ui.all.csss'; }

javascript disabled while editing content in ckeditor, should able drag&drop elements unless using webkit browser.

drag & drop while editing feature provided brower , hopefuly 1 day webkit browsers it.

jquery ckeditor html-editor

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -