Home » Asp.netRSS

asp.net mvc ckeditor in jquery dialog

how can i load a ckeditor in jquery UI dialog . can someone specify anything


$(document).ready(function () {
  
            CKEDITOR.replace('header1', {
                contentsLangDirection: 'ltr'
      
        });
        
    });


 

1 Answer Found

 

Answer 1

Do it outside in.

<outerElement>
<input name="header1" id="header1" />
</outerElement>


Make the outer element of header1 an jQuery Dialog, then make your "header1" an RTE:

$(document).ready(function () {
  
$("#header1").parent().dialog();

CKEDITOR.replace('header1', {
                contentsLangDirection: 'ltr'
      
        });
        
    });

HTH, Holger

 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter