X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=samples%2Fjquery.html;h=45be51171f32f1cf41876ac0d8db7ecc4de8b4ee;hp=68554d8dad7048f0752d174b03e9886b4e346536;hb=1f91409c05f689832bd6dfbbb5161b6d18c3b50c;hpb=57bde48ab8a99810fe524a8b511b2f501bf7f318 diff --git a/samples/jquery.html b/samples/jquery.html index 68554d8..45be511 100644 --- a/samples/jquery.html +++ b/samples/jquery.html @@ -1,6 +1,6 @@ @@ -42,15 +42,18 @@ For licensing, see LICENSE.md or http://ckeditor.com/license

- This sample shows how to use the jQuery adapter. + This sample shows how to use the jQuery adapter. Note that you have to include both CKEditor and jQuery scripts before including the adapter.

+
 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
 <script src="/ckeditor/ckeditor.js"></script>
 <script src="/ckeditor/adapters/jquery.js"></script>
 
-

Then you can replace html elements with a CKEditor instance using the ckeditor() method.

+ +

Then you can replace HTML elements with a CKEditor instance using the ckeditor() method.

+
 $( document ).ready( function() {
 	$( 'textarea#editor1' ).ckeditor();
@@ -69,7 +72,7 @@ $( document ).ready( function() {
 
 		
-

Framed Example

+

Classic (iframe-based) Example