indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: jQuery Adapter — CKEditor Sample indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0:

indvd00m@0: CKEditor Samples » Create Editors with jQuery indvd00m@0:

indvd00m@0:
indvd00m@0: This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. indvd00m@0:
indvd00m@0:
indvd00m@0:
indvd00m@0:

indvd00m@0: This sample shows how to use the jQuery adapter. indvd00m@0: Note that you have to include both CKEditor and jQuery scripts before including the adapter. indvd00m@0:

indvd00m@0: indvd00m@0:
indvd00m@0: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
indvd00m@0: <script src="/ckedit../../ckeditor.js"></script>
indvd00m@0: <script src="/ckeditor/adapters/jquery.js"></script>
indvd00m@0: 
indvd00m@0: indvd00m@0:

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

indvd00m@0: indvd00m@0:
indvd00m@0: $( document ).ready( function() {
indvd00m@0: 	$( 'textarea#editor1' ).ckeditor();
indvd00m@0: } );
indvd00m@0: 
indvd00m@0:
indvd00m@0: indvd00m@0:

Inline Example

indvd00m@0: indvd00m@0:
indvd00m@0:

Saturn V carrying Apollo 11Apollo 11 was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.

indvd00m@0:

Armstrong spent about three and a half two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, Michael Collins, piloted the command spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth. indvd00m@0:

Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as:

indvd00m@0:

One small step for [a] man, one giant leap for mankind.

Apollo 11 effectively ended the Space Race and fulfilled a national goal proposed in 1961 by the late U.S. President John F. Kennedy in a speech before the United States Congress:

[...] before this decade is out, of landing a man on the Moon and returning him safely to the Earth.

indvd00m@0:
indvd00m@0: indvd00m@0:
indvd00m@0: indvd00m@0:

Classic (iframe-based) Example

indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0:

indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0: indvd00m@0:

indvd00m@0:
indvd00m@0: indvd00m@0: indvd00m@0: