X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=samples%2Fjquery.html;h=45be51171f32f1cf41876ac0d8db7ecc4de8b4ee;hp=67102f36c6d3de3b32c5b947e4be6a97a1de823a;hb=1f91409c05f689832bd6dfbbb5161b6d18c3b50c;hpb=aedb6521c23a81ccb889827a7ccc7b42eb93d14f diff --git a/samples/jquery.html b/samples/jquery.html index 67102f3..45be511 100644 --- a/samples/jquery.html +++ b/samples/jquery.html @@ -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