CKEditor Samples » 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 any of the following <div> elements to transform them into editor instances.

Part 1

Part 2

Part 3