Posts ckeditor
Post
Cancel

ckeditor

homepage - http://ckeditor.com/demo

samples - https://github.com/ckeditor/ckeditor-sdk/tree/master/samples

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see license.html or http://sdk.ckeditor.com/license.html.
-->

//jQ only referenced for button events

			<textarea cols="80" id="editor1" name="editor1" rows="10" data-sample="1" data-sample-short="">

# ![Saturn V carrying Apollo 11](assets/sample.jpg) Apollo 11

**Apollo 11** was the spaceflight that landed the first humans, Americans [Neil Armstrong](http://en.wikipedia.org/wiki/Neil_Armstrong) and [Buzz Aldrin](http://en.wikipedia.org/wiki/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.

Armstrong spent about <s>three and a half</s> 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](http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)), piloted the [command](http://en.wikipedia.org/wiki/Apollo_Command/Service_Module) spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.

			</textarea>

<button id="test">Set Value</button>  

			<button id="test2">Get Value</button>

				CKEDITOR.replace( 'editor1', {
					height: 260
				} );

<!--			
				CKEDITOR.replace( 'editor2', {
					height: 260,
					/* Default CKEditor styles are included as well to avoid copying default styles. */
					contentsCss: [ '../vendor/ckeditor/contents.css', 'assets/css/classic.css' ]
				} );
			-->

				$('#test').on('click', function(e) {
					e.preventDefault();
					//http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setData
					CKEDITOR.instances.editor1.setData( '

This is the editor data.
' );
				});

				$('#test2').on('click', function(e) {
					e.preventDefault();
					alert(CKEDITOR.instances.editor1.getData());
				});

SimpleUploads (file and images upload options)

http://ckeditor.com/addon/simpleuploads

file browser

using href=”http://ckeditor.com/addon/filebrowser” target=”_blank”>http://ckeditor.com/addon/filebrowser

howto http://docs.ckeditor.com/#!/guide/dev_file_browse_upload via

Syntaxhighlighter Interface


## Set link default target to new window (_blank)

Edit your ckeditor/plugins/link/dialogs/link.js file, replace the 
```js
"default":"notSet"
with
"default":"_blank"

if this did work follow this guide http://handsomedogstudio.com/ckeditor-set-default-target-blank

origin - http://www.pipiscrew.com/?p=3560 js-ckeditor

This post is licensed under CC BY 4.0 by the author.
Contents

Trending Tags