X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_samples%2Fdivreplace.html;h=35699e2c9df85fa3726b0d7b15c4ede0d1998640;hp=bee679772e96c233fa05fb624fbf62be094f1241;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hpb=9afde8772159bd3436f1f5b7862960307710ae5a diff --git a/_samples/divreplace.html b/_samples/divreplace.html index bee6797..35699e2 100644 --- a/_samples/divreplace.html +++ b/_samples/divreplace.html @@ -1,11 +1,11 @@ - Replace DIV - CKEditor Sample + Replace DIV — CKEditor Sample @@ -70,9 +70,20 @@ function replaceDiv( div ) -

- CKEditor Sample +

+ CKEditor Sample — Replace DIV with CKEditor on the Fly

+
+

+ This sample shows how to automatically replace <div> elements + with a CKEditor instance on the fly, following user's doubleclick. The content + that was previously placed inside the <div> element will now + be moved into CKEditor editing area. +

+

+ For details on how to create this setup check the source code of this sample page. +

+

- Double-click on any of the following DIVs to transform them into editor instances.

+ Double-click any of the following <div> elements to transform them into + editor instances.

Part 1

@@ -126,10 +138,10 @@ function replaceDiv( div )