Skip to content

Commit 9e789e8

Browse files
committed
add
1 parent f46977d commit 9e789e8

File tree

154 files changed

+7172
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+7172
-0
lines changed

ckeditor/LICENSE.md

+1,264
Large diffs are not rendered by default.

ckeditor/README.md

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
CKEditor 4
2+
==========
3+
4+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
5+
http://ckeditor.com - See LICENSE.md for license information.
6+
7+
CKEditor is a text editor to be used inside web pages. It's not a replacement
8+
for desktop text editors like Word or OpenOffice, but a component to be used as
9+
part of web applications and websites.
10+
11+
## Documentation
12+
13+
The full editor documentation is available online at the following address:
14+
http://docs.ckeditor.com
15+
16+
## Installation
17+
18+
Installing CKEditor is an easy task. Just follow these simple steps:
19+
20+
1. **Download** the latest version from the CKEditor website:
21+
http://ckeditor.com. You should have already completed this step, but be
22+
sure you have the very latest version.
23+
2. **Extract** (decompress) the downloaded file into the root of your website.
24+
25+
**Note:** CKEditor is by default installed in the `ckeditor` folder. You can
26+
place the files in whichever you want though.
27+
28+
## Checking Your Installation
29+
30+
The editor comes with a few sample pages that can be used to verify that
31+
installation proceeded properly. Take a look at the `samples` directory.
32+
33+
To test your installation, just call the following page at your website:
34+
35+
http://<your site>/<CKEditor installation path>/samples/index.html
36+
37+
For example:
38+
39+
http://www.example.com/ckeditor/samples/index.html

ckeditor/build-config.js

+139
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+

2+
/**
3+
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
4+
* For licensing, see LICENSE.html or http://ckeditor.com/license
5+
*/
6+
7+
/**
8+
* This file was added automatically by CKEditor builder.
9+
* You may re-use it at any time at http://ckeditor.com/builder to build CKEditor again.
10+
*
11+
* NOTE:
12+
* This file is not used by CKEditor, you may remove it.
13+
* Changing this file will not change your CKEditor configuration.
14+
*/
15+
16+
var CKBUILDER_CONFIG = {
17+
skin: 'moono',
18+
preset: 'standard',
19+
ignore: [
20+
'dev',
21+
'.gitignore',
22+
'.gitattributes',
23+
'README.md',
24+
'.mailmap'
25+
],
26+
plugins : {
27+
'about' : 1,
28+
'a11yhelp' : 1,
29+
'basicstyles' : 1,
30+
'blockquote' : 1,
31+
'clipboard' : 1,
32+
'contextmenu' : 1,
33+
'resize' : 1,
34+
'toolbar' : 1,
35+
'elementspath' : 1,
36+
'enterkey' : 1,
37+
'entities' : 1,
38+
'filebrowser' : 1,
39+
'floatingspace' : 1,
40+
'format' : 1,
41+
'htmlwriter' : 1,
42+
'horizontalrule' : 1,
43+
'wysiwygarea' : 1,
44+
'image' : 1,
45+
'indent' : 1,
46+
'link' : 1,
47+
'list' : 1,
48+
'magicline' : 1,
49+
'maximize' : 1,
50+
'pastetext' : 1,
51+
'pastefromword' : 1,
52+
'removeformat' : 1,
53+
'sourcearea' : 1,
54+
'specialchar' : 1,
55+
'scayt' : 1,
56+
'stylescombo' : 1,
57+
'tab' : 1,
58+
'table' : 1,
59+
'tabletools' : 1,
60+
'undo' : 1,
61+
'wsc' : 1,
62+
'dialog' : 1,
63+
'dialogui' : 1,
64+
'menu' : 1,
65+
'floatpanel' : 1,
66+
'panel' : 1,
67+
'button' : 1,
68+
'popup' : 1,
69+
'richcombo' : 1,
70+
'listblock' : 1,
71+
'fakeobjects' : 1,
72+
'menubutton' : 1
73+
},
74+
languages : {
75+
'af' : 1,
76+
'sq' : 1,
77+
'ar' : 1,
78+
'eu' : 1,
79+
'bn' : 1,
80+
'bs' : 1,
81+
'bg' : 1,
82+
'ca' : 1,
83+
'zh-cn' : 1,
84+
'zh' : 1,
85+
'hr' : 1,
86+
'cs' : 1,
87+
'da' : 1,
88+
'nl' : 1,
89+
'en' : 1,
90+
'en-au' : 1,
91+
'en-ca' : 1,
92+
'en-gb' : 1,
93+
'eo' : 1,
94+
'et' : 1,
95+
'fo' : 1,
96+
'fi' : 1,
97+
'fr' : 1,
98+
'fr-ca' : 1,
99+
'gl' : 1,
100+
'ka' : 1,
101+
'de' : 1,
102+
'el' : 1,
103+
'gu' : 1,
104+
'he' : 1,
105+
'hi' : 1,
106+
'hu' : 1,
107+
'is' : 1,
108+
'it' : 1,
109+
'ja' : 1,
110+
'km' : 1,
111+
'ko' : 1,
112+
'ku' : 1,
113+
'lv' : 1,
114+
'lt' : 1,
115+
'mk' : 1,
116+
'ms' : 1,
117+
'mn' : 1,
118+
'no' : 1,
119+
'nb' : 1,
120+
'fa' : 1,
121+
'pl' : 1,
122+
'pt-br' : 1,
123+
'pt' : 1,
124+
'ro' : 1,
125+
'ru' : 1,
126+
'sr' : 1,
127+
'sr-latn' : 1,
128+
'sk' : 1,
129+
'sl' : 1,
130+
'es' : 1,
131+
'sv' : 1,
132+
'th' : 1,
133+
'tr' : 1,
134+
'ug' : 1,
135+
'uk' : 1,
136+
'vi' : 1,
137+
'cy' : 1,
138+
}
139+
};

ckeditor/ckeditor.js

+851
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ckeditor/config.js

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/**
2+
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3+
* For licensing, see LICENSE.html or http://ckeditor.com/license
4+
*/
5+
6+
CKEDITOR.editorConfig = function( config ) {
7+
// Define changes to default configuration here.
8+
// For the complete reference:
9+
// http://docs.ckeditor.com/#!/api/CKEDITOR.config
10+
11+
// The toolbar groups arrangement, optimized for two toolbar rows.
12+
config.toolbarGroups = [
13+
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
14+
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
15+
{ name: 'links' },
16+
{ name: 'insert' },
17+
{ name: 'forms' },
18+
{ name: 'tools' },
19+
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
20+
{ name: 'others' },
21+
'/',
22+
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
23+
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
24+
{ name: 'styles' },
25+
{ name: 'colors' }
26+
];
27+
28+
// Remove some buttons, provided by the standard plugins, which we don't
29+
// need to have in the Standard(s) toolbar.
30+
config.removeButtons = 'help';
31+
32+
// Se the most common block elements.
33+
config.format_tags = 'p;h1;h2;h3;pre';
34+
35+
// Make dialogs simpler.
36+
config.removeDialogTabs = 'image:advanced;link:advanced';
37+
};

ckeditor/contents.css

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
/*
2+
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3+
For licensing, see LICENSE.html or http://ckeditor.com/license
4+
*/
5+
6+
body
7+
{
8+
/* Font */
9+
font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
10+
font-size: 12px;
11+
12+
/* Text color */
13+
color: #333;
14+
15+
/* Remove the background color to make it transparent */
16+
background-color: #fff;
17+
18+
margin: 20px;
19+
}
20+
21+
.cke_editable
22+
{
23+
font-size: 13px;
24+
line-height: 1.6em;
25+
}
26+
27+
blockquote
28+
{
29+
font-style: italic;
30+
font-family: Georgia, Times, "Times New Roman", serif;
31+
padding: 2px 0;
32+
border-style: solid;
33+
border-color: #ccc;
34+
border-width: 0;
35+
}
36+
37+
.cke_contents_ltr blockquote
38+
{
39+
padding-left: 20px;
40+
padding-right: 8px;
41+
border-left-width: 5px;
42+
}
43+
44+
.cke_contents_rtl blockquote
45+
{
46+
padding-left: 8px;
47+
padding-right: 20px;
48+
border-right-width: 5px;
49+
}
50+
51+
a
52+
{
53+
color: #0782C1;
54+
}
55+
56+
ol,ul,dl
57+
{
58+
/* IE7: reset rtl list margin. (#7334) */
59+
*margin-right: 0px;
60+
/* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
61+
padding: 0 40px;
62+
}
63+
64+
h1,h2,h3,h4,h5,h6
65+
{
66+
font-weight: normal;
67+
line-height: 1.2em;
68+
}
69+
70+
hr
71+
{
72+
border: 0px;
73+
border-top: 1px solid #ccc;
74+
}
75+
76+
img.right {
77+
border: 1px solid #ccc;
78+
float: right;
79+
margin-left: 15px;
80+
padding: 5px;
81+
}
82+
83+
img.left {
84+
border: 1px solid #ccc;
85+
float: left;
86+
margin-right: 15px;
87+
padding: 5px;
88+
}
89+
90+
img:hover {
91+
opacity: .9;
92+
filter: alpha(opacity = 90);
93+
}
94+
95+
pre
96+
{
97+
white-space: pre-wrap; /* CSS 2.1 */
98+
word-wrap: break-word; /* IE7 */
99+
}
100+
101+
.marker {
102+
background-color: Yellow;
103+
}

ckeditor/lang/en.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)