X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=samples%2Fjquery.html;h=c34a64222b5d880d14271f3ad95034c15f422467;hb=a0df3d0ab0c5252b5e2e0fd274705ede834c2276;hp=68554d8dad7048f0752d174b03e9886b4e346536;hpb=57bde48ab8a99810fe524a8b511b2f501bf7f318;p=ckeditor.git diff --git a/samples/jquery.html b/samples/jquery.html index 68554d8..c34a642 100644 --- a/samples/jquery.html +++ b/samples/jquery.html @@ -1,13 +1,13 @@ jQuery Adapter — CKEditor Sample - + @@ -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