├── ckeditor ├── __init__.py ├── static │ └── ckeditor │ │ ├── ckeditor │ │ ├── images │ │ │ └── spacer.gif │ │ ├── skins │ │ │ ├── v2 │ │ │ │ ├── icons.png │ │ │ │ ├── icons_rtl.png │ │ │ │ ├── images │ │ │ │ │ ├── mini.gif │ │ │ │ │ ├── noimage.png │ │ │ │ │ ├── sprites.png │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ ├── sprites_ie6.png │ │ │ │ │ ├── toolbar_start.gif │ │ │ │ │ └── dialog_sides_rtl.png │ │ │ │ ├── skin.js │ │ │ │ └── templates.css │ │ │ ├── kama │ │ │ │ ├── icons.png │ │ │ │ ├── icons_rtl.png │ │ │ │ ├── images │ │ │ │ │ ├── mini.gif │ │ │ │ │ ├── noimage.png │ │ │ │ │ ├── sprites.png │ │ │ │ │ ├── sprites_ie6.png │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ ├── toolbar_start.gif │ │ │ │ │ └── dialog_sides_rtl.png │ │ │ │ └── templates.css │ │ │ └── office2003 │ │ │ │ ├── icons.png │ │ │ │ ├── icons_rtl.png │ │ │ │ ├── images │ │ │ │ ├── mini.gif │ │ │ │ ├── noimage.png │ │ │ │ ├── sprites.png │ │ │ │ ├── dialog_sides.gif │ │ │ │ ├── dialog_sides.png │ │ │ │ ├── sprites_ie6.png │ │ │ │ └── dialog_sides_rtl.png │ │ │ │ ├── skin.js │ │ │ │ └── templates.css │ │ ├── _source │ │ │ ├── skins │ │ │ │ ├── kama │ │ │ │ │ ├── icons.png │ │ │ │ │ ├── icons_rtl.png │ │ │ │ │ ├── images │ │ │ │ │ │ ├── mini.gif │ │ │ │ │ │ ├── noimage.png │ │ │ │ │ │ ├── sprites.png │ │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ │ ├── sprites_ie6.png │ │ │ │ │ │ ├── toolbar_start.gif │ │ │ │ │ │ └── dialog_sides_rtl.png │ │ │ │ │ ├── editor.css │ │ │ │ │ ├── presets.css │ │ │ │ │ ├── elementspath.css │ │ │ │ │ ├── reset.css │ │ │ │ │ └── templates.css │ │ │ │ ├── v2 │ │ │ │ │ ├── icons.png │ │ │ │ │ ├── icons_rtl.png │ │ │ │ │ ├── images │ │ │ │ │ │ ├── mini.gif │ │ │ │ │ │ ├── noimage.png │ │ │ │ │ │ ├── sprites.png │ │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ │ ├── sprites_ie6.png │ │ │ │ │ │ ├── toolbar_start.gif │ │ │ │ │ │ └── dialog_sides_rtl.png │ │ │ │ │ ├── editor.css │ │ │ │ │ ├── presets.css │ │ │ │ │ ├── elementspath.css │ │ │ │ │ ├── reset.css │ │ │ │ │ ├── skin.js │ │ │ │ │ └── templates.css │ │ │ │ └── office2003 │ │ │ │ │ ├── icons.png │ │ │ │ │ ├── icons_rtl.png │ │ │ │ │ ├── images │ │ │ │ │ ├── mini.gif │ │ │ │ │ ├── noimage.png │ │ │ │ │ ├── sprites.png │ │ │ │ │ ├── dialog_sides.gif │ │ │ │ │ ├── dialog_sides.png │ │ │ │ │ ├── sprites_ie6.png │ │ │ │ │ └── dialog_sides_rtl.png │ │ │ │ │ ├── editor.css │ │ │ │ │ ├── presets.css │ │ │ │ │ ├── elementspath.css │ │ │ │ │ ├── reset.css │ │ │ │ │ ├── skin.js │ │ │ │ │ └── templates.css │ │ │ ├── plugins │ │ │ │ ├── uicolor │ │ │ │ │ ├── uicolor.gif │ │ │ │ │ ├── yui │ │ │ │ │ │ └── assets │ │ │ │ │ │ │ ├── hue_bg.png │ │ │ │ │ │ │ ├── hue_thumb.png │ │ │ │ │ │ │ ├── picker_mask.png │ │ │ │ │ │ │ └── picker_thumb.png │ │ │ │ │ ├── lang │ │ │ │ │ │ ├── en.js │ │ │ │ │ │ └── he.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── link │ │ │ │ │ └── images │ │ │ │ │ │ └── anchor.gif │ │ │ │ ├── smiley │ │ │ │ │ └── images │ │ │ │ │ │ ├── kiss.gif │ │ │ │ │ │ ├── heart.gif │ │ │ │ │ │ ├── cry_smile.gif │ │ │ │ │ │ ├── envelope.gif │ │ │ │ │ │ ├── lightbulb.gif │ │ │ │ │ │ ├── omg_smile.gif │ │ │ │ │ │ ├── sad_smile.gif │ │ │ │ │ │ ├── thumbs_up.gif │ │ │ │ │ │ ├── angel_smile.gif │ │ │ │ │ │ ├── angry_smile.gif │ │ │ │ │ │ ├── devil_smile.gif │ │ │ │ │ │ ├── teeth_smile.gif │ │ │ │ │ │ ├── thumbs_down.gif │ │ │ │ │ │ ├── wink_smile.gif │ │ │ │ │ │ ├── broken_heart.gif │ │ │ │ │ │ ├── confused_smile.gif │ │ │ │ │ │ ├── regular_smile.gif │ │ │ │ │ │ ├── shades_smile.gif │ │ │ │ │ │ ├── tounge_smile.gif │ │ │ │ │ │ ├── embaressed_smile.gif │ │ │ │ │ │ └── whatchutalkingabout_smile.gif │ │ │ │ ├── placeholder │ │ │ │ │ ├── placeholder.gif │ │ │ │ │ ├── lang │ │ │ │ │ │ ├── he.js │ │ │ │ │ │ └── en.js │ │ │ │ │ └── dialogs │ │ │ │ │ │ └── placeholder.js │ │ │ │ ├── flash │ │ │ │ │ └── images │ │ │ │ │ │ └── placeholder.png │ │ │ │ ├── forms │ │ │ │ │ └── images │ │ │ │ │ │ └── hiddenfield.gif │ │ │ │ ├── iframe │ │ │ │ │ └── images │ │ │ │ │ │ └── placeholder.png │ │ │ │ ├── showblocks │ │ │ │ │ └── images │ │ │ │ │ │ ├── block_p.png │ │ │ │ │ │ ├── block_div.png │ │ │ │ │ │ ├── block_h1.png │ │ │ │ │ │ ├── block_h2.png │ │ │ │ │ │ ├── block_h3.png │ │ │ │ │ │ ├── block_h4.png │ │ │ │ │ │ ├── block_h5.png │ │ │ │ │ │ ├── block_h6.png │ │ │ │ │ │ ├── block_pre.png │ │ │ │ │ │ ├── block_address.png │ │ │ │ │ │ └── block_blockquote.png │ │ │ │ ├── about │ │ │ │ │ ├── dialogs │ │ │ │ │ │ ├── logo_ckeditor.png │ │ │ │ │ │ └── about.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── pagebreak │ │ │ │ │ └── images │ │ │ │ │ │ └── pagebreak.gif │ │ │ │ ├── templates │ │ │ │ │ └── templates │ │ │ │ │ │ └── images │ │ │ │ │ │ ├── template1.gif │ │ │ │ │ │ ├── template2.gif │ │ │ │ │ │ └── template3.gif │ │ │ │ ├── colordialog │ │ │ │ │ └── plugin.js │ │ │ │ ├── horizontalrule │ │ │ │ │ └── plugin.js │ │ │ │ ├── print │ │ │ │ │ └── plugin.js │ │ │ │ ├── wsc │ │ │ │ │ ├── plugin.js │ │ │ │ │ └── dialogs │ │ │ │ │ │ ├── ciframe.html │ │ │ │ │ │ ├── wsc.css │ │ │ │ │ │ └── tmpFrameset.html │ │ │ │ ├── save │ │ │ │ │ └── plugin.js │ │ │ │ ├── a11yhelp │ │ │ │ │ └── plugin.js │ │ │ │ ├── newpage │ │ │ │ │ └── plugin.js │ │ │ │ ├── scayt │ │ │ │ │ └── dialogs │ │ │ │ │ │ └── toolbar.css │ │ │ │ ├── find │ │ │ │ │ └── plugin.js │ │ │ │ ├── pastetext │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── pastetext.js │ │ │ │ │ └── plugin.js │ │ │ │ ├── liststyle │ │ │ │ │ └── plugin.js │ │ │ │ ├── table │ │ │ │ │ └── plugin.js │ │ │ │ ├── popup │ │ │ │ │ └── plugin.js │ │ │ │ ├── image │ │ │ │ │ └── plugin.js │ │ │ │ └── menubutton │ │ │ │ │ └── plugin.js │ │ │ ├── core │ │ │ │ ├── dom.js │ │ │ │ ├── dom │ │ │ │ │ ├── nodelist.js │ │ │ │ │ ├── comment.js │ │ │ │ │ └── documentfragment.js │ │ │ │ ├── themes.js │ │ │ │ ├── htmlparser │ │ │ │ │ ├── cdata.js │ │ │ │ │ ├── text.js │ │ │ │ │ └── comment.js │ │ │ │ └── plugindefinition.js │ │ │ └── lang │ │ │ │ ├── _languages.js │ │ │ │ └── _translationstatus.txt │ │ ├── plugins │ │ │ ├── uicolor │ │ │ │ ├── uicolor.gif │ │ │ │ ├── yui │ │ │ │ │ └── assets │ │ │ │ │ │ ├── hue_bg.png │ │ │ │ │ │ ├── hue_thumb.png │ │ │ │ │ │ ├── picker_mask.png │ │ │ │ │ │ └── picker_thumb.png │ │ │ │ ├── lang │ │ │ │ │ ├── en.js │ │ │ │ │ └── he.js │ │ │ │ └── plugin.js │ │ │ ├── link │ │ │ │ ├── images │ │ │ │ │ └── anchor.gif │ │ │ │ └── dialogs │ │ │ │ │ └── anchor.js │ │ │ ├── smiley │ │ │ │ └── images │ │ │ │ │ ├── kiss.gif │ │ │ │ │ ├── heart.gif │ │ │ │ │ ├── cry_smile.gif │ │ │ │ │ ├── envelope.gif │ │ │ │ │ ├── lightbulb.gif │ │ │ │ │ ├── omg_smile.gif │ │ │ │ │ ├── sad_smile.gif │ │ │ │ │ ├── thumbs_up.gif │ │ │ │ │ ├── angel_smile.gif │ │ │ │ │ ├── angry_smile.gif │ │ │ │ │ ├── broken_heart.gif │ │ │ │ │ ├── devil_smile.gif │ │ │ │ │ ├── shades_smile.gif │ │ │ │ │ ├── teeth_smile.gif │ │ │ │ │ ├── thumbs_down.gif │ │ │ │ │ ├── tounge_smile.gif │ │ │ │ │ ├── wink_smile.gif │ │ │ │ │ ├── confused_smile.gif │ │ │ │ │ ├── regular_smile.gif │ │ │ │ │ ├── embaressed_smile.gif │ │ │ │ │ └── whatchutalkingabout_smile.gif │ │ │ ├── placeholder │ │ │ │ ├── placeholder.gif │ │ │ │ ├── lang │ │ │ │ │ ├── he.js │ │ │ │ │ └── en.js │ │ │ │ ├── dialogs │ │ │ │ │ └── placeholder.js │ │ │ │ └── plugin.js │ │ │ ├── flash │ │ │ │ └── images │ │ │ │ │ └── placeholder.png │ │ │ ├── forms │ │ │ │ ├── images │ │ │ │ │ └── hiddenfield.gif │ │ │ │ └── dialogs │ │ │ │ │ ├── hiddenfield.js │ │ │ │ │ ├── button.js │ │ │ │ │ ├── textarea.js │ │ │ │ │ ├── radio.js │ │ │ │ │ ├── form.js │ │ │ │ │ └── checkbox.js │ │ │ ├── iframe │ │ │ │ └── images │ │ │ │ │ └── placeholder.png │ │ │ ├── pagebreak │ │ │ │ └── images │ │ │ │ │ └── pagebreak.gif │ │ │ ├── showblocks │ │ │ │ └── images │ │ │ │ │ ├── block_h1.png │ │ │ │ │ ├── block_h2.png │ │ │ │ │ ├── block_h3.png │ │ │ │ │ ├── block_h4.png │ │ │ │ │ ├── block_h5.png │ │ │ │ │ ├── block_h6.png │ │ │ │ │ ├── block_p.png │ │ │ │ │ ├── block_div.png │ │ │ │ │ ├── block_pre.png │ │ │ │ │ ├── block_address.png │ │ │ │ │ └── block_blockquote.png │ │ │ ├── about │ │ │ │ └── dialogs │ │ │ │ │ ├── logo_ckeditor.png │ │ │ │ │ └── about.js │ │ │ ├── templates │ │ │ │ └── templates │ │ │ │ │ ├── images │ │ │ │ │ ├── template1.gif │ │ │ │ │ ├── template2.gif │ │ │ │ │ └── template3.gif │ │ │ │ │ └── default.js │ │ │ ├── dialog │ │ │ │ └── dialogDefinition.js │ │ │ ├── autogrow │ │ │ │ └── plugin.js │ │ │ ├── wsc │ │ │ │ └── dialogs │ │ │ │ │ ├── wsc.css │ │ │ │ │ ├── ciframe.html │ │ │ │ │ └── tmpFrameset.html │ │ │ ├── ajax │ │ │ │ └── plugin.js │ │ │ ├── pastetext │ │ │ │ └── dialogs │ │ │ │ │ └── pastetext.js │ │ │ ├── scayt │ │ │ │ └── dialogs │ │ │ │ │ └── toolbar.css │ │ │ ├── xml │ │ │ │ └── plugin.js │ │ │ ├── styles │ │ │ │ └── styles │ │ │ │ │ └── default.js │ │ │ ├── iframedialog │ │ │ │ └── plugin.js │ │ │ └── a11yhelp │ │ │ │ └── lang │ │ │ │ └── en.js │ │ ├── _samples │ │ │ ├── assets │ │ │ │ ├── output_for_flash.fla │ │ │ │ ├── output_for_flash.swf │ │ │ │ └── _posteddata.php │ │ │ ├── adobeair │ │ │ │ ├── run.sh │ │ │ │ ├── run.bat │ │ │ │ ├── application.xml │ │ │ │ └── sample.html │ │ │ ├── api_dialog │ │ │ │ └── my_dialog.js │ │ │ ├── sample_posteddata.php │ │ │ ├── asp │ │ │ │ └── sample_posteddata.asp │ │ │ ├── sample.js │ │ │ └── php │ │ │ │ └── index.html │ │ ├── config.js │ │ ├── .htaccess │ │ ├── ckeditor.php │ │ ├── contents.css │ │ ├── lang │ │ │ ├── _languages.js │ │ │ └── _translationstatus.txt │ │ ├── ckeditor_basic_source.js │ │ ├── ckeditor_source.js │ │ └── adapters │ │ │ └── jquery.js │ │ ├── css │ │ ├── standard.css │ │ └── grappelli.css │ │ └── init.js ├── templates │ └── ckeditor │ │ └── ckeditor_script.html └── fields.py ├── .hgignore ├── .hgtags ├── setup.py └── LICENSE.markdown /ckeditor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/images/spacer.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/v2/icons.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/kama/icons.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/icons_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/v2/icons_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/icons_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/kama/icons_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/v2/images/mini.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/kama/icons.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/v2/icons.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/uicolor/uicolor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/uicolor/uicolor.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/kama/images/mini.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/office2003/icons.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/v2/images/noimage.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/v2/images/sprites.png -------------------------------------------------------------------------------- /.hgignore: -------------------------------------------------------------------------------- 1 | syntax: glob 2 | 3 | *.pyc 4 | .DS_Store 5 | .project 6 | .pydevproject 7 | *.swp 8 | 9 | syntax: regexp 10 | ^build$ 11 | ^dist$ 12 | ^django_ckeditor.egg-info$ 13 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/icons_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/v2/icons_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/link/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/link/images/anchor.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/kiss.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/kama/images/noimage.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/kama/images/sprites.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/icons_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/office2003/icons_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/icons_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/kama/icons_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/mini.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/heart.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/kama/images/sprites_ie6.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/office2003/images/mini.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/v2/images/dialog_sides.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/v2/images/dialog_sides.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/v2/images/sprites_ie6.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/images/toolbar_start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/v2/images/toolbar_start.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/uicolor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/uicolor.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/mini.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/icons.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/noimage.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/sprites.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/placeholder/placeholder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/placeholder/placeholder.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/cry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/cry_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/envelope.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/envelope.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/lightbulb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/lightbulb.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/omg_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/omg_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/sad_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/sad_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/thumbs_up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/thumbs_up.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/kama/images/dialog_sides.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/kama/images/dialog_sides.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/images/toolbar_start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/kama/images/toolbar_start.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/office2003/images/noimage.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/office2003/images/sprites.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/assets/output_for_flash.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_samples/assets/output_for_flash.fla -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/assets/output_for_flash.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_samples/assets/output_for_flash.swf -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/link/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/link/images/anchor.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/kiss.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/noimage.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/sprites.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/icons_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/icons_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/flash/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/flash/images/placeholder.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/forms/images/hiddenfield.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/forms/images/hiddenfield.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/iframe/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/iframe/images/placeholder.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/pagebreak/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/pagebreak/images/pagebreak.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h1.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h2.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h3.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h4.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h5.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_h6.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_p.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/angel_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/angel_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/angry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/angry_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/broken_heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/broken_heart.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/devil_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/devil_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/shades_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/shades_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/teeth_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/teeth_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/thumbs_down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/thumbs_down.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/tounge_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/tounge_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/wink_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/wink_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/uicolor/yui/assets/hue_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/uicolor/yui/assets/hue_bg.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/kama/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/v2/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/css/standard.css: -------------------------------------------------------------------------------- 1 | fieldset div.form-row div span.cke_skin_kama { 2 | border: 0; 3 | padding: 0 !important; 4 | float: left; 5 | } 6 | .help { 7 | clear: left; 8 | } -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/heart.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/mini.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/dialog_sides.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/dialog_sides.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/sprites_ie6.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/about/dialogs/logo_ckeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/about/dialogs/logo_ckeditor.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_div.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_div.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_pre.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_pre.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/confused_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/confused_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/regular_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/regular_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/office2003/images/dialog_sides.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/office2003/images/dialog_sides.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/office2003/images/sprites_ie6.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/placeholder/placeholder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/placeholder/placeholder.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/cry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/cry_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/envelope.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/envelope.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/lightbulb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/lightbulb.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/omg_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/omg_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/sad_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/sad_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_up.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/dialog_sides.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/dialog_sides.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/sprites_ie6.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/toolbar_start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/toolbar_start.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/noimage.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/sprites.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/toolbar_start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/toolbar_start.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_address.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/embaressed_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/embaressed_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/uicolor/yui/assets/picker_mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/uicolor/yui/assets/picker_mask.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/flash/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/flash/images/placeholder.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/forms/images/hiddenfield.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/forms/images/hiddenfield.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/iframe/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/iframe/images/placeholder.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_p.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/angel_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/angel_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/angry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/angry_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/devil_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/devil_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/teeth_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/teeth_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/thumbs_down.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/wink_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/wink_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/skins/office2003/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_div.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_div.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h1.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h2.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h3.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h4.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h5.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_h6.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_pre.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_pre.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/broken_heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/broken_heart.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/confused_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/confused_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/regular_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/regular_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/shades_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/shades_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/tounge_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/tounge_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/dialog_sides.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/dialog_sides.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/dialog_sides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/dialog_sides.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/sprites_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/sprites_ie6.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_blockquote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/showblocks/images/block_blockquote.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/templates/templates/images/template1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/templates/templates/images/template1.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/templates/templates/images/template2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/templates/templates/images/template2.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/templates/templates/images/template3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/templates/templates/images/template3.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_address.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/dialog/dialogDefinition.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_blockquote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/showblocks/images/block_blockquote.png -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/templates/templates/images/template1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/templates/templates/images/template1.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/templates/templates/images/template2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/templates/templates/images/template2.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/templates/templates/images/template3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/templates/templates/images/template3.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwaiter/django-ckeditor/HEAD/ckeditor/static/ckeditor/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/adobeair/run.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 4 | # For licensing, see LICENSE.html or http://ckeditor.com/license 5 | 6 | # Use this file to quickly run the sample under Linux. 7 | 8 | adl application.xml ../../ 9 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/adobeair/run.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | :: 3 | :: Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 4 | :: For licensing, see LICENSE.html or http://ckeditor.com/license 5 | :: 6 | :: Use this file to quickly run the sample in a Windows environment. 7 | :: 8 | 9 | adl application.xml ../../ 10 | -------------------------------------------------------------------------------- /ckeditor/templates/ckeditor/ckeditor_script.html: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/config.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, 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 | { 8 | // Define changes to default configuration here. For example: 9 | // config.language = 'fr'; 10 | // config.uiColor = '#AADC6E'; 11 | }; 12 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/uicolor/lang/en.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefined color sets'}}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/uicolor/lang/he.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('uicolor','he',{uicolor:{title:'בחירת צבע ממשק משתמש',preview:'תצוגה מקדימה',config:'הדבק את הטקסט הבא לתוך הקובץ config.js',predefined:'קבוצות צבעים מוגדרות מראש'}}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/placeholder/lang/he.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שומר המקום חייב להכיל טקסט.'}}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/placeholder/lang/en.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',textMissing:'The placeholder must contain text.'}}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/colordialog/plugin.js: -------------------------------------------------------------------------------- 1 | ( function() 2 | { 3 | CKEDITOR.plugins.colordialog = 4 | { 5 | init : function( editor ) 6 | { 7 | editor.addCommand( 'colordialog', new CKEDITOR.dialogCommand( 'colordialog' ) ); 8 | CKEDITOR.dialog.add( 'colordialog', this.path + 'dialogs/colordialog.js' ); 9 | } 10 | }; 11 | 12 | CKEDITOR.plugins.add( 'colordialog', CKEDITOR.plugins.colordialog ); 13 | } )(); 14 | -------------------------------------------------------------------------------- /.hgtags: -------------------------------------------------------------------------------- 1 | 7afa1bd35f734876627473b504dd5fc0ee944e1a v0.0.1 2 | 78500fec268bf87a9a1592c84f836be7a918620d v0.0.2 3 | 7afa1bd35f734876627473b504dd5fc0ee944e1a semver 4 | 7372772a37d822407936700a868caa5c728de15a v0.9.0 5 | 4936e51536fa5c49d59efaf92672ddfaed454fbe v0.9.1 6 | b8755f449e080ce50815a35a8ed8fde24719f317 v0.9.2 7 | e7f1ba644443c7960a7fd9bf8b68c39ebe9cbcc1 v0.9.3 8 | 7115051977b6bfff9b6ef30ddcba10afc5221a13 v0.9.4 9 | 09c835d3d282f4e67c1a6dabeed01638e94820a9 v0.9.5 10 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/lang/en.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang( 'uicolor', 'en', 7 | { 8 | uicolor : 9 | { 10 | title : 'UI Color Picker', 11 | preview : 'Live preview', 12 | config : 'Paste this string into your config.js file', 13 | predefined : 'Predefined color sets' 14 | } 15 | }); 16 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/lang/he.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang( 'uicolor', 'he', 7 | { 8 | uicolor : 9 | { 10 | title : 'בחירת צבע ממשק משתמש', 11 | preview : 'תצוגה מקדימה', 12 | config : 'הדבק את הטקסט הבא לתוך הקובץ config.js', 13 | predefined : 'קבוצות צבעים מוגדרות מראש' 14 | } 15 | }); 16 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/placeholder/lang/he.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang( 'placeholder', 'he', 7 | { 8 | placeholder : 9 | { 10 | title : 'מאפייני שומר מקום', 11 | toolbar : 'צור שומר מקום', 12 | text : 'תוכן שומר המקום', 13 | edit : 'ערוך שומר מקום', 14 | textMissing : 'שומר המקום חייב להכיל טקסט.' 15 | } 16 | }); 17 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/css/grappelli.css: -------------------------------------------------------------------------------- 1 | fieldset div.form-row div span.cke_skin_kama { 2 | border: 0; 3 | padding: 0 !important; 4 | float: left; 5 | } 6 | span.cke_skin_kama span.cke_wrapper { 7 | background-color: #EEEEEE !important; 8 | background-image: none !important; 9 | padding: 10px 0 0 0 !important; 10 | } 11 | span.cke_skin_kama span.cke_maximized span.cke_wrapper { 12 | padding: 10px !important; 13 | } 14 | span.cke_wrapper iframe { 15 | border: 1px solid #CACACA; 16 | } 17 | .help { 18 | clear: left; 19 | } -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/placeholder/lang/en.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang( 'placeholder', 'en', 7 | { 8 | placeholder : 9 | { 10 | title : 'Placeholder Properties', 11 | toolbar : 'Create Placeholder', 12 | text : 'Placeholder Text', 13 | edit : 'Edit Placeholder', 14 | textMissing : 'The placeholder must contain text.' 15 | } 16 | }); 17 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/core/dom.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @fileOverview Defines the {@link CKEDITOR.dom} object, which contains DOM 8 | * manipulation objects and function. 9 | */ 10 | 11 | /** 12 | * @namespace DOM manipulation objects, classes and functions. 13 | * @see CKEDITOR.dom.element 14 | * @see CKEDITOR.dom.node 15 | * @example 16 | */ 17 | CKEDITOR.dom = 18 | {}; 19 | 20 | // PACKAGER_RENAME( CKEDITOR.dom ) 21 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/core/dom/nodelist.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @class 8 | */ 9 | CKEDITOR.dom.nodeList = function( nativeList ) 10 | { 11 | this.$ = nativeList; 12 | }; 13 | 14 | CKEDITOR.dom.nodeList.prototype = 15 | { 16 | count : function() 17 | { 18 | return this.$.length; 19 | }, 20 | 21 | getItem : function( index ) 22 | { 23 | var $node = this.$[ index ]; 24 | return $node ? new CKEDITOR.dom.node( $node ) : null; 25 | } 26 | }; 27 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/core/themes.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @fileOverview Defines the {@link CKEDITOR.themes} object, which is used to 8 | * manage themes registration and loading. 9 | */ 10 | 11 | /** 12 | * Manages themes registration and loading. 13 | * @namespace 14 | * @augments CKEDITOR.resourceManager 15 | * @example 16 | */ 17 | CKEDITOR.themes = new CKEDITOR.resourceManager( 18 | '_source/'+ // @Packager.RemoveLine 19 | 'themes/', 'theme' ); 20 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/api_dialog/my_dialog.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add( 'myDialog', function( editor ) 7 | { 8 | return { 9 | title : 'My Dialog', 10 | minWidth : 400, 11 | minHeight : 200, 12 | contents : [ 13 | { 14 | id : 'tab1', 15 | label : 'First Tab', 16 | title : 'First Tab', 17 | elements : 18 | [ 19 | { 20 | id : 'input1', 21 | type : 'text', 22 | label : 'Input 1' 23 | } 24 | ] 25 | } 26 | ] 27 | }; 28 | } ); 29 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/editor.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | @import url("reset.css"); 7 | @import url("mainui.css"); 8 | @import url("panel.css"); 9 | @import url("toolbar.css"); 10 | @import url("menu.css"); 11 | @import url("richcombo.css"); 12 | @import url("elementspath.css"); 13 | @import url("icons.css"); 14 | @import url("presets.css"); 15 | 16 | /* Restore the container visibility */ 17 | html .cke_skin_v2 18 | { 19 | visibility: inherit; 20 | } 21 | 22 | html.cke_skin_v2_container 23 | { 24 | visibility: visible; 25 | } 26 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/editor.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | @import url("reset.css"); 7 | @import url("mainui.css"); 8 | @import url("panel.css"); 9 | @import url("toolbar.css"); 10 | @import url("menu.css"); 11 | @import url("richcombo.css"); 12 | @import url("elementspath.css"); 13 | @import url("icons.css"); 14 | @import url("presets.css"); 15 | 16 | /* Restore the container visibility */ 17 | html .cke_skin_kama 18 | { 19 | visibility: inherit; 20 | } 21 | 22 | html.cke_skin_kama_container 23 | { 24 | visibility: visible; 25 | } 26 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/uicolor/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('uicolor',{requires:['dialog'],lang:['en','he'],init:function(a){if(CKEDITOR.env.ie6Compat)return;a.addCommand('uicolor',new CKEDITOR.dialogCommand('uicolor'));a.ui.addButton('UIColor',{label:a.lang.uicolor.title,command:'uicolor',icon:this.path+'uicolor.gif'});CKEDITOR.dialog.add('uicolor',this.path+'dialogs/uicolor.js');CKEDITOR.scriptLoader.load(CKEDITOR.getUrl('plugins/uicolor/yui/yui.js'));a.element.getDocument().appendStyleSheet(CKEDITOR.getUrl('plugins/uicolor/yui/assets/yui.css'));}}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/about/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add( 'about', 7 | { 8 | requires : [ 'dialog' ], 9 | init : function( editor ) 10 | { 11 | var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) ); 12 | command.modes = { wysiwyg:1, source:1 }; 13 | command.canUndo = false; 14 | 15 | editor.ui.addButton( 'About', 16 | { 17 | label : editor.lang.about.title, 18 | command : 'about' 19 | }); 20 | 21 | CKEDITOR.dialog.add( 'about', this.path + 'dialogs/about.js' ); 22 | } 23 | }); 24 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/editor.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | @import url("reset.css"); 7 | @import url("mainui.css"); 8 | @import url("panel.css"); 9 | @import url("toolbar.css"); 10 | @import url("menu.css"); 11 | @import url("richcombo.css"); 12 | @import url("elementspath.css"); 13 | @import url("icons.css"); 14 | @import url("presets.css"); 15 | 16 | /* Restore the container visibility */ 17 | html .cke_skin_office2003 18 | { 19 | visibility: inherit; 20 | } 21 | 22 | html.cke_skin_office2003_container 23 | { 24 | visibility: visible; 25 | } 26 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/sample_posteddata.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /ckeditor/fields.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | from django.contrib.admin import widgets as admin_widgets 3 | from ckeditor import widgets as ckeditor_widgets 4 | 5 | 6 | class HTMLField(models.TextField): 7 | """A string field for HTML content. It uses the CKEditor widget in forms.""" 8 | 9 | def formfield(self, **kwargs): 10 | defaults = { 'widget': ckeditor_widgets.CKEditor } 11 | defaults.update(kwargs) 12 | 13 | if defaults['widget'] == admin_widgets.AdminTextareaWidget: 14 | defaults['widget'] = ckeditor_widgets.AdminCKEditor 15 | 16 | return super(HTMLField, self).formfield(**defaults) 17 | 18 | try: 19 | from south.modelsinspector import add_introspection_rules 20 | add_introspection_rules([], ["^ckeditor\.fields\.HTMLField"]) 21 | except ImportError: 22 | pass -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/core/dom/comment.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @fileOverview Defines the {@link CKEDITOR.dom.comment} class, which represents 8 | * a DOM comment node. 9 | */ 10 | 11 | CKEDITOR.dom.comment = CKEDITOR.tools.createClass( 12 | { 13 | base : CKEDITOR.dom.node, 14 | 15 | $ : function( text, ownerDocument ) 16 | { 17 | if ( typeof text == 'string' ) 18 | text = ( ownerDocument ? ownerDocument.$ : document ).createComment( text ); 19 | 20 | this.base( text ); 21 | }, 22 | 23 | proto : 24 | { 25 | type : CKEDITOR.NODE_COMMENT, 26 | 27 | getOuterHtml : function() 28 | { 29 | return ''; 30 | } 31 | } 32 | }); 33 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | import os 2 | from setuptools import setup, find_packages 3 | 4 | install_requires = [] 5 | try: 6 | import json 7 | except ImportError, e: 8 | install_requires.append('simplejson') 9 | 10 | README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README') 11 | 12 | description = 'A small Django application that makes it easy to use CKEditor for form textareas.' 13 | 14 | if os.path.exists(README_PATH): 15 | long_description = open(README_PATH).read() 16 | else: 17 | long_description = description 18 | 19 | 20 | setup( 21 | name='django-ckeditor', 22 | version='0.9.5', 23 | install_requires=install_requires, 24 | description=description, 25 | long_description=long_description, 26 | author='Dumbwaiter Design', 27 | author_email='dev@dwaiter.com', 28 | url='http://bitbucket.org/dwaiter/django-ckeditor/', 29 | packages=['ckeditor'], 30 | ) 31 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/.htaccess: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. 3 | # For licensing, see LICENSE.html or http://ckeditor.com/license 4 | # 5 | 6 | # 7 | # On some specific Linux installations you could face problems with Firefox. 8 | # It could give you errors when loading the editor saying that some illegal 9 | # characters were found (three strange chars in the beginning of the file). 10 | # This could happen if you map the .js or .css files to PHP, for example. 11 | # 12 | # Those characters are the Byte Order Mask (BOM) of the Unicode encoded files. 13 | # All FCKeditor files are Unicode encoded. 14 | # 15 | 16 | AddType application/x-javascript .js 17 | AddType text/css .css 18 | 19 | # 20 | # If PHP is mapped to handle XML files, you could have some issues. The 21 | # following will disable it. 22 | # 23 | 24 | AddType text/xml .xml 25 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/skin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.skins.add('v2',(function(){return{editor:{css:['editor.css']},dialog:{css:['dialog.css']},templates:{css:['templates.css']},margins:[0,14,18,14]};})());(function(){CKEDITOR.dialog?a():CKEDITOR.on('dialogPluginReady',a);function a(){CKEDITOR.dialog.on('resize',function(b){var c=b.data,d=c.width,e=c.height,f=c.dialog,g=f.parts.contents;if(c.skin!='v2')return;g.setStyles({width:d+'px',height:e+'px'});if(!CKEDITOR.env.ie||CKEDITOR.env.ie9Compat)return;setTimeout(function(){var h=f.parts.dialog.getChild([0,0,0]),i=h.getChild(0),j=i.getSize('width');e+=i.getChild(0).getSize('height')+1;var k=h.getChild(2);k.setSize('width',j);k=h.getChild(7);k.setSize('width',j-28);k=h.getChild(4);k.setSize('height',e);k=h.getChild(5);k.setSize('height',e);},100);});};})(); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/horizontalrule/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @file Horizontal Rule plugin. 8 | */ 9 | 10 | (function() 11 | { 12 | var horizontalruleCmd = 13 | { 14 | canUndo : false, // The undo snapshot will be handled by 'insertElement'. 15 | exec : function( editor ) 16 | { 17 | editor.insertElement( editor.document.createElement( 'hr' ) ); 18 | } 19 | }; 20 | 21 | var pluginName = 'horizontalrule'; 22 | 23 | // Register a plugin named "horizontalrule". 24 | CKEDITOR.plugins.add( pluginName, 25 | { 26 | init : function( editor ) 27 | { 28 | editor.addCommand( pluginName, horizontalruleCmd ); 29 | editor.ui.addButton( 'HorizontalRule', 30 | { 31 | label : editor.lang.horizontalrule, 32 | command : pluginName 33 | }); 34 | } 35 | }); 36 | })(); 37 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/autogrow/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){var a=function(b){if(!b.window)return;var c=b.document,d=b.window.getViewPaneSize().height,e;if(CKEDITOR.env.ie||CKEDITOR.env.gecko)e=c.getBody().$.scrollHeight+(CKEDITOR.env.ie&&CKEDITOR.env.quirks?0:24);else e=c.getDocumentElement().$.offsetHeight;var f=b.config.autoGrow_minHeight,g=b.config.autoGrow_maxHeight;f==undefined&&(b.config.autoGrow_minHeight=f=200);if(f)e=Math.max(e,f);if(g)e=Math.min(e,g);if(e!=d){e=b.fire('autoGrow',{currentHeight:d,newHeight:e}).newHeight;b.resize(b.container.getStyle('width'),e,true);}};CKEDITOR.plugins.add('autogrow',{init:function(b){for(var c in {contentDom:1,key:1,selectionChange:1,insertElement:1})b.on(c,function(d){var e=b.getCommand('maximize');if(d.editor.mode=='wysiwyg'&&(!e||e.state!=CKEDITOR.TRISTATE_ON))setTimeout(function(){a(d.editor);},100);});}});})(); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/skin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.skins.add('office2003',(function(){return{editor:{css:['editor.css']},dialog:{css:['dialog.css']},templates:{css:['templates.css']},margins:[0,14,18,14]};})());(function(){CKEDITOR.dialog?a():CKEDITOR.on('dialogPluginReady',a);function a(){CKEDITOR.dialog.on('resize',function(b){var c=b.data,d=c.width,e=c.height,f=c.dialog,g=f.parts.contents;if(c.skin!='office2003')return;g.setStyles({width:d+'px',height:e+'px'});if(!CKEDITOR.env.ie||CKEDITOR.env.ie9Compat)return;var h=function(){var i=f.parts.dialog.getChild([0,0,0]),j=i.getChild(0),k=j.getSize('width');e+=j.getChild(0).getSize('height')+1;var l=i.getChild(2);l.setSize('width',k);l=i.getChild(7);l.setSize('width',k-28);l=i.getChild(4);l.setSize('height',e);l=i.getChild(5);l.setSize('height',e);};setTimeout(h,100);if(b.editor.lang.dir=='rtl')setTimeout(h,1000);});};})(); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/placeholder/dialogs/placeholder.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){function a(b,c){var d=b.lang.placeholder,e=b.lang.common.generalTab;return{title:d.title,minWidth:300,minHeight:80,contents:[{id:'info',label:e,title:e,elements:[{id:'text',type:'text',style:'width: 100%;',label:d.text,'default':'',required:true,validate:CKEDITOR.dialog.validate.notEmpty(d.textMissing),setup:function(f){if(c)this.setValue(f.getText().slice(2,-2));},commit:function(f){var g='[['+this.getValue()+']]';CKEDITOR.plugins.placeholder.createPlaceholder(b,f,g);}}]}],onShow:function(){if(c)this._element=CKEDITOR.plugins.placeholder.getSelectedPlaceHoder(b);this.setupContent(this._element);},onOk:function(){this.commitContent(this._element);delete this._element;}};};CKEDITOR.dialog.add('createplaceholder',function(b){return a(b);});CKEDITOR.dialog.add('editplaceholder',function(b){return a(b,1);});})(); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/wsc/dialogs/wsc.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | html,body{background-color:transparent;margin:0;padding:0;}body{padding:10px;}body,td,input,select,textarea{font-size:11px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;}.midtext{padding:0;margin:10px;}.midtext p{padding:0;margin:10px;}.Button{border:#737357 1px solid;color:#3b3b1f;background-color:#c7c78f;}.PopupTabArea{color:#737357;background-color:#e3e3c7;}.PopupTitleBorder{border-bottom:#d5d59d 1px solid;}.PopupTabEmptyArea{padding-left:10px;border-bottom:#d5d59d 1px solid;}.PopupTab,.PopupTabSelected{border-right:#d5d59d 1px solid;border-top:#d5d59d 1px solid;border-left:#d5d59d 1px solid;padding:3px 5px 3px 5px;color:#737357;}.PopupTab{margin-top:1px;border-bottom:#d5d59d 1px solid;cursor:pointer;}.PopupTabSelected{font-weight:bold;cursor:default;padding-top:4px;border-bottom:#f1f1e3 1px solid;background-color:#f1f1e3;} 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/ajax/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){CKEDITOR.plugins.add('ajax',{requires:['xml']});CKEDITOR.ajax=(function(){var a=function(){if(!CKEDITOR.env.ie||location.protocol!='file:')try{return new XMLHttpRequest();}catch(f){}try{return new ActiveXObject('Msxml2.XMLHTTP');}catch(g){}try{return new ActiveXObject('Microsoft.XMLHTTP');}catch(h){}return null;},b=function(f){return f.readyState==4&&(f.status>=200&&f.status<300||f.status==304||f.status===0||f.status==1223);},c=function(f){if(b(f))return f.responseText;return null;},d=function(f){if(b(f)){var g=f.responseXML;return new CKEDITOR.xml(g&&g.firstChild?g:f.responseText);}return null;},e=function(f,g,h){var i=!!g,j=a();if(!j)return null;j.open('GET',f,i);if(i)j.onreadystatechange=function(){if(j.readyState==4){g(h(j));j=null;}};j.send(null);return i?'':h(j);};return{load:function(f,g){return e(f,g,c);},loadXml:function(f,g){return e(f,g,d);}};})();})(); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/ckeditor.php: -------------------------------------------------------------------------------- 1 | CKEditor web site to find more information about the editor. 10 | * \section install_sec Installation 11 | * \subsection step1 Include ckeditor.php in your PHP web site. 12 | * @code 13 | * 16 | * @endcode 17 | * \subsection step2 Create CKEditor class instance and use one of available methods to insert CKEditor. 18 | * @code 19 | * textarea("field1", "

Initial value.

"); 22 | * ?> 23 | * @endcode 24 | */ 25 | 26 | if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) ) 27 | include_once( 'ckeditor_php4.php' ) ; 28 | else 29 | include_once( 'ckeditor_php5.php' ) ; 30 | -------------------------------------------------------------------------------- /LICENSE.markdown: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010 Dumbwaiter Design 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/print/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @file Print Plugin 8 | */ 9 | 10 | CKEDITOR.plugins.add( 'print', 11 | { 12 | init : function( editor ) 13 | { 14 | var pluginName = 'print'; 15 | 16 | // Register the command. 17 | var command = editor.addCommand( pluginName, CKEDITOR.plugins.print ); 18 | 19 | // Register the toolbar button. 20 | editor.ui.addButton( 'Print', 21 | { 22 | label : editor.lang.print, 23 | command : pluginName 24 | }); 25 | } 26 | } ); 27 | 28 | CKEDITOR.plugins.print = 29 | { 30 | exec : function( editor ) 31 | { 32 | if ( CKEDITOR.env.opera ) 33 | return; 34 | else if ( CKEDITOR.env.gecko ) 35 | editor.window.$.print(); 36 | else 37 | editor.document.$.execCommand( "Print" ); 38 | }, 39 | canUndo : false, 40 | modes : { wysiwyg : !( CKEDITOR.env.opera ) } // It is imposible to print the inner document in Opera. 41 | }; 42 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/presets.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /* "Source" button label */ 7 | .cke_skin_kama .cke_button_source .cke_label 8 | { 9 | display: inline; 10 | } 11 | 12 | /* "Styles" panel size */ 13 | .cke_skin_kama .cke_styles_panel 14 | { 15 | width: 150px; 16 | height: 170px; 17 | } 18 | 19 | /* "Format" panel size */ 20 | .cke_skin_kama .cke_format_panel 21 | { 22 | width: 150px; 23 | height: 170px; 24 | } 25 | 26 | /* "Font" panel size */ 27 | .cke_skin_kama .cke_font_panel 28 | { 29 | width: 150px; 30 | height: 170px; 31 | } 32 | 33 | /* "Font Size" panel size */ 34 | .cke_skin_kama .cke_fontSize_panel 35 | { 36 | height: 170px; 37 | } 38 | 39 | /* "Font Size" combo width */ 40 | .cke_skin_kama .cke_fontSize .cke_text 41 | { 42 | width: 25px; 43 | } 44 | 45 | /* "Font Size" combo width (IE Quirks) */ 46 | .cke_skin_kama .cke_browser_iequirks .cke_fontSize .cke_text 47 | { 48 | width: 32px; 49 | } 50 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/core/htmlparser/cdata.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function() 7 | { 8 | 9 | /** 10 | * A lightweight representation of HTML text. 11 | * @constructor 12 | * @example 13 | */ 14 | CKEDITOR.htmlParser.cdata = function( value ) 15 | { 16 | /** 17 | * The CDATA value. 18 | * @type String 19 | * @example 20 | */ 21 | this.value = value; 22 | }; 23 | 24 | CKEDITOR.htmlParser.cdata.prototype = 25 | { 26 | /** 27 | * CDATA has the same type as {@link CKEDITOR.htmlParser.text} This is 28 | * a constant value set to {@link CKEDITOR.NODE_TEXT}. 29 | * @type Number 30 | * @example 31 | */ 32 | type : CKEDITOR.NODE_TEXT, 33 | 34 | /** 35 | * Writes write the CDATA with no special manipulations. 36 | * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML. 37 | */ 38 | writeHtml : function( writer ) 39 | { 40 | writer.write( this.value ); 41 | } 42 | }; 43 | })(); 44 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/presets.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /* "Source" button label */ 7 | .cke_skin_v2 .cke_button_source .cke_label 8 | { 9 | display: inline; /* FF2 */ 10 | display: inline-block; 11 | } 12 | 13 | /* "Styles" panel size */ 14 | .cke_skin_v2 .cke_styles_panel 15 | { 16 | width: 150px; 17 | height: 170px; 18 | } 19 | 20 | /* "Format" panel size */ 21 | .cke_skin_v2 .cke_format_panel 22 | { 23 | width: 150px; 24 | height: 170px; 25 | } 26 | 27 | /* "Font" panel size */ 28 | .cke_skin_v2 .cke_font_panel 29 | { 30 | width: 150px; 31 | height: 170px; 32 | } 33 | 34 | /* "Font Size" panel size */ 35 | .cke_skin_v2 .cke_fontSize_panel 36 | { 37 | height: 170px; 38 | } 39 | 40 | /* "Font Size" combo width */ 41 | .cke_skin_v2 .cke_fontSize .cke_text 42 | { 43 | width: 20px; 44 | } 45 | 46 | /* "Font Size" combo width (IE Quirks) */ 47 | .cke_skin_v2 .cke_browser_iequirks .cke_fontSize .cke_text 48 | { 49 | width: 32px; 50 | } 51 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/contents.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, 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: Arial, Verdana, sans-serif; 10 | font-size: 12px; 11 | 12 | /* Text color */ 13 | color: #222; 14 | 15 | /* Remove the background color to make it transparent */ 16 | background-color: #fff; 17 | } 18 | 19 | /* preserved spaces for rtl list item bullets. (#6249)*/ 20 | ol,ul,dl 21 | { 22 | padding-right:40px; 23 | } 24 | 25 | html 26 | { 27 | /* #3658: [IE6] Editor document has horizontal scrollbar on long lines 28 | To prevent this misbehavior, we show the scrollbar always */ 29 | _overflow-y: scroll; 30 | /* #6341: The text cursor must be set on the editor area. */ 31 | cursor: text; 32 | /* #6632: Avoid having "text" shape of cursor in IE7 scrollbars.*/ 33 | *cursor:auto; 34 | } 35 | 36 | img:-moz-broken 37 | { 38 | -moz-force-broken-image-icon : 1; 39 | width : 24px; 40 | height : 24px; 41 | } 42 | img, input, textarea 43 | { 44 | cursor: default; 45 | } 46 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/uicolor/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add( 'uicolor', 7 | { 8 | requires : [ 'dialog' ], 9 | lang : [ 'en', 'he' ], 10 | 11 | init : function( editor ) 12 | { 13 | if ( CKEDITOR.env.ie6Compat ) 14 | return; 15 | 16 | editor.addCommand( 'uicolor', new CKEDITOR.dialogCommand( 'uicolor' ) ); 17 | editor.ui.addButton( 'UIColor', 18 | { 19 | label : editor.lang.uicolor.title, 20 | command : 'uicolor', 21 | icon : this.path + 'uicolor.gif' 22 | }); 23 | CKEDITOR.dialog.add( 'uicolor', this.path + 'dialogs/uicolor.js' ); 24 | 25 | // Load YUI js files. 26 | CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( 27 | '_source/' + // @Packager.RemoveLine 28 | 'plugins/uicolor/yui/yui.js' 29 | )); 30 | 31 | // Load YUI css files. 32 | editor.element.getDocument().appendStyleSheet( CKEDITOR.getUrl( 33 | '_source/' + // @Packager.RemoveLine 34 | 'plugins/uicolor/yui/assets/yui.css' 35 | )); 36 | } 37 | } ); 38 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/presets.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /* "Source" button label */ 7 | .cke_skin_office2003 .cke_button_source .cke_label 8 | { 9 | display: inline; 10 | } 11 | 12 | /* "Styles" panel size */ 13 | .cke_skin_office2003 .cke_styles_panel 14 | { 15 | width: 150px; 16 | height: 170px; 17 | } 18 | 19 | /* "Format" panel size */ 20 | .cke_skin_office2003 .cke_format_panel 21 | { 22 | width: 150px; 23 | height: 170px; 24 | } 25 | 26 | /* "Font" panel size */ 27 | .cke_skin_office2003 .cke_font_panel 28 | { 29 | width: 150px; 30 | height: 170px; 31 | } 32 | 33 | /* "Font Size" panel size */ 34 | .cke_skin_office2003 .cke_fontSize_panel 35 | { 36 | height: 170px; 37 | } 38 | 39 | /* "Font Size" combo width */ 40 | .cke_skin_office2003 .cke_fontSize .cke_text 41 | { 42 | width: 20px; 43 | } 44 | 45 | /* "Font Size" combo width (IE Quirks) */ 46 | .cke_skin_office2003 .cke_browser_iequirks .cke_fontSize .cke_text 47 | { 48 | width: 32px; 49 | } 50 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/pastetext/dialogs/pastetext.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){CKEDITOR.dialog.add('pastetext',function(a){return{title:a.lang.pasteText.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?368:350,minHeight:240,onShow:function(){this.getContentElement('general','content').getInputElement().setValue('');},onOk:function(){var b=this.getContentElement('general','content').getInputElement().getValue(),c=this.getParentEditor();setTimeout(function(){c.fire('paste',{text:b});},0);},contents:[{label:a.lang.common.generalTab,id:'general',elements:[{type:'html',id:'pasteMsg',html:'
'+a.lang.clipboard.pasteMsg+'
'},{type:'textarea',id:'content',className:'cke_pastetext',onLoad:function(){var b=this.getDialog().getContentElement('general','pasteMsg').getElement(),c=this.getElement().getElementsByTag('textarea').getItem(0);c.setAttribute('aria-labelledby',b.$.id);c.setStyle('direction',a.config.contentsLangDirection);},focus:function(){this.getElement().focus();}}]}]};});})(); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/wsc/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @file Spell checker 8 | */ 9 | 10 | // Register a plugin named "wsc". 11 | CKEDITOR.plugins.add( 'wsc', 12 | { 13 | requires : [ 'dialog' ], 14 | init : function( editor ) 15 | { 16 | var commandName = 'checkspell'; 17 | 18 | var command = editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) ); 19 | 20 | // SpellChecker doesn't work in Opera and with custom domain 21 | command.modes = { wysiwyg : ( !CKEDITOR.env.opera && !CKEDITOR.env.air && document.domain == window.location.hostname ) }; 22 | 23 | editor.ui.addButton( 'SpellChecker', 24 | { 25 | label : editor.lang.spellCheck.toolbar, 26 | command : commandName 27 | }); 28 | CKEDITOR.dialog.add( commandName, this.path + 'dialogs/wsc.js' ); 29 | } 30 | }); 31 | 32 | CKEDITOR.config.wsc_customerId = CKEDITOR.config.wsc_customerId || '1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk' ; 33 | CKEDITOR.config.wsc_customLoaderScript = CKEDITOR.config.wsc_customLoaderScript || null; 34 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/lang/_languages.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | var CKEDITOR_LANGS=(function(){var b={af:'Afrikaans',ar:'Arabic',bg:'Bulgarian',bn:'Bengali/Bangla',bs:'Bosnian',ca:'Catalan',cs:'Czech',cy:'Welsh',da:'Danish',de:'German',el:'Greek',en:'English','en-au':'English (Australia)','en-ca':'English (Canadian)','en-gb':'English (United Kingdom)',eo:'Esperanto',es:'Spanish',et:'Estonian',eu:'Basque',fa:'Persian',fi:'Finnish',fo:'Faroese',fr:'French','fr-ca':'French (Canada)',gl:'Galician',gu:'Gujarati',he:'Hebrew',hi:'Hindi',hr:'Croatian',hu:'Hungarian',is:'Icelandic',it:'Italian',ja:'Japanese',km:'Khmer',ko:'Korean',lt:'Lithuanian',lv:'Latvian',mn:'Mongolian',ms:'Malay',nb:'Norwegian Bokmal',nl:'Dutch',no:'Norwegian',pl:'Polish',pt:'Portuguese (Portugal)','pt-br':'Portuguese (Brazil)',ro:'Romanian',ru:'Russian',sk:'Slovak',sl:'Slovenian',sr:'Serbian (Cyrillic)','sr-latn':'Serbian (Latin)',sv:'Swedish',th:'Thai',tr:'Turkish',uk:'Ukrainian',vi:'Vietnamese',zh:'Chinese Traditional','zh-cn':'Chinese Simplified'},c=[];for(var d in b)c.push({code:d,name:b[d]});c.sort(function(e,f){return e.name 2 | 6 | 7 | 8 | 9 | 10 | 47 | 48 |

49 | 50 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/xml/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){CKEDITOR.plugins.add('xml',{});CKEDITOR.xml=function(a){var b=null;if(typeof a=='object')b=a;else{var c=(a||'').replace(/ /g,'\xa0');if(window.DOMParser)b=new DOMParser().parseFromString(c,'text/xml');else if(window.ActiveXObject){try{b=new ActiveXObject('MSXML2.DOMDocument');}catch(d){try{b=new ActiveXObject('Microsoft.XmlDom');}catch(d){}}if(b){b.async=false;b.resolveExternals=false;b.validateOnParse=false;b.loadXML(c);}}}this.baseXml=b;};CKEDITOR.xml.prototype={selectSingleNode:function(a,b){var c=this.baseXml;if(b||(b=c))if(CKEDITOR.env.ie||b.selectSingleNode)return b.selectSingleNode(a);else if(c.evaluate){var d=c.evaluate(a,b,null,9,null);return d&&d.singleNodeValue||null;}return null;},selectNodes:function(a,b){var c=this.baseXml,d=[];if(b||(b=c))if(CKEDITOR.env.ie||b.selectNodes)return b.selectNodes(a);else if(c.evaluate){var e=c.evaluate(a,b,null,5,null);if(e){var f;while(f=e.iterateNext())d.push(f);}}return d;},getInnerXml:function(a,b){var c=this.selectSingleNode(a,b),d=[];if(c){c=c.firstChild;while(c){if(c.xml)d.push(c.xml);else if(window.XMLSerializer)d.push(new XMLSerializer().serializeToString(c));c=c.nextSibling;}}return d.length?d.join(''):null;}};})(); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/wsc/dialogs/ciframe.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 47 | 48 |

49 | 50 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/core/htmlparser/text.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function() 7 | { 8 | var spacesRegex = /[\t\r\n ]{2,}|[\t\r\n]/g; 9 | 10 | /** 11 | * A lightweight representation of HTML text. 12 | * @constructor 13 | * @example 14 | */ 15 | CKEDITOR.htmlParser.text = function( value ) 16 | { 17 | /** 18 | * The text value. 19 | * @type String 20 | * @example 21 | */ 22 | this.value = value; 23 | 24 | /** @private */ 25 | this._ = 26 | { 27 | isBlockLike : false 28 | }; 29 | }; 30 | 31 | CKEDITOR.htmlParser.text.prototype = 32 | { 33 | /** 34 | * The node type. This is a constant value set to {@link CKEDITOR.NODE_TEXT}. 35 | * @type Number 36 | * @example 37 | */ 38 | type : CKEDITOR.NODE_TEXT, 39 | 40 | /** 41 | * Writes the HTML representation of this text to a CKEDITOR.htmlWriter. 42 | * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML. 43 | * @example 44 | */ 45 | writeHtml : function( writer, filter ) 46 | { 47 | var text = this.value; 48 | 49 | if ( filter && !( text = filter.onText( text, this ) ) ) 50 | return; 51 | 52 | writer.text( text ); 53 | } 54 | }; 55 | })(); 56 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/styles/styles/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.stylesSet.add('default',[{name:'Blue Title',element:'h3',styles:{color:'Blue'}},{name:'Red Title',element:'h3',styles:{color:'Red'}},{name:'Marker: Yellow',element:'span',styles:{'background-color':'Yellow'}},{name:'Marker: Green',element:'span',styles:{'background-color':'Lime'}},{name:'Big',element:'big'},{name:'Small',element:'small'},{name:'Typewriter',element:'tt'},{name:'Computer Code',element:'code'},{name:'Keyboard Phrase',element:'kbd'},{name:'Sample Text',element:'samp'},{name:'Variable',element:'var'},{name:'Deleted Text',element:'del'},{name:'Inserted Text',element:'ins'},{name:'Cited Work',element:'cite'},{name:'Inline Quotation',element:'q'},{name:'Language: RTL',element:'span',attributes:{dir:'rtl'}},{name:'Language: LTR',element:'span',attributes:{dir:'ltr'}},{name:'Image on Left',element:'img',attributes:{style:'padding: 5px; margin-right: 5px',border:'2',align:'left'}},{name:'Image on Right',element:'img',attributes:{style:'padding: 5px; margin-left: 5px',border:'2',align:'right'}},{name:'Borderless Table',element:'table',styles:{'border-style':'hidden','background-color':'#E6E6FA'}},{name:'Square Bulleted List',element:'ul',styles:{'list-style-type':'square'}}]); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/a11yhelp/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @fileOverview Plugin definition for the a11yhelp, which provides a dialog 8 | * with accessibility related help. 9 | */ 10 | 11 | (function() 12 | { 13 | var pluginName = 'a11yhelp', 14 | commandName = 'a11yHelp'; 15 | 16 | CKEDITOR.plugins.add( pluginName, 17 | { 18 | // List of available localizations. 19 | availableLangs : { en:1, he:1 }, 20 | 21 | init : function( editor ) 22 | { 23 | var plugin = this; 24 | editor.addCommand( commandName, 25 | { 26 | exec : function() 27 | { 28 | var langCode = editor.langCode; 29 | langCode = plugin.availableLangs[ langCode ] ? langCode : 'en'; 30 | 31 | CKEDITOR.scriptLoader.load( 32 | CKEDITOR.getUrl( plugin.path + 'lang/' + langCode + '.js' ), 33 | function() 34 | { 35 | CKEDITOR.tools.extend( editor.lang, plugin.langEntries[ langCode ] ); 36 | editor.openDialog( commandName ); 37 | }); 38 | }, 39 | modes : { wysiwyg:1, source:1 }, 40 | canUndo : false 41 | }); 42 | 43 | CKEDITOR.dialog.add( commandName, this.path + 'dialogs/a11yhelp.js' ); 44 | } 45 | }); 46 | })(); 47 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/about/dialogs/about.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('about',function(a){var b=a.lang.about;return{title:CKEDITOR.env.ie?b.dlgTitle:b.title,minWidth:390,minHeight:230,contents:[{id:'tab1',label:'',title:'',expand:true,padding:0,elements:[{type:'html',html:''+'
'+''+'

'+'CKEditor '+CKEDITOR.version+' (revision '+CKEDITOR.revision+')
'+'http://ckeditor.com'+'

'+'

'+b.moreInfo+'
'+'http://ckeditor.com/license'+'

'+'

'+b.copy.replace('$1','CKSource - Frederico Knabben')+'

'+'
'}]}],buttons:[CKEDITOR.dialog.cancelButton]};}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/v2/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | .cke_skin_v2 .cke_tpl_list{border:#dcdcdc 2px solid;background-color:#fff;overflow:auto;width:100%;height:220px;}.cke_skin_v2 .cke_tpl_item{margin:5px;padding:7px;border:#eee 1px solid;*width:88%;}.cke_skin_v2 .cke_tpl_preview{border-collapse:separate;text-indent:0;width:100%;}.cke_skin_v2 .cke_tpl_preview td{padding:2px;vertical-align:middle;}.cke_skin_v2 .cke_tpl_preview .cke_tpl_preview_img{width:100px;}.cke_skin_v2 .cke_tpl_preview span{white-space:normal;}.cke_skin_v2 .cke_tpl_title{font-weight:bold;}.cke_skin_v2 .cke_tpl_list a:active .cke_tpl_item,.cke_skin_v2 .cke_tpl_list a:hover .cke_tpl_item,.cke_skin_v2 .cke_tpl_list a:focus .cke_tpl_item{border:#f93 1px solid!important;background-color:#fffacd!important;}.cke_skin_v2 .cke_tpl_list a:active *,.cke_skin_v2 .cke_tpl_list a:hover *,.cke_skin_v2 .cke_tpl_list a:focus *{cursor:pointer;}.cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:active,.cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:hover,.cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:focus{background-position:0 0;}.cke_skin_v2 .cke_tpl_list a:active .cke_tpl_item,.cke_skin_v2 .cke_tpl_list a:hover .cke_tpl_item,.cke_skin_v2 .cke_tpl_list a:focus .cke_tpl_item{border-width:3px;}.cke_skin_v2 .cke_tpl_empty,.cke_tpl_loading{text-align:center;padding:5px;} 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/adobeair/application.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | com.ckeditor.air.sample 8 | CKEditor - Adobe AIR Sample Application 9 | 1.0 10 | CKEditor AIR Samples 11 | This is a sample AIR application of CKEditor. 12 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 13 | 14 | _samples/adobeair/sample.html 15 | CKEditor - Adobe AIR Sample 16 | standard 17 | false 18 | true 19 | true 20 | true 21 | true 22 | 100 23 | 80 24 | 950 25 | 700 26 | 900 600 27 | 28 | CKEditor/Sample AIR Application 29 | CKEditor/Sample AIR Application 30 | false 31 | false 32 | 33 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/newpage/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @file Horizontal Page Break 8 | */ 9 | 10 | // Register a plugin named "newpage". 11 | CKEDITOR.plugins.add( 'newpage', 12 | { 13 | init : function( editor ) 14 | { 15 | editor.addCommand( 'newpage', 16 | { 17 | modes : { wysiwyg:1, source:1 }, 18 | 19 | exec : function( editor ) 20 | { 21 | var command = this; 22 | editor.setData( editor.config.newpage_html || '', function() 23 | { 24 | // Save the undo snapshot after all document changes are affected. (#4889) 25 | setTimeout( function () 26 | { 27 | editor.fire( 'afterCommandExec', 28 | { 29 | name: command.name, 30 | command: command 31 | } ); 32 | editor.selectionChange(); 33 | 34 | }, 200 ); 35 | } ); 36 | editor.focus(); 37 | }, 38 | async : true 39 | }); 40 | 41 | editor.ui.addButton( 'NewPage', 42 | { 43 | label : editor.lang.newPage, 44 | command : 'newpage' 45 | }); 46 | } 47 | }); 48 | /** 49 | * The HTML to load in the editor when the "new page" command is executed. 50 | * @type String 51 | * @default '' 52 | * @example 53 | * config.newpage_html = '<p>Type your text here.</p>'; 54 | */ 55 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/templates/templates/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.addTemplates('default',{imagesPath:CKEDITOR.getUrl(CKEDITOR.plugins.getPath('templates')+'templates/images/'),templates:[{title:'Image and Title',image:'template1.gif',description:'One main image with a title and text that surround the image.',html:'

Type the title here

Type the text here

'},{title:'Strange Template',image:'template2.gif',description:'A template that defines two colums, each one with a title, and some text.',html:'

Title 1

Title 2

Text 1Text 2

More text goes here.

'},{title:'Text and Table',image:'template3.gif',description:'A title with some text and a table.',html:'

Title goes here

Table title
   
   
   

Type the text here

'}]}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/core/htmlparser/comment.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * A lightweight representation of an HTML comment. 8 | * @constructor 9 | * @example 10 | */ 11 | CKEDITOR.htmlParser.comment = function( value ) 12 | { 13 | /** 14 | * The comment text. 15 | * @type String 16 | * @example 17 | */ 18 | this.value = value; 19 | 20 | /** @private */ 21 | this._ = 22 | { 23 | isBlockLike : false 24 | }; 25 | }; 26 | 27 | CKEDITOR.htmlParser.comment.prototype = 28 | { 29 | /** 30 | * The node type. This is a constant value set to {@link CKEDITOR.NODE_COMMENT}. 31 | * @type Number 32 | * @example 33 | */ 34 | type : CKEDITOR.NODE_COMMENT, 35 | 36 | /** 37 | * Writes the HTML representation of this comment to a CKEDITOR.htmlWriter. 38 | * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML. 39 | * @example 40 | */ 41 | writeHtml : function( writer, filter ) 42 | { 43 | var comment = this.value; 44 | 45 | if ( filter ) 46 | { 47 | if ( !( comment = filter.onComment( comment, this ) ) ) 48 | return; 49 | 50 | if ( typeof comment != 'string' ) 51 | { 52 | comment.parent = this.parent; 53 | comment.writeHtml( writer, filter ); 54 | return; 55 | } 56 | } 57 | 58 | writer.comment( comment ); 59 | } 60 | }; 61 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/kama/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | .cke_skin_kama .cke_tpl_list{border:#dcdcdc 2px solid;background-color:#fff;overflow-y:auto;overflow-x:hidden;width:100%;height:220px;}.cke_skin_kama .cke_tpl_item{margin:5px;padding:7px;border:#eee 1px solid;*width:88%;}.cke_skin_kama .cke_tpl_preview{border-collapse:separate;text-indent:0;width:100%;}.cke_skin_kama .cke_tpl_preview td{padding:2px;vertical-align:middle;}.cke_skin_kama .cke_tpl_preview .cke_tpl_preview_img{width:100px;}.cke_skin_kama .cke_tpl_preview span{white-space:normal;}.cke_skin_kama .cke_tpl_title{font-weight:bold;}.cke_skin_kama .cke_tpl_list a:active .cke_tpl_item,.cke_skin_kama .cke_tpl_list a:hover .cke_tpl_item,.cke_skin_kama .cke_tpl_list a:focus .cke_tpl_item{border:#f93 1px solid;background-color:#fffacd;}.cke_skin_kama .cke_tpl_list a:active *,.cke_skin_kama .cke_tpl_list a:hover *,.cke_skin_kama .cke_tpl_list a:focus *{cursor:pointer;}.cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:active,.cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:hover,.cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:focus{background-position:0 0;}.cke_skin_kama .cke_hc .cke_tpl_list a:active .cke_tpl_item,.cke_skin_kama .cke_hc .cke_tpl_list a:hover .cke_tpl_item,.cke_skin_kama .cke_hc .cke_tpl_list a:focus .cke_tpl_item{border-width:3px;}.cke_skin_kama .cke_tpl_empty,.cke_tpl_loading{text-align:center;padding:5px;} 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/link/dialogs/anchor.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('anchor',function(a){var b=function(c,d,e){var g=this;g.editMode=true;g.editObj=e;var f=g.editObj.getAttribute('name');if(f)g.setValueOf('info','txtName',f);else g.setValueOf('info','txtName','');};return{title:a.lang.anchor.title,minWidth:300,minHeight:60,onOk:function(){var f=this;var c=f.getValueOf('info','txtName'),d=CKEDITOR.env.ie&&!(CKEDITOR.document.$.documentMode>=8)?a.document.createElement(''):a.document.createElement('a');if(f.editMode){f.editObj.copyAttributes(d,{name:1});f.editObj.moveChildren(d);}d.data('cke-saved-name',false);d.setAttribute('name',c);var e=a.createFakeElement(d,'cke_anchor','anchor');if(!f.editMode)a.insertElement(e);else{e.replace(f.fakeObj);a.getSelection().selectElement(e);}return true;},onShow:function(){var e=this;e.editObj=false;e.fakeObj=false;e.editMode=false;var c=a.getSelection(),d=c.getSelectedElement();if(d&&d.data('cke-real-element-type')&&d.data('cke-real-element-type')=='anchor'){e.fakeObj=d;d=a.restoreRealElement(e.fakeObj);b.apply(e,[a,c,d]);c.selectElement(e.fakeObj);}e.getContentElement('info','txtName').focus();},contents:[{id:'info',label:a.lang.anchor.title,accessKey:'I',elements:[{type:'text',id:'txtName',label:a.lang.anchor.name,required:true,validate:function(){if(!this.getValue()){alert(a.lang.anchor.errorName);return false;}return true;}}]}]};}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/iframedialog/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add('iframedialog',{requires:['dialog'],onLoad:function(){CKEDITOR.dialog.addIframe=function(a,b,c,d,e,f){var g={type:'iframe',src:c,width:'100%',height:'100%'};if(typeof f=='function')g.onContentLoad=f;var h={title:b,minWidth:d,minHeight:e,contents:[{id:'iframe',label:b,expand:true,elements:[g]}]};return this.add(a,function(){return h;});};(function(){var a=function(b,c,d){if(arguments.length<3)return;var e=this._||(this._={}),f=c.onContentLoad&&CKEDITOR.tools.bind(c.onContentLoad,this),g=CKEDITOR.tools.cssLength(c.width),h=CKEDITOR.tools.cssLength(c.height);e.frameId=CKEDITOR.tools.getNextId()+'_iframe';b.on('load',function(){var k=CKEDITOR.document.getById(e.frameId),l=k.getParent();l.setStyles({width:g,height:h});});var i={src:'%2',id:e.frameId,frameborder:0,allowtransparency:true},j=[];if(typeof c.onContentLoad=='function')i.onload='CKEDITOR.tools.callFunction(%1);';CKEDITOR.ui.dialog.uiElement.call(this,b,c,j,'iframe',{width:g,height:h},i,'');d.push('
');j=j.join('');b.on('show',function(){var k=CKEDITOR.document.getById(e.frameId),l=k.getParent(),m=CKEDITOR.tools.addFunction(f),n=j.replace('%1',m).replace('%2',CKEDITOR.tools.htmlEncode(c.src));l.setHtml(n);});};a.prototype=new CKEDITOR.ui.dialog.uiElement();CKEDITOR.dialog.addUIElement('iframe',{build:function(b,c,d){return new a(b,c,d);}});})();}}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/elementspath.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | @media print 7 | { 8 | .cke_path 9 | { 10 | display: none; 11 | } 12 | } 13 | 14 | .cke_skin_kama .cke_path 15 | { 16 | display: inline-block; 17 | float: left; 18 | margin-top: 5px; 19 | } 20 | 21 | .cke_skin_kama .cke_rtl .cke_path 22 | { 23 | float: right; 24 | } 25 | 26 | .cke_shared .cke_skin_kama .cke_path 27 | { 28 | _width: 100%; 29 | margin: 0 0 5px; 30 | } 31 | 32 | .cke_skin_kama .cke_path a, 33 | .cke_skin_kama .cke_path .cke_empty 34 | { 35 | display: inline-block; 36 | float: left; 37 | padding: 1px 4px 0; 38 | color: #60676a; 39 | cursor: default; 40 | } 41 | 42 | .cke_skin_kama .cke_path .cke_empty 43 | { 44 | visibility: hidden; 45 | } 46 | 47 | .cke_skin_kama .cke_rtl .cke_path a, 48 | .cke_skin_kama .cke_rtl .cke_path cke_empty 49 | { 50 | float: right; 51 | } 52 | 53 | .cke_skin_kama .cke_path a:hover, 54 | .cke_skin_kama .cke_path a:focus, 55 | .cke_skin_kama .cke_path a:active /* IE */ 56 | { 57 | background-color: #dff1ff; 58 | padding: 1px 4px 0; 59 | outline: none; 60 | color : #000; 61 | } 62 | 63 | /* IE double float-right workaround */ 64 | .cke_skin_kama .cke_browser_ie .cke_rtl .cke_path a, 65 | .cke_skin_kama .cke_browser_ie .cke_rtl .cke_path .cke_empty 66 | { 67 | float: none; 68 | } 69 | 70 | .cke_skin_kama .cke_path .cke_label 71 | { 72 | display: none; 73 | } 74 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/skins/office2003/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | .cke_skin_office2003 .cke_tpl_list{border:#dcdcdc 2px solid;background-color:#fff;overflow:auto;width:100%;height:220px;}.cke_skin_office2003 .cke_tpl_item{margin:5px;padding:7px;border:#eee 1px solid;*width:88%;}.cke_skin_office2003 .cke_tpl_preview{border-collapse:separate;text-indent:0;width:100%;}.cke_skin_office2003 .cke_tpl_preview td{padding:2px;vertical-align:middle;}.cke_skin_office2003 .cke_tpl_preview .cke_tpl_preview_img{width:100px;}.cke_skin_office2003 .cke_tpl_preview span{white-space:normal;}.cke_skin_office2003 .cke_tpl_title{font-weight:bold;}.cke_skin_office2003 .cke_tpl_list a:active .cke_tpl_item,.cke_skin_office2003 .cke_tpl_list a:hover .cke_tpl_item,.cke_skin_office2003 .cke_tpl_list a:focus .cke_tpl_item{border:#f93 1px solid!important;background-color:#fffacd!important;}.cke_skin_office2003 .cke_tpl_list a:active *,.cke_skin_office2003 .cke_tpl_list a:hover *,.cke_skin_office2003 .cke_tpl_list a:focus *{cursor:pointer;}.cke_skin_office2003 .cke_browser_ie6 .cke_tpl_list a:active,.cke_skin_office2003 .cke_browser_ie6 .cke_tpl_list a:hover,.cke_skin_office2003 .cke_browser_ie6 .cke_tpl_list a:focus{background-position:0 0;}.cke_skin_office2003 .cke_tpl_list a:active .cke_tpl_item,.cke_skin_office2003 .cke_tpl_list a:hover .cke_tpl_item,.cke_skin_office2003 .cke_tpl_list a:focus .cke_tpl_item{border-width:3px;}.cke_skin_office2003 .cke_tpl_empty,.cke_tpl_loading{text-align:center;padding:5px;} 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/core/dom/documentfragment.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @class DocumentFragment is a "lightweight" or "minimal" Document object. It is 8 | * commonly used to extract a portion of a document's tree or to create a new 9 | * fragment of a document. Various operations may take DocumentFragment objects 10 | * as arguments and results in all the child nodes of the DocumentFragment being 11 | * moved to the child list of this node. 12 | * @param {Object} ownerDocument 13 | */ 14 | CKEDITOR.dom.documentFragment = function( ownerDocument ) 15 | { 16 | ownerDocument = ownerDocument || CKEDITOR.document; 17 | this.$ = ownerDocument.$.createDocumentFragment(); 18 | }; 19 | 20 | CKEDITOR.tools.extend( CKEDITOR.dom.documentFragment.prototype, 21 | CKEDITOR.dom.element.prototype, 22 | { 23 | type : CKEDITOR.NODE_DOCUMENT_FRAGMENT, 24 | insertAfterNode : function( node ) 25 | { 26 | node = node.$; 27 | node.parentNode.insertBefore( this.$, node.nextSibling ); 28 | } 29 | }, 30 | true, 31 | { 32 | 'append' : 1, 33 | 'appendBogus' : 1, 34 | 'getFirst' : 1, 35 | 'getLast' : 1, 36 | 'appendTo' : 1, 37 | 'moveChildren' : 1, 38 | 'insertBefore' : 1, 39 | 'insertAfterNode' : 1, 40 | 'replace' : 1, 41 | 'trim' : 1, 42 | 'type' : 1, 43 | 'ltrim' : 1, 44 | 'rtrim' : 1, 45 | 'getDocument' : 1, 46 | 'getChildCount' : 1, 47 | 'getChild' : 1, 48 | 'getChildren' : 1 49 | } ); 50 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/ckeditor_basic_source.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | // Compressed version of core/ckeditor_base.js. See original for instructions. 7 | /*jsl:ignore*/ 8 | if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.5.3',revision:'6655',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f=0?'&':'?')+('t=')+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})(); 9 | /*jsl:end*/ 10 | 11 | // Uncomment the following line to have a new timestamp generated for each 12 | // request, having clear cache load of the editor code. 13 | // CKEDITOR.timestamp = ( new Date() ).valueOf(); 14 | 15 | // Set the script name to be loaded by the loader. 16 | CKEDITOR._autoLoad = 'core/ckeditor_basic'; 17 | 18 | // Include the loader script. 19 | document.write( 20 | '' ); 21 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/wsc/dialogs/wsc.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | html, body 7 | { 8 | background-color: transparent; 9 | margin: 0px; 10 | padding: 0px; 11 | } 12 | 13 | body 14 | { 15 | padding: 10px; 16 | } 17 | 18 | body, td, input, select, textarea 19 | { 20 | font-size: 11px; 21 | font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; 22 | } 23 | 24 | .midtext 25 | { 26 | padding:0px; 27 | margin:10px; 28 | } 29 | 30 | .midtext p 31 | { 32 | padding:0px; 33 | margin:10px; 34 | } 35 | 36 | .Button 37 | { 38 | border: #737357 1px solid; 39 | color: #3b3b1f; 40 | background-color: #c7c78f; 41 | } 42 | 43 | .PopupTabArea 44 | { 45 | color: #737357; 46 | background-color: #e3e3c7; 47 | } 48 | 49 | .PopupTitleBorder 50 | { 51 | border-bottom: #d5d59d 1px solid; 52 | } 53 | .PopupTabEmptyArea 54 | { 55 | padding-left: 10px; 56 | border-bottom: #d5d59d 1px solid; 57 | } 58 | 59 | .PopupTab, .PopupTabSelected 60 | { 61 | border-right: #d5d59d 1px solid; 62 | border-top: #d5d59d 1px solid; 63 | border-left: #d5d59d 1px solid; 64 | padding: 3px 5px 3px 5px; 65 | color: #737357; 66 | } 67 | 68 | .PopupTab 69 | { 70 | margin-top: 1px; 71 | border-bottom: #d5d59d 1px solid; 72 | cursor: pointer; 73 | } 74 | 75 | .PopupTabSelected 76 | { 77 | font-weight: bold; 78 | cursor: default; 79 | padding-top: 4px; 80 | border-bottom: #f1f1e3 1px solid; 81 | background-color: #f1f1e3; 82 | } 83 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/asp/sample_posteddata.asp: -------------------------------------------------------------------------------- 1 | <%@ codepage="65001" language="VBScript" %> 2 | <% Option Explicit %> 3 | 4 | 8 | 9 | 10 | Sample - CKEditor 11 | 12 | 13 | 14 | 15 |

16 | CKEditor - Posted Data 17 |

18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | <% 27 | Dim sForm 28 | For Each sForm in Request.Form 29 | %> 30 | 31 | 32 | 33 | 34 | <% Next %> 35 |
Field NameValue
<%=Server.HTMLEncode( sForm )%>
<%=Server.HTMLEncode( Request.Form(sForm) )%>
36 |
45 | 46 | 47 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/scayt/dialogs/toolbar.css: -------------------------------------------------------------------------------- 1 | a 2 | { 3 | text-decoration:none; 4 | padding: 2px 4px 4px 6px; 5 | display : block; 6 | border-width: 1px; 7 | border-style: solid; 8 | margin : 0px; 9 | } 10 | 11 | a.cke_scayt_toogle:hover, 12 | a.cke_scayt_toogle:focus, 13 | a.cke_scayt_toogle:active 14 | { 15 | border-color: #316ac5; 16 | background-color: #dff1ff; 17 | color : #000; 18 | cursor: pointer; 19 | margin : 0px; 20 | } 21 | a.cke_scayt_toogle { 22 | color : #316ac5; 23 | border-color: #fff; 24 | } 25 | .scayt_enabled a.cke_scayt_item { 26 | color : #316ac5; 27 | border-color: #fff; 28 | margin : 0px; 29 | } 30 | .scayt_disabled a.cke_scayt_item { 31 | color : gray; 32 | border-color : #fff; 33 | } 34 | .scayt_enabled a.cke_scayt_item:hover, 35 | .scayt_enabled a.cke_scayt_item:focus, 36 | .scayt_enabled a.cke_scayt_item:active 37 | { 38 | border-color: #316ac5; 39 | background-color: #dff1ff; 40 | color : #000; 41 | cursor: pointer; 42 | } 43 | .scayt_disabled a.cke_scayt_item:hover, 44 | .scayt_disabled a.cke_scayt_item:focus, 45 | .scayt_disabled a.cke_scayt_item:active 46 | { 47 | border-color: gray; 48 | background-color: #dff1ff; 49 | color : gray; 50 | cursor: no-drop; 51 | } 52 | .cke_scayt_set_on, .cke_scayt_set_off 53 | { 54 | display: none; 55 | } 56 | .scayt_enabled .cke_scayt_set_on 57 | { 58 | display: none; 59 | } 60 | .scayt_disabled .cke_scayt_set_on 61 | { 62 | display: inline; 63 | } 64 | .scayt_disabled .cke_scayt_set_off 65 | { 66 | display: none; 67 | } 68 | .scayt_enabled .cke_scayt_set_off 69 | { 70 | display: inline; 71 | } 72 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/elementspath.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | @media print 7 | { 8 | .cke_path 9 | { 10 | display: none; 11 | } 12 | } 13 | 14 | .cke_skin_v2 .cke_path 15 | { 16 | padding: 3px 3px 0 3px; 17 | display: inline-block; 18 | float: left; 19 | } 20 | 21 | .cke_skin_v2 .cke_rtl .cke_path 22 | { 23 | float: right; 24 | } 25 | 26 | .cke_skin_v2 .cke_path a, 27 | .cke_skin_v2 .cke_path .cke_empty 28 | { 29 | display: inline-block; 30 | float: left; 31 | border: solid 1px #efefde; 32 | background-color: #efefde; 33 | padding-top: 1px; 34 | padding-bottom: 1px; 35 | padding-left: 4px; 36 | padding-right: 4px; 37 | margin-bottom : 3px; 38 | cursor: default; 39 | } 40 | 41 | .cke_skin_v2 .cke_path .cke_empty 42 | { 43 | visibility: hidden; 44 | } 45 | 46 | .cke_skin_v2 .cke_rtl .cke_path a, 47 | .cke_skin_v2 .cke_rtl .cke_path cke_empty 48 | { 49 | float: right; 50 | } 51 | 52 | .cke_skin_v2 .cke_path a:hover, 53 | .cke_skin_v2 .cke_path a:focus, 54 | .cke_skin_v2 .cke_path a:active /* IE */ 55 | { 56 | border: solid 1px #316ac5; 57 | background-color: #dff1ff; 58 | padding-top: 1px; 59 | padding-bottom: 1px; 60 | padding-left: 4px; 61 | padding-right: 4px; 62 | outline: none; 63 | } 64 | 65 | .cke_skin_v2 .cke_browser_ie .cke_rtl .cke_path a, 66 | .cke_skin_v2 .cke_browser_ie .cke_rtl .cke_path .cke_empty 67 | { 68 | float: none; 69 | } 70 | 71 | .cke_skin_v2 .cke_path .cke_label 72 | { 73 | display: none; 74 | } 75 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/find/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add( 'find', 7 | { 8 | init : function( editor ) 9 | { 10 | var forms = CKEDITOR.plugins.find; 11 | editor.ui.addButton( 'Find', 12 | { 13 | label : editor.lang.findAndReplace.find, 14 | command : 'find' 15 | }); 16 | var findCommand = editor.addCommand( 'find', new CKEDITOR.dialogCommand( 'find' ) ); 17 | findCommand.canUndo = false; 18 | 19 | editor.ui.addButton( 'Replace', 20 | { 21 | label : editor.lang.findAndReplace.replace, 22 | command : 'replace' 23 | }); 24 | var replaceCommand = editor.addCommand( 'replace', new CKEDITOR.dialogCommand( 'replace' ) ); 25 | replaceCommand.canUndo = false; 26 | 27 | CKEDITOR.dialog.add( 'find', this.path + 'dialogs/find.js' ); 28 | CKEDITOR.dialog.add( 'replace', this.path + 'dialogs/find.js' ); 29 | }, 30 | 31 | requires : [ 'styles' ] 32 | } ); 33 | 34 | /** 35 | * Defines the style to be used to highlight results with the find dialog. 36 | * @type Object 37 | * @default { element : 'span', styles : { 'background-color' : '#004', 'color' : '#fff' } } 38 | * @example 39 | * // Highlight search results with blue on yellow. 40 | * config.find_highlight = 41 | * { 42 | * element : 'span', 43 | * styles : { 'background-color' : '#ff0', 'color' : '#00f' } 44 | * }; 45 | */ 46 | CKEDITOR.config.find_highlight = { element : 'span', styles : { 'background-color' : '#004', 'color' : '#fff' } }; 47 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/ckeditor_source.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | // Compressed version of core/ckeditor_base.js. See original for instructions. 7 | /*jsl:ignore*/ 8 | if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.5.3',revision:'6655',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f=0?'&':'?')+('t=')+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})(); 9 | /*jsl:end*/ 10 | 11 | // Uncomment the following line to have a new timestamp generated for each 12 | // request, having clear cache load of the editor code. 13 | // CKEDITOR.timestamp = ( new Date() ).valueOf(); 14 | 15 | if ( CKEDITOR.loader ) 16 | CKEDITOR.loader.load( 'core/ckeditor' ); 17 | else 18 | { 19 | // Set the script name to be loaded by the loader. 20 | CKEDITOR._autoLoad = 'core/ckeditor'; 21 | 22 | // Include the loader script. 23 | document.write( 24 | '' ); 25 | } 26 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/forms/dialogs/hiddenfield.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('hiddenfield',function(a){return{title:a.lang.hidden.title,hiddenField:null,minWidth:350,minHeight:110,onShow:function(){var e=this;delete e.hiddenField;var b=e.getParentEditor(),c=b.getSelection(),d=c.getSelectedElement();if(d&&d.data('cke-real-element-type')&&d.data('cke-real-element-type')=='hiddenfield'){e.hiddenField=d;d=b.restoreRealElement(e.hiddenField);e.setupContent(d);c.selectElement(e.hiddenField);}},onOk:function(){var g=this;var b=g.getValueOf('info','_cke_saved_name'),c=g.getValueOf('info','value'),d=g.getParentEditor(),e=CKEDITOR.env.ie&&!(CKEDITOR.document.$.documentMode>=8)?d.document.createElement(''):d.document.createElement('input');e.setAttribute('type','hidden');g.commitContent(e);var f=d.createFakeElement(e,'cke_hidden','hiddenfield');if(!g.hiddenField)d.insertElement(f);else{f.replace(g.hiddenField);d.getSelection().selectElement(f);}return true;},contents:[{id:'info',label:a.lang.hidden.title,title:a.lang.hidden.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.hidden.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.data('cke-saved-name')||b.getAttribute('name')||'');},commit:function(b){if(this.getValue())b.setAttribute('name',this.getValue());else b.removeAttribute('name');}},{id:'value',type:'text',label:a.lang.hidden.value,'default':'',accessKey:'V',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){if(this.getValue())b.setAttribute('value',this.getValue());else b.removeAttribute('value');}}]}]};}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/elementspath.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | @media print 7 | { 8 | .cke_path 9 | { 10 | display: none; 11 | } 12 | } 13 | 14 | .cke_skin_office2003 .cke_path 15 | { 16 | padding: 3px 3px 0 3px; 17 | display: inline-block; 18 | float: left; 19 | } 20 | 21 | .cke_skin_office2003 .cke_rtl .cke_path 22 | { 23 | float: right; 24 | } 25 | 26 | .cke_skin_office2003 .cke_path a, 27 | .cke_skin_office2003 .cke_path .cke_empty 28 | { 29 | display: inline-block; 30 | float: left; 31 | border: solid 1px #f7f8fd; 32 | background-color: #f7f8fd; 33 | padding-top: 1px; 34 | padding-bottom: 1px; 35 | padding-left: 4px; 36 | padding-right: 4px; 37 | margin-bottom : 3px; 38 | cursor: default; 39 | } 40 | 41 | .cke_skin_office2003 .cke_path .cke_empty 42 | { 43 | visibility: hidden; 44 | } 45 | 46 | .cke_skin_office2003 .cke_rtl .cke_path a, 47 | .cke_skin_office2003 .cke_rtl .cke_path cke_empty 48 | { 49 | float: right; 50 | } 51 | 52 | .cke_skin_office2003 .cke_path a:hover, 53 | .cke_skin_office2003 .cke_path a:focus, 54 | .cke_skin_office2003 .cke_path a:active /* IE */ 55 | { 56 | border: solid 1px #316ac5; 57 | background-color: #dff1ff; 58 | padding-top: 1px; 59 | padding-bottom: 1px; 60 | padding-left: 4px; 61 | padding-right: 4px; 62 | outline: none; 63 | } 64 | 65 | .cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_path a, 66 | .cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_path .cke_empty 67 | { 68 | float: none; 69 | } 70 | 71 | .cke_skin_office2003 .cke_path .cke_label 72 | { 73 | display: none; 74 | } 75 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/forms/dialogs/button.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('button',function(a){function b(c){var e=this;var d=e.getValue();if(d){c.attributes[e.id]=d;if(e.id=='name')c.attributes['data-cke-saved-name']=d;}else{delete c.attributes[e.id];if(e.id=='name')delete c.attributes['data-cke-saved-name'];}};return{title:a.lang.button.title,minWidth:350,minHeight:150,onShow:function(){var e=this;delete e.button;var c=e.getParentEditor().getSelection().getSelectedElement();if(c&&c.is('input')){var d=c.getAttribute('type');if(d in {button:1,reset:1,submit:1}){e.button=c;e.setupContent(c);}}},onOk:function(){var c=this.getParentEditor(),d=this.button,e=!d,f=d?CKEDITOR.htmlParser.fragment.fromHtml(d.getOuterHtml()).children[0]:new CKEDITOR.htmlParser.element('input');this.commitContent(f);var g=new CKEDITOR.htmlParser.basicWriter();f.writeHtml(g);var h=CKEDITOR.dom.element.createFromHtml(g.getHtml(),c.document);if(e)c.insertElement(h);else{h.replace(d);c.getSelection().selectElement(h);}},contents:[{id:'info',label:a.lang.button.title,title:a.lang.button.title,elements:[{id:'name',type:'text',label:a.lang.common.name,'default':'',setup:function(c){this.setValue(c.data('cke-saved-name')||c.getAttribute('name')||'');},commit:b},{id:'value',type:'text',label:a.lang.button.text,accessKey:'V','default':'',setup:function(c){this.setValue(c.getAttribute('value')||'');},commit:b},{id:'type',type:'select',label:a.lang.button.type,'default':'button',accessKey:'T',items:[[a.lang.button.typeBtn,'button'],[a.lang.button.typeSbm,'submit'],[a.lang.button.typeRst,'reset']],setup:function(c){this.setValue(c.getAttribute('type')||'');},commit:b}]}]};}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/forms/dialogs/textarea.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('textarea',function(a){return{title:a.lang.textarea.title,minWidth:350,minHeight:150,onShow:function(){var c=this;delete c.textarea;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='textarea'){c.textarea=b;c.setupContent(b);}},onOk:function(){var b,c=this.textarea,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('textarea');}this.commitContent(c);if(d)b.insertElement(c);},contents:[{id:'info',label:a.lang.textarea.title,title:a.lang.textarea.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.data('cke-saved-name')||b.getAttribute('name')||'');},commit:function(b){if(this.getValue())b.data('cke-saved-name',this.getValue());else{b.data('cke-saved-name',false);b.removeAttribute('name');}}},{id:'cols',type:'text',label:a.lang.textarea.cols,'default':'',accessKey:'C',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed),setup:function(b){var c=b.hasAttribute('cols')&&b.getAttribute('cols');this.setValue(c||'');},commit:function(b){if(this.getValue())b.setAttribute('cols',this.getValue());else b.removeAttribute('cols');}},{id:'rows',type:'text',label:a.lang.textarea.rows,'default':'',accessKey:'R',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed),setup:function(b){var c=b.hasAttribute('rows')&&b.getAttribute('rows');this.setValue(c||'');},commit:function(b){if(this.getValue())b.setAttribute('rows',this.getValue());else b.removeAttribute('rows');}}]}]};}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/assets/_posteddata.php: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | Sample — CKEditor 11 | 12 | 13 | 14 | 15 |

16 | CKEditor — Posted Data 17 |

18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | $value ) 34 | { 35 | if ( get_magic_quotes_gpc() ) 36 | $postedValue = htmlspecialchars( stripslashes( $value ) ) ; 37 | else 38 | $postedValue = htmlspecialchars( $value ) ; 39 | 40 | ?> 41 | 42 | 43 | 44 | 45 | 48 |
Field NameValue
49 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/init.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This whole file is a filthy hack to make django-ckeditor work with Grappelli's 3 | * inlines. 4 | * 5 | * Inlines can be dynamically added at any time, and we need to run CKEDITOR.replace 6 | * on their fields once they're added. 7 | * 8 | * But we do NOT run it on the "template" inline, of course. 9 | * 10 | * Oh, and there's no way to register a "callback" for Grappelli to call when it adds 11 | * a new inline without overriding the entire change form, which this tiny app does 12 | * not want to do. 13 | * 14 | * Basically: this file runs a function every second that checks for new 15 | * .django-ckeditor fields, and will convert them to CKEditors if it finds any. 16 | * 17 | * TODO: Handle removal of inlines too. 18 | * TODO: Experiment with frequencies to find a good combination of responsiveness and CPU-eating. 19 | */ 20 | 21 | window.Django_CKEditor_Configs = []; 22 | 23 | (function() { 24 | var done = []; 25 | 26 | var InitCKEditors = function() { 27 | django.jQuery('.django-ckeditor').each(function(i, el) { 28 | var elid = django.jQuery(el).attr('id'); 29 | 30 | // Don't mess with the "template" versions. 31 | if (elid.indexOf('__prefix__') == -1) { 32 | if (django.jQuery.inArray(elid, done) == -1) { 33 | var config = null; 34 | 35 | // Find the config that applies to this CKEditor. 36 | django.jQuery.each(window.Django_CKEditor_Configs, function(i, val) { 37 | if (val.re.test(elid)) { 38 | config = val.config; 39 | return false; 40 | } 41 | }); 42 | 43 | CKEDITOR.replace(elid, config); 44 | done.push(elid); 45 | } 46 | } 47 | }); 48 | 49 | setTimeout(InitCKEditors, 1000); 50 | }; 51 | 52 | InitCKEditors(); 53 | })() 54 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/reset.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * Reset and Default Values 8 | */ 9 | .cke_skin_v2 *, 10 | .cke_skin_v2 a:hover, 11 | .cke_skin_v2 a:link, 12 | .cke_skin_v2 a:visited, 13 | .cke_skin_v2 a:active 14 | { 15 | margin: 0; 16 | padding: 0; 17 | border: 0; 18 | background: transparent; 19 | text-decoration: none; 20 | font: normal normal normal 100% Sans-Serif; 21 | width: auto; 22 | height: auto; 23 | border-collapse: collapse; 24 | text-align: left; 25 | vertical-align: baseline; 26 | white-space: nowrap; 27 | cursor: auto; 28 | color: #000; 29 | 30 | font-size: 11px; 31 | font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; 32 | } 33 | 34 | .cke_skin_v2 .cke_rtl *, 35 | .cke_skin_v2 .cke_rtl a:hover, 36 | .cke_skin_v2 .cke_rtl a:link, 37 | .cke_skin_v2 .cke_rtl a:visited, 38 | .cke_skin_v2 .cke_rtl a:active, 39 | .cke_rtl .cke_skin_v2 *, 40 | .cke_rtl .cke_skin_v2 a:hover, 41 | .cke_rtl .cke_skin_v2 a:link, 42 | .cke_rtl .cke_skin_v2 a:visited, 43 | .cke_rtl .cke_skin_v2 a:active 44 | { 45 | text-align: right; 46 | } 47 | 48 | .cke_skin_v2 iframe 49 | { 50 | vertical-align: inherit; /** For IE */ 51 | } 52 | 53 | .cke_skin_v2 textarea 54 | { 55 | white-space: pre; 56 | } 57 | 58 | .cke_skin_v2 .cke_browser_gecko textarea 59 | { 60 | cursor: text; 61 | } 62 | 63 | .cke_skin_v2 .cke_browser_gecko textarea[disabled] 64 | { 65 | cursor: default; 66 | } 67 | 68 | .cke_skin_v2 input[type="text"], 69 | .cke_skin_v2 input[type="password"] 70 | { 71 | cursor: text; 72 | } 73 | 74 | .cke_skin_v2 input[type="text"][disabled], 75 | .cke_skin_v2 input[type="password"][disabled] 76 | { 77 | cursor: default; 78 | } 79 | 80 | .cke_skin_v2 fieldset 81 | { 82 | padding: 10px; 83 | border: 2px groove #E0DFE3; 84 | } 85 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/skin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.skins.add( 'v2', (function() 7 | { 8 | return { 9 | editor : { css : [ 'editor.css' ] }, 10 | dialog : { css : [ 'dialog.css' ] }, 11 | templates : { css : [ 'templates.css' ] }, 12 | margins : [ 0, 14, 18, 14 ] 13 | }; 14 | })() ); 15 | 16 | (function() 17 | { 18 | CKEDITOR.dialog ? dialogSetup() : CKEDITOR.on( 'dialogPluginReady', dialogSetup ); 19 | 20 | function dialogSetup() 21 | { 22 | CKEDITOR.dialog.on( 'resize', function( evt ) 23 | { 24 | var data = evt.data, 25 | width = data.width, 26 | height = data.height, 27 | dialog = data.dialog, 28 | contents = dialog.parts.contents; 29 | 30 | if ( data.skin != 'v2' ) 31 | return; 32 | 33 | contents.setStyles( 34 | { 35 | width : width + 'px', 36 | height : height + 'px' 37 | }); 38 | 39 | if ( !CKEDITOR.env.ie || CKEDITOR.env.ie9Compat ) 40 | return; 41 | 42 | // Fix the size of the elements which have flexible lengths. 43 | setTimeout( function() 44 | { 45 | var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ), 46 | body = innerDialog.getChild( 0 ), 47 | bodyWidth = body.getSize( 'width' ); 48 | height += body.getChild( 0 ).getSize( 'height' ) + 1; 49 | 50 | // tc 51 | var el = innerDialog.getChild( 2 ); 52 | el.setSize( 'width', bodyWidth ); 53 | 54 | // bc 55 | el = innerDialog.getChild( 7 ); 56 | el.setSize( 'width', bodyWidth - 28 ); 57 | 58 | // ml 59 | el = innerDialog.getChild( 4 ); 60 | el.setSize( 'height', height ); 61 | 62 | // mr 63 | el = innerDialog.getChild( 5 ); 64 | el.setSize( 'height', height ); 65 | }, 66 | 100 ); 67 | }); 68 | } 69 | })(); 70 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/forms/dialogs/radio.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('radio',function(a){return{title:a.lang.checkboxAndRadio.radioTitle,minWidth:350,minHeight:140,onShow:function(){var c=this;delete c.radioButton;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='input'&&b.getAttribute('type')=='radio'){c.radioButton=b;c.setupContent(b);}},onOk:function(){var b,c=this.radioButton,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');c.setAttribute('type','radio');}if(d)b.insertElement(c);this.commitContent({element:c});},contents:[{id:'info',label:a.lang.checkboxAndRadio.radioTitle,title:a.lang.checkboxAndRadio.radioTitle,elements:[{id:'name',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.data('cke-saved-name')||b.getAttribute('name')||'');},commit:function(b){var c=b.element;if(this.getValue())c.data('cke-saved-name',this.getValue());else{c.data('cke-saved-name',false);c.removeAttribute('name');}}},{id:'value',type:'text',label:a.lang.checkboxAndRadio.value,'default':'',accessKey:'V',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('value',this.getValue());else c.removeAttribute('value');}},{id:'checked',type:'checkbox',label:a.lang.checkboxAndRadio.selected,'default':'',accessKey:'S',value:'checked',setup:function(b){this.setValue(b.getAttribute('checked'));},commit:function(b){var c=b.element;if(!(CKEDITOR.env.ie||CKEDITOR.env.opera)){if(this.getValue())c.setAttribute('checked','checked');else c.removeAttribute('checked');}else{var d=c.getAttribute('checked'),e=!!this.getValue();if(d!=e){var f=CKEDITOR.dom.element.createFromHtml('',a.document);c.copyAttributes(f,{type:1,checked:1});f.replace(c);a.getSelection().selectElement(f);b.element=f;}}}}]}]};}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/reset.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * Reset and Default Values 8 | */ 9 | .cke_skin_kama *, 10 | .cke_skin_kama a:hover, 11 | .cke_skin_kama a:link, 12 | .cke_skin_kama a:visited, 13 | .cke_skin_kama a:active 14 | { 15 | margin: 0; 16 | padding: 0; 17 | border: 0; 18 | background: transparent; 19 | text-decoration: none; 20 | font: normal normal normal 100% Sans-Serif; 21 | width: auto; 22 | height: auto; 23 | border-collapse: collapse; 24 | text-align: left; 25 | vertical-align: baseline; 26 | white-space: nowrap; 27 | cursor: auto; 28 | color: #000; 29 | 30 | font-size: 12px; 31 | font-family: Arial,Helvetica,Tahoma,Verdana,Sans-Serif; 32 | } 33 | 34 | .cke_skin_kama .cke_rtl *, 35 | .cke_skin_kama .cke_rtl a:hover, 36 | .cke_skin_kama .cke_rtl a:link, 37 | .cke_skin_kama .cke_rtl a:visited, 38 | .cke_skin_kama .cke_rtl a:active, 39 | .cke_rtl .cke_skin_kama *, 40 | .cke_rtl .cke_skin_kama a:hover, 41 | .cke_rtl .cke_skin_kama a:link, 42 | .cke_rtl .cke_skin_kama a:visited, 43 | .cke_rtl .cke_skin_kama a:active 44 | { 45 | text-align: right; 46 | } 47 | 48 | .cke_skin_kama iframe 49 | { 50 | vertical-align: inherit; /** For IE */ 51 | } 52 | 53 | .cke_skin_kama textarea 54 | { 55 | white-space: pre; 56 | } 57 | 58 | .cke_skin_kama .cke_browser_gecko textarea 59 | { 60 | cursor: text; 61 | } 62 | 63 | .cke_skin_kama .cke_browser_gecko textarea[disabled] 64 | { 65 | cursor: default; 66 | } 67 | 68 | .cke_skin_kama input[type="text"], 69 | .cke_skin_kama input[type="password"] 70 | { 71 | cursor: text; 72 | } 73 | 74 | .cke_skin_kama input[type="text"][disabled], 75 | .cke_skin_kama input[type="password"][disabled] 76 | { 77 | cursor: default; 78 | } 79 | 80 | .cke_skin_kama fieldset 81 | { 82 | padding: 10px; 83 | border: 2px groove #E0DFE3; 84 | } 85 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | * For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function() 7 | { 8 | function placeholderDialog( editor, isEdit ) 9 | { 10 | 11 | var lang = editor.lang.placeholder, 12 | generalLabel = editor.lang.common.generalTab; 13 | return { 14 | title : lang.title, 15 | minWidth : 300, 16 | minHeight : 80, 17 | contents : 18 | [ 19 | { 20 | id : 'info', 21 | label : generalLabel, 22 | title : generalLabel, 23 | elements : 24 | [ 25 | { 26 | id : 'text', 27 | type : 'text', 28 | style : 'width: 100%;', 29 | label : lang.text, 30 | 'default' : '', 31 | required : true, 32 | validate : CKEDITOR.dialog.validate.notEmpty( lang.textMissing ), 33 | setup : function( element ) 34 | { 35 | if ( isEdit ) 36 | this.setValue( element.getText().slice( 2, -2 ) ); 37 | }, 38 | commit : function( element ) 39 | { 40 | var text = '[[' + this.getValue() + ']]'; 41 | // The placeholder must be recreated. 42 | CKEDITOR.plugins.placeholder.createPlaceholder( editor, element, text ); 43 | } 44 | } 45 | ] 46 | } 47 | ], 48 | onShow : function() 49 | { 50 | if ( isEdit ) 51 | this._element = CKEDITOR.plugins.placeholder.getSelectedPlaceHoder( editor ); 52 | 53 | this.setupContent( this._element ); 54 | }, 55 | onOk : function() 56 | { 57 | this.commitContent( this._element ); 58 | delete this._element; 59 | } 60 | }; 61 | } 62 | 63 | CKEDITOR.dialog.add( 'createplaceholder', function( editor ) 64 | { 65 | return placeholderDialog( editor ); 66 | }); 67 | CKEDITOR.dialog.add( 'editplaceholder', function( editor ) 68 | { 69 | return placeholderDialog( editor, 1 ); 70 | }); 71 | } )(); 72 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function() 7 | { 8 | CKEDITOR.dialog.add( 'pastetext', function( editor ) 9 | { 10 | return { 11 | title : editor.lang.pasteText.title, 12 | 13 | minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks ? 368 : 350, 14 | minHeight : 240, 15 | 16 | onShow : function() 17 | { 18 | // Reset the textarea value. 19 | this.getContentElement( 'general', 'content' ).getInputElement().setValue( '' ); 20 | }, 21 | 22 | onOk : function() 23 | { 24 | // Get the textarea value. 25 | var text = this.getContentElement( 'general', 'content' ).getInputElement().getValue(), 26 | editor = this.getParentEditor(); 27 | 28 | setTimeout( function() 29 | { 30 | editor.fire( 'paste', { 'text' : text } ); 31 | }, 0 ); 32 | }, 33 | 34 | contents : 35 | [ 36 | { 37 | label : editor.lang.common.generalTab, 38 | id : 'general', 39 | elements : 40 | [ 41 | { 42 | type : 'html', 43 | id : 'pasteMsg', 44 | html : '
' + editor.lang.clipboard.pasteMsg + '
' 45 | }, 46 | { 47 | type : 'textarea', 48 | id : 'content', 49 | className : 'cke_pastetext', 50 | 51 | onLoad : function() 52 | { 53 | var label = this.getDialog().getContentElement( 'general', 'pasteMsg' ).getElement(), 54 | input = this.getElement().getElementsByTag( 'textarea' ).getItem( 0 ); 55 | 56 | input.setAttribute( 'aria-labelledby', label.$.id ); 57 | input.setStyle( 'direction', editor.config.contentsLangDirection ); 58 | }, 59 | 60 | focus : function() 61 | { 62 | this.getElement().focus(); 63 | } 64 | } 65 | ] 66 | } 67 | ] 68 | }; 69 | }); 70 | })(); 71 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/liststyle/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function() 7 | { 8 | CKEDITOR.plugins.liststyle = 9 | { 10 | requires : [ 'dialog' ], 11 | init : function( editor ) 12 | { 13 | editor.addCommand( 'numberedListStyle', new CKEDITOR.dialogCommand( 'numberedListStyle' ) ); 14 | CKEDITOR.dialog.add( 'numberedListStyle', this.path + 'dialogs/liststyle.js' ); 15 | editor.addCommand( 'bulletedListStyle', new CKEDITOR.dialogCommand( 'bulletedListStyle' ) ); 16 | CKEDITOR.dialog.add( 'bulletedListStyle', this.path + 'dialogs/liststyle.js' ); 17 | 18 | // If the "menu" plugin is loaded, register the menu items. 19 | if ( editor.addMenuItems ) 20 | { 21 | //Register map group; 22 | editor.addMenuGroup("list", 108); 23 | 24 | editor.addMenuItems( 25 | { 26 | numberedlist : 27 | { 28 | label : editor.lang.list.numberedTitle, 29 | group : 'list', 30 | command: 'numberedListStyle' 31 | }, 32 | bulletedlist : 33 | { 34 | label : editor.lang.list.bulletedTitle, 35 | group : 'list', 36 | command: 'bulletedListStyle' 37 | } 38 | }); 39 | } 40 | 41 | // If the "contextmenu" plugin is loaded, register the listeners. 42 | if ( editor.contextMenu ) 43 | { 44 | editor.contextMenu.addListener( function( element, selection ) 45 | { 46 | if ( !element || element.isReadOnly() ) 47 | return null; 48 | 49 | while ( element ) 50 | { 51 | var name = element.getName(); 52 | if ( name == 'ol' ) 53 | return { numberedlist: CKEDITOR.TRISTATE_OFF }; 54 | else if ( name == 'ul' ) 55 | return { bulletedlist: CKEDITOR.TRISTATE_OFF }; 56 | 57 | element = element.getParent(); 58 | } 59 | return null; 60 | }); 61 | } 62 | } 63 | }; 64 | 65 | CKEDITOR.plugins.add( 'liststyle', CKEDITOR.plugins.liststyle ); 66 | })(); 67 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/adobeair/sample.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | Replace Textarea by Code - CKEditor Sample 9 | 10 | 11 | 12 | 15 | 16 |

17 | CKEditor - Adobe AIR Sample 18 |

19 |

20 | This is a sample HTML/JavaScript Adobe AIR application with CKEditor with default features. 21 |

22 |

23 | 24 | 33 |

34 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/sample.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | // This file is not required by CKEditor and may be safely ignored. 7 | // It is just a helper file that displays a red message about browser compatibility 8 | // at the top of the samples (if incompatible browser is detected). 9 | 10 | if ( window.CKEDITOR ) 11 | { 12 | (function() 13 | { 14 | var showCompatibilityMsg = function() 15 | { 16 | var env = CKEDITOR.env; 17 | 18 | var html = '

Your browser is not compatible with CKEditor.'; 19 | 20 | var browsers = 21 | { 22 | gecko : 'Firefox 2.0', 23 | ie : 'Internet Explorer 6.0', 24 | opera : 'Opera 9.5', 25 | webkit : 'Safari 3.0' 26 | }; 27 | 28 | var alsoBrowsers = ''; 29 | 30 | for ( var key in env ) 31 | { 32 | if ( browsers[ key ] ) 33 | { 34 | if ( env[key] ) 35 | html += ' CKEditor is compatible with ' + browsers[ key ] + ' or higher.'; 36 | else 37 | alsoBrowsers += browsers[ key ] + '+, '; 38 | } 39 | } 40 | 41 | alsoBrowsers = alsoBrowsers.replace( /\+,([^,]+), $/, '+ and $1' ); 42 | 43 | html += ' It is also compatible with ' + alsoBrowsers + '.'; 44 | 45 | html += '

With non compatible browsers, you should still be able to see and edit the contents (HTML) in a plain text field.

'; 46 | 47 | var alertsEl = document.getElementById( 'alerts' ); 48 | alertsEl && ( alertsEl.innerHTML = html ); 49 | }; 50 | 51 | var onload = function() 52 | { 53 | // Show a friendly compatibility message as soon as the page is loaded, 54 | // for those browsers that are not compatible with CKEditor. 55 | if ( !CKEDITOR.env.isCompatible ) 56 | showCompatibilityMsg(); 57 | }; 58 | 59 | // Register the onload listener. 60 | if ( window.addEventListener ) 61 | window.addEventListener( 'load', onload, false ); 62 | else if ( window.attachEvent ) 63 | window.attachEvent( 'onload', onload ); 64 | })(); 65 | } 66 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_samples/php/index.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | CKEditor Samples — PHP Integration 10 | 11 | 12 | 13 |

14 | CKEditor Samples List for PHP 15 |

16 |

17 | Basic Samples 18 |

19 | 27 |

28 | Advanced Samples 29 |

30 | 37 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/forms/dialogs/form.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('form',function(a){var b={action:1,id:1,method:1,enctype:1,target:1};return{title:a.lang.form.title,minWidth:350,minHeight:200,onShow:function(){var e=this;delete e.form;var c=e.getParentEditor().getSelection().getStartElement(),d=c&&c.getAscendant('form',true);if(d){e.form=d;e.setupContent(d);}},onOk:function(){var c,d=this.form,e=!d;if(e){c=this.getParentEditor();d=c.document.createElement('form');!CKEDITOR.env.ie&&d.append(c.document.createElement('br'));}if(e)c.insertElement(d);this.commitContent(d);},onLoad:function(){function c(e){this.setValue(e.getAttribute(this.id)||'');};function d(e){var f=this;if(f.getValue())e.setAttribute(f.id,f.getValue());else e.removeAttribute(f.id);};this.foreach(function(e){if(b[e.id]){e.setup=c;e.commit=d;}});},contents:[{id:'info',label:a.lang.form.title,title:a.lang.form.title,elements:[{id:'txtName',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(c){this.setValue(c.data('cke-saved-name')||c.getAttribute('name')||'');},commit:function(c){if(this.getValue())c.data('cke-saved-name',this.getValue());else{c.data('cke-saved-name',false);c.removeAttribute('name');}}},{id:'action',type:'text',label:a.lang.form.action,'default':'',accessKey:'T'},{type:'hbox',widths:['45%','55%'],children:[{id:'id',type:'text',label:a.lang.common.id,'default':'',accessKey:'I'},{id:'enctype',type:'select',label:a.lang.form.encoding,style:'width:100%',accessKey:'E','default':'',items:[[''],['text/plain'],['multipart/form-data'],['application/x-www-form-urlencoded']]}]},{type:'hbox',widths:['45%','55%'],children:[{id:'target',type:'select',label:a.lang.common.target,style:'width:100%',accessKey:'M','default':'',items:[[a.lang.common.notSet,''],[a.lang.common.targetNew,'_blank'],[a.lang.common.targetTop,'_top'],[a.lang.common.targetSelf,'_self'],[a.lang.common.targetParent,'_parent']]},{id:'method',type:'select',label:a.lang.form.method,accessKey:'M','default':'GET',items:[['GET','get'],['POST','post']]}]}]}]};}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/table/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add( 'table', 7 | { 8 | init : function( editor ) 9 | { 10 | var table = CKEDITOR.plugins.table, 11 | lang = editor.lang.table; 12 | 13 | editor.addCommand( 'table', new CKEDITOR.dialogCommand( 'table' ) ); 14 | editor.addCommand( 'tableProperties', new CKEDITOR.dialogCommand( 'tableProperties' ) ); 15 | 16 | editor.ui.addButton( 'Table', 17 | { 18 | label : lang.toolbar, 19 | command : 'table' 20 | }); 21 | 22 | CKEDITOR.dialog.add( 'table', this.path + 'dialogs/table.js' ); 23 | CKEDITOR.dialog.add( 'tableProperties', this.path + 'dialogs/table.js' ); 24 | 25 | // If the "menu" plugin is loaded, register the menu items. 26 | if ( editor.addMenuItems ) 27 | { 28 | editor.addMenuItems( 29 | { 30 | table : 31 | { 32 | label : lang.menu, 33 | command : 'tableProperties', 34 | group : 'table', 35 | order : 5 36 | }, 37 | 38 | tabledelete : 39 | { 40 | label : lang.deleteTable, 41 | command : 'tableDelete', 42 | group : 'table', 43 | order : 1 44 | } 45 | } ); 46 | } 47 | 48 | editor.on( 'doubleclick', function( evt ) 49 | { 50 | var element = evt.data.element; 51 | 52 | if ( element.is( 'table' ) ) 53 | evt.data.dialog = 'tableProperties'; 54 | }); 55 | 56 | // If the "contextmenu" plugin is loaded, register the listeners. 57 | if ( editor.contextMenu ) 58 | { 59 | editor.contextMenu.addListener( function( element, selection ) 60 | { 61 | if ( !element || element.isReadOnly() ) 62 | return null; 63 | 64 | var isTable = element.hasAscendant( 'table', 1 ); 65 | 66 | if ( isTable ) 67 | { 68 | return { 69 | tabledelete : CKEDITOR.TRISTATE_OFF, 70 | table : CKEDITOR.TRISTATE_OFF 71 | }; 72 | } 73 | 74 | return null; 75 | } ); 76 | } 77 | } 78 | } ); 79 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/lang/_languages.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | var CKEDITOR_LANGS = (function() 7 | { 8 | var langs = 9 | { 10 | af : 'Afrikaans', 11 | ar : 'Arabic', 12 | bg : 'Bulgarian', 13 | bn : 'Bengali/Bangla', 14 | bs : 'Bosnian', 15 | ca : 'Catalan', 16 | cs : 'Czech', 17 | cy : 'Welsh', 18 | da : 'Danish', 19 | de : 'German', 20 | el : 'Greek', 21 | en : 'English', 22 | 'en-au' : 'English (Australia)', 23 | 'en-ca' : 'English (Canadian)', 24 | 'en-gb' : 'English (United Kingdom)', 25 | eo : 'Esperanto', 26 | es : 'Spanish', 27 | et : 'Estonian', 28 | eu : 'Basque', 29 | fa : 'Persian', 30 | fi : 'Finnish', 31 | fo : 'Faroese', 32 | fr : 'French', 33 | 'fr-ca' : 'French (Canada)', 34 | gl : 'Galician', 35 | gu : 'Gujarati', 36 | he : 'Hebrew', 37 | hi : 'Hindi', 38 | hr : 'Croatian', 39 | hu : 'Hungarian', 40 | is : 'Icelandic', 41 | it : 'Italian', 42 | ja : 'Japanese', 43 | km : 'Khmer', 44 | ko : 'Korean', 45 | lt : 'Lithuanian', 46 | lv : 'Latvian', 47 | mn : 'Mongolian', 48 | ms : 'Malay', 49 | nb : 'Norwegian Bokmal', 50 | nl : 'Dutch', 51 | no : 'Norwegian', 52 | pl : 'Polish', 53 | pt : 'Portuguese (Portugal)', 54 | 'pt-br' : 'Portuguese (Brazil)', 55 | ro : 'Romanian', 56 | ru : 'Russian', 57 | sk : 'Slovak', 58 | sl : 'Slovenian', 59 | sr : 'Serbian (Cyrillic)', 60 | 'sr-latn' : 'Serbian (Latin)', 61 | sv : 'Swedish', 62 | th : 'Thai', 63 | tr : 'Turkish', 64 | uk : 'Ukrainian', 65 | vi : 'Vietnamese', 66 | zh : 'Chinese Traditional', 67 | 'zh-cn' : 'Chinese Simplified' 68 | }; 69 | 70 | var langsArray = []; 71 | 72 | for ( var code in langs ) 73 | { 74 | langsArray.push( { code : code, name : langs[ code ] } ); 75 | } 76 | 77 | langsArray.sort( function( a, b ) 78 | { 79 | return ( a.name < b.name ) ? -1 : 1; 80 | }); 81 | 82 | return langsArray; 83 | })(); 84 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/wsc/dialogs/tmpFrameset.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/reset.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * Reset and Default Values 8 | */ 9 | .cke_skin_office2003 *, 10 | .cke_skin_office2003 a:hover, 11 | .cke_skin_office2003 a:link, 12 | .cke_skin_office2003 a:visited, 13 | .cke_skin_office2003 a:active 14 | { 15 | margin: 0; 16 | padding: 0; 17 | border: 0; 18 | background: transparent; 19 | text-decoration: none; 20 | font: normal normal normal 100% Sans-Serif; 21 | width: auto; 22 | height: auto; 23 | border-collapse: collapse; 24 | text-align: left; 25 | vertical-align: baseline; 26 | white-space: nowrap; 27 | cursor: auto; 28 | color: #000; 29 | 30 | font-size: 11px; 31 | font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; 32 | } 33 | 34 | .cke_skin_office2003 .cke_rtl *, 35 | .cke_skin_office2003 .cke_rtl a:hover, 36 | .cke_skin_office2003 .cke_rtl a:link, 37 | .cke_skin_office2003 .cke_rtl a:visited, 38 | .cke_skin_office2003 .cke_rtl a:active, 39 | .cke_rtl .cke_skin_office2003 *, 40 | .cke_rtl .cke_skin_office2003 a:hover, 41 | .cke_rtl .cke_skin_office2003 a:link, 42 | .cke_rtl .cke_skin_office2003 a:visited, 43 | .cke_rtl .cke_skin_office2003 a:active 44 | { 45 | text-align: right; 46 | } 47 | 48 | .cke_skin_office2003 iframe 49 | { 50 | vertical-align: inherit; /** For IE */ 51 | } 52 | 53 | .cke_skin_office2003 textarea 54 | { 55 | white-space: pre; 56 | } 57 | 58 | .cke_skin_office2003 .cke_browser_gecko textarea 59 | { 60 | cursor: text; 61 | } 62 | 63 | .cke_skin_office2003 .cke_browser_gecko textarea[disabled] 64 | { 65 | cursor: default; 66 | } 67 | 68 | .cke_skin_office2003 input[type="text"], 69 | .cke_skin_office2003 input[type="password"] 70 | { 71 | cursor: text; 72 | } 73 | 74 | .cke_skin_office2003 input[type="text"][disabled], 75 | .cke_skin_office2003 input[type="password"][disabled] 76 | { 77 | cursor: default; 78 | } 79 | 80 | .cke_skin_office2003 fieldset 81 | { 82 | padding: 10px; 83 | border: 2px groove #E0DFE3; 84 | } 85 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/skin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.skins.add( 'office2003', (function() 7 | { 8 | return { 9 | editor : { css : [ 'editor.css' ] }, 10 | dialog : { css : [ 'dialog.css' ] }, 11 | templates : { css : [ 'templates.css' ] }, 12 | margins : [ 0, 14, 18, 14 ] 13 | }; 14 | })() ); 15 | 16 | (function() 17 | { 18 | CKEDITOR.dialog ? dialogSetup() : CKEDITOR.on( 'dialogPluginReady', dialogSetup ); 19 | 20 | function dialogSetup() 21 | { 22 | CKEDITOR.dialog.on( 'resize', function( evt ) 23 | { 24 | var data = evt.data, 25 | width = data.width, 26 | height = data.height, 27 | dialog = data.dialog, 28 | contents = dialog.parts.contents; 29 | 30 | if ( data.skin != 'office2003' ) 31 | return; 32 | 33 | contents.setStyles( 34 | { 35 | width : width + 'px', 36 | height : height + 'px' 37 | }); 38 | 39 | if ( !CKEDITOR.env.ie || CKEDITOR.env.ie9Compat ) 40 | return; 41 | 42 | // Fix the size of the elements which have flexible lengths. 43 | var fixSize = function() 44 | { 45 | var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ), 46 | body = innerDialog.getChild( 0 ), 47 | bodyWidth = body.getSize( 'width' ); 48 | height += body.getChild( 0 ).getSize( 'height' ) + 1; 49 | 50 | // tc 51 | var el = innerDialog.getChild( 2 ); 52 | el.setSize( 'width', bodyWidth ); 53 | 54 | // bc 55 | el = innerDialog.getChild( 7 ); 56 | el.setSize( 'width', bodyWidth - 28 ); 57 | 58 | // ml 59 | el = innerDialog.getChild( 4 ); 60 | el.setSize( 'height', height ); 61 | 62 | // mr 63 | el = innerDialog.getChild( 5 ); 64 | el.setSize( 'height', height ); 65 | }; 66 | setTimeout( fixSize, 100 ); 67 | 68 | // Ensure size is correct for RTL mode. (#4003) 69 | if ( evt.editor.lang.dir == 'rtl' ) 70 | setTimeout( fixSize, 1000 ); 71 | }); 72 | } 73 | })(); 74 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/v2/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * Styles for the "templates" plugin. 8 | */ 9 | 10 | .cke_skin_v2 .cke_tpl_list 11 | { 12 | border: #dcdcdc 2px solid; 13 | background-color: #ffffff; 14 | overflow: auto; 15 | width: 100%; 16 | height: 220px; 17 | } 18 | 19 | .cke_skin_v2 .cke_tpl_item 20 | { 21 | margin: 5px; 22 | padding: 7px; 23 | border: #eeeeee 1px solid; 24 | *width: 88%; 25 | } 26 | 27 | .cke_skin_v2 .cke_tpl_preview 28 | { 29 | border-collapse: separate; 30 | text-indent:0; 31 | width: 100%; 32 | } 33 | .cke_skin_v2 .cke_tpl_preview td 34 | { 35 | padding: 2px; 36 | vertical-align: middle; 37 | } 38 | .cke_skin_v2 .cke_tpl_preview .cke_tpl_preview_img 39 | { 40 | width: 100px; 41 | } 42 | .cke_skin_v2 .cke_tpl_preview span 43 | { 44 | white-space: normal; 45 | } 46 | 47 | .cke_skin_v2 .cke_tpl_title 48 | { 49 | font-weight: bold; 50 | } 51 | 52 | .cke_skin_v2 .cke_tpl_list a:active .cke_tpl_item, 53 | .cke_skin_v2 .cke_tpl_list a:hover .cke_tpl_item, 54 | .cke_skin_v2 .cke_tpl_list a:focus .cke_tpl_item 55 | { 56 | border: #ff9933 1px solid !important; 57 | background-color: #fffacd !important; 58 | } 59 | 60 | .cke_skin_v2 .cke_tpl_list a:active *, 61 | .cke_skin_v2 .cke_tpl_list a:hover *, 62 | .cke_skin_v2 .cke_tpl_list a:focus * 63 | { 64 | cursor: pointer; 65 | } 66 | 67 | /* IE6 contextual selectors childs won't get :hover transition until, 68 | the hover style of the link itself contains certain CSS declarations.*/ 69 | .cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:active, 70 | .cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:hover, 71 | .cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:focus 72 | { 73 | background-position: 0 0; 74 | } 75 | 76 | .cke_skin_v2 .cke_tpl_list a:active .cke_tpl_item, 77 | .cke_skin_v2 .cke_tpl_list a:hover .cke_tpl_item, 78 | .cke_skin_v2 .cke_tpl_list a:focus .cke_tpl_item 79 | { 80 | border-width: 3px; 81 | } 82 | 83 | .cke_skin_v2 .cke_tpl_empty, .cke_tpl_loading 84 | { 85 | text-align: center; 86 | padding: 5px; 87 | } 88 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/popup/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add( 'popup' ); 7 | 8 | CKEDITOR.tools.extend( CKEDITOR.editor.prototype, 9 | { 10 | /** 11 | * Opens Browser in a popup. The "width" and "height" parameters accept 12 | * numbers (pixels) or percent (of screen size) values. 13 | * @param {String} url The url of the external file browser. 14 | * @param {String} width Popup window width. 15 | * @param {String} height Popup window height. 16 | * @param {String} options Popup window features. 17 | */ 18 | popup : function( url, width, height, options ) 19 | { 20 | width = width || '80%'; 21 | height = height || '70%'; 22 | 23 | if ( typeof width == 'string' && width.length > 1 && width.substr( width.length - 1, 1 ) == '%' ) 24 | width = parseInt( window.screen.width * parseInt( width, 10 ) / 100, 10 ); 25 | 26 | if ( typeof height == 'string' && height.length > 1 && height.substr( height.length - 1, 1 ) == '%' ) 27 | height = parseInt( window.screen.height * parseInt( height, 10 ) / 100, 10 ); 28 | 29 | if ( width < 640 ) 30 | width = 640; 31 | 32 | if ( height < 420 ) 33 | height = 420; 34 | 35 | var top = parseInt( ( window.screen.height - height ) / 2, 10 ), 36 | left = parseInt( ( window.screen.width - width ) / 2, 10 ); 37 | 38 | options = ( options || 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes' ) + 39 | ',width=' + width + 40 | ',height=' + height + 41 | ',top=' + top + 42 | ',left=' + left; 43 | 44 | var popupWindow = window.open( '', null, options, true ); 45 | 46 | // Blocked by a popup blocker. 47 | if ( !popupWindow ) 48 | return false; 49 | 50 | try 51 | { 52 | popupWindow.moveTo( left, top ); 53 | popupWindow.resizeTo( width, height ); 54 | popupWindow.focus(); 55 | popupWindow.location.href = url; 56 | } 57 | catch ( e ) 58 | { 59 | popupWindow = window.open( url, null, options, true ); 60 | } 61 | 62 | return true; 63 | } 64 | }); 65 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/forms/dialogs/checkbox.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add('checkbox',function(a){return{title:a.lang.checkboxAndRadio.checkboxTitle,minWidth:350,minHeight:140,onShow:function(){var c=this;delete c.checkbox;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getAttribute('type')=='checkbox'){c.checkbox=b;c.setupContent(b);}},onOk:function(){var b,c=this.checkbox,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');c.setAttribute('type','checkbox');b.insertElement(c);}this.commitContent({element:c});},contents:[{id:'info',label:a.lang.checkboxAndRadio.checkboxTitle,title:a.lang.checkboxAndRadio.checkboxTitle,startupFocus:'txtName',elements:[{id:'txtName',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.data('cke-saved-name')||b.getAttribute('name')||'');},commit:function(b){var c=b.element;if(this.getValue())c.data('cke-saved-name',this.getValue());else{c.data('cke-saved-name',false);c.removeAttribute('name');}}},{id:'txtValue',type:'text',label:a.lang.checkboxAndRadio.value,'default':'',accessKey:'V',setup:function(b){var c=b.getAttribute('value');this.setValue(CKEDITOR.env.ie&&c=='on'?'':c);},commit:function(b){var c=b.element,d=this.getValue();if(d&&!(CKEDITOR.env.ie&&d=='on'))c.setAttribute('value',d);else if(CKEDITOR.env.ie){var e=new CKEDITOR.dom.element('input',c.getDocument());c.copyAttributes(e,{value:1});e.replace(c);a.getSelection().selectElement(e);b.element=e;}else c.removeAttribute('value');}},{id:'cmbSelected',type:'checkbox',label:a.lang.checkboxAndRadio.selected,'default':'',accessKey:'S',value:'checked',setup:function(b){this.setValue(b.getAttribute('checked'));},commit:function(b){var c=b.element;if(CKEDITOR.env.ie){var d=!!c.getAttribute('checked'),e=!!this.getValue();if(d!=e){var f=CKEDITOR.dom.element.createFromHtml('',a.document);c.copyAttributes(f,{type:1,checked:1});f.replace(c);a.getSelection().selectElement(f);b.element=f;}}else{var g=this.getValue();if(g)c.setAttribute('checked','checked');else c.removeAttribute('checked');}}}]}]};}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/kama/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * Styles for the "templates" plugin. 8 | */ 9 | 10 | .cke_skin_kama .cke_tpl_list 11 | { 12 | border: #dcdcdc 2px solid; 13 | background-color: #ffffff; 14 | overflow-y: auto; 15 | overflow-x: hidden; 16 | width: 100%; 17 | height: 220px; 18 | } 19 | 20 | .cke_skin_kama .cke_tpl_item 21 | { 22 | margin: 5px; 23 | padding: 7px; 24 | border: #eeeeee 1px solid; 25 | *width: 88%; 26 | } 27 | 28 | .cke_skin_kama .cke_tpl_preview 29 | { 30 | border-collapse: separate; 31 | text-indent:0; 32 | width: 100%; 33 | } 34 | .cke_skin_kama .cke_tpl_preview td 35 | { 36 | padding: 2px; 37 | vertical-align: middle; 38 | } 39 | .cke_skin_kama .cke_tpl_preview .cke_tpl_preview_img 40 | { 41 | width: 100px; 42 | } 43 | .cke_skin_kama .cke_tpl_preview span 44 | { 45 | white-space: normal; 46 | } 47 | 48 | .cke_skin_kama .cke_tpl_title 49 | { 50 | font-weight: bold; 51 | } 52 | 53 | .cke_skin_kama .cke_tpl_list a:active .cke_tpl_item, 54 | .cke_skin_kama .cke_tpl_list a:hover .cke_tpl_item, 55 | .cke_skin_kama .cke_tpl_list a:focus .cke_tpl_item 56 | { 57 | border: #ff9933 1px solid; 58 | background-color: #fffacd; 59 | } 60 | 61 | .cke_skin_kama .cke_tpl_list a:active *, 62 | .cke_skin_kama .cke_tpl_list a:hover *, 63 | .cke_skin_kama .cke_tpl_list a:focus * 64 | { 65 | cursor: pointer; 66 | } 67 | 68 | /* IE6 contextual selectors childs won't get :hover transition until, 69 | the hover style of the link itself contains certain CSS declarations.*/ 70 | .cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:active, 71 | .cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:hover, 72 | .cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:focus 73 | { 74 | background-position: 0 0; 75 | } 76 | 77 | .cke_skin_kama .cke_hc .cke_tpl_list a:active .cke_tpl_item, 78 | .cke_skin_kama .cke_hc .cke_tpl_list a:hover .cke_tpl_item, 79 | .cke_skin_kama .cke_hc .cke_tpl_list a:focus .cke_tpl_item 80 | { 81 | border-width: 3px; 82 | } 83 | 84 | .cke_skin_kama .cke_tpl_empty, .cke_tpl_loading 85 | { 86 | text-align: center; 87 | padding: 5px; 88 | } 89 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/a11yhelp/lang/en.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.setLang('a11yhelp','en',{accessibilityHelp:{title:'Accessibility Instructions',contents:'Help Contents. To close this dialog press ESC.',legend:[{name:'General',items:[{name:'Editor Toolbar',legend:'Press ${toolbarFocus} to navigate to the toolbar. Move to next toolbar button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button.'},{name:'Editor Dialog',legend:'Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page.'},{name:'Editor Context Menu',legend:'Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option wtih SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC.'},{name:'Editor List Box',legend:'Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box.'},{name:'Editor Element Path Bar',legend:'Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor.'}]},{name:'Commands',items:[{name:' Undo command',legend:'Press ${undo}'},{name:' Redo command',legend:'Press ${redo}'},{name:' Bold command',legend:'Press ${bold}'},{name:' Italic command',legend:'Press ${italic}'},{name:' Underline command',legend:'Press ${underline}'},{name:' Link command',legend:'Press ${link}'},{name:' Toolbar Collapse command',legend:'Press ${toolbarCollapse}'},{name:' Accessibility Help',legend:'Press ${a11yHelp}'}]}]}}); 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/image/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @file Image plugin 8 | */ 9 | 10 | CKEDITOR.plugins.add( 'image', 11 | { 12 | init : function( editor ) 13 | { 14 | var pluginName = 'image'; 15 | 16 | // Register the dialog. 17 | CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/image.js' ); 18 | 19 | // Register the command. 20 | editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) ); 21 | 22 | // Register the toolbar button. 23 | editor.ui.addButton( 'Image', 24 | { 25 | label : editor.lang.common.image, 26 | command : pluginName 27 | }); 28 | 29 | editor.on( 'doubleclick', function( evt ) 30 | { 31 | var element = evt.data.element; 32 | 33 | if ( element.is( 'img' ) && !element.data( 'cke-realelement' ) && !element.isReadOnly() ) 34 | evt.data.dialog = 'image'; 35 | }); 36 | 37 | // If the "menu" plugin is loaded, register the menu items. 38 | if ( editor.addMenuItems ) 39 | { 40 | editor.addMenuItems( 41 | { 42 | image : 43 | { 44 | label : editor.lang.image.menu, 45 | command : 'image', 46 | group : 'image' 47 | } 48 | }); 49 | } 50 | 51 | // If the "contextmenu" plugin is loaded, register the listeners. 52 | if ( editor.contextMenu ) 53 | { 54 | editor.contextMenu.addListener( function( element, selection ) 55 | { 56 | if ( !element || !element.is( 'img' ) || element.data( 'cke-realelement' ) || element.isReadOnly() ) 57 | return null; 58 | 59 | return { image : CKEDITOR.TRISTATE_OFF }; 60 | }); 61 | } 62 | } 63 | } ); 64 | 65 | /** 66 | * Whether to remove links when emptying the link URL field in the image dialog. 67 | * @type Boolean 68 | * @default true 69 | * @example 70 | * config.image_removeLinkByEmptyURL = false; 71 | */ 72 | CKEDITOR.config.image_removeLinkByEmptyURL = true; 73 | 74 | /** 75 | * Padding text to set off the image in preview area. 76 | * @name CKEDITOR.config.image_previewText 77 | * @type String 78 | * @default "Lorem ipsum dolor..." placehoder text. 79 | * @example 80 | * config.image_previewText = CKEDITOR.tools.repeat( '___ ', 100 ); 81 | */ 82 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/core/plugindefinition.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @fileOverview Defines the "virtual" {@link CKEDITOR.pluginDefinition} class, which 8 | * contains the defintion of a plugin. This file is for documentation 9 | * purposes only. 10 | */ 11 | 12 | /** 13 | * (Virtual Class) Do not call this constructor. This class is not really part 14 | * of the API. It just illustrates the features of plugin objects to be 15 | * passed to the {@link CKEDITOR.plugins.add} function. 16 | * @name CKEDITOR.pluginDefinition 17 | * @constructor 18 | * @example 19 | */ 20 | 21 | /** 22 | * A list of plugins that are required by this plugin. Note that this property 23 | * doesn't guarantee the loading order of the plugins. 24 | * @name CKEDITOR.pluginDefinition.prototype.requires 25 | * @type Array 26 | * @example 27 | * CKEDITOR.plugins.add( 'sample', 28 | * { 29 | * requires : [ 'button', 'selection' ] 30 | * }); 31 | */ 32 | 33 | /** 34 | * Function called on initialization of every editor instance created in the 35 | * page before the init() call task. The beforeInit function will be called for 36 | * all plugins, after that the init function is called for all of them. This 37 | * feature makes it possible to initialize things that could be used in the 38 | * init function of other plugins. 39 | * @name CKEDITOR.pluginDefinition.prototype.beforeInit 40 | * @function 41 | * @param {CKEDITOR.editor} editor The editor instance being initialized. 42 | * @example 43 | * CKEDITOR.plugins.add( 'sample', 44 | * { 45 | * beforeInit : function( editor ) 46 | * { 47 | * alert( 'Editor "' + editor.name + '" is to be initialized!' ); 48 | * } 49 | * }); 50 | */ 51 | 52 | /** 53 | * Function called on initialization of every editor instance created in the 54 | * page. 55 | * @name CKEDITOR.pluginDefinition.prototype.init 56 | * @function 57 | * @param {CKEDITOR.editor} editor The editor instance being initialized. 58 | * @example 59 | * CKEDITOR.plugins.add( 'sample', 60 | * { 61 | * init : function( editor ) 62 | * { 63 | * alert( 'Editor "' + editor.name + '" is being initialized!' ); 64 | * } 65 | * }); 66 | */ 67 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/skins/office2003/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * Styles for the "templates" plugin. 8 | */ 9 | 10 | .cke_skin_office2003 .cke_tpl_list 11 | { 12 | border: #dcdcdc 2px solid; 13 | background-color: #ffffff; 14 | overflow: auto; 15 | width: 100%; 16 | height: 220px; 17 | } 18 | 19 | .cke_skin_office2003 .cke_tpl_item 20 | { 21 | margin: 5px; 22 | padding: 7px; 23 | border: #eeeeee 1px solid; 24 | *width: 88%; 25 | } 26 | 27 | .cke_skin_office2003 .cke_tpl_preview 28 | { 29 | border-collapse: separate; 30 | text-indent:0; 31 | width: 100%; 32 | } 33 | .cke_skin_office2003 .cke_tpl_preview td 34 | { 35 | padding: 2px; 36 | vertical-align: middle; 37 | } 38 | .cke_skin_office2003 .cke_tpl_preview .cke_tpl_preview_img 39 | { 40 | width: 100px; 41 | } 42 | .cke_skin_office2003 .cke_tpl_preview span 43 | { 44 | white-space: normal; 45 | } 46 | 47 | .cke_skin_office2003 .cke_tpl_title 48 | { 49 | font-weight: bold; 50 | } 51 | 52 | .cke_skin_office2003 .cke_tpl_list a:active .cke_tpl_item, 53 | .cke_skin_office2003 .cke_tpl_list a:hover .cke_tpl_item, 54 | .cke_skin_office2003 .cke_tpl_list a:focus .cke_tpl_item 55 | { 56 | border: #ff9933 1px solid !important; 57 | background-color: #fffacd !important; 58 | } 59 | 60 | .cke_skin_office2003 .cke_tpl_list a:active *, 61 | .cke_skin_office2003 .cke_tpl_list a:hover *, 62 | .cke_skin_office2003 .cke_tpl_list a:focus * 63 | { 64 | cursor: pointer; 65 | } 66 | 67 | /* IE6 contextual selectors childs won't get :hover transition until, 68 | the hover style of the link itself contains certain CSS declarations.*/ 69 | .cke_skin_office2003 .cke_browser_ie6 .cke_tpl_list a:active, 70 | .cke_skin_office2003 .cke_browser_ie6 .cke_tpl_list a:hover, 71 | .cke_skin_office2003 .cke_browser_ie6 .cke_tpl_list a:focus 72 | { 73 | background-position: 0 0; 74 | } 75 | 76 | .cke_skin_office2003 .cke_tpl_list a:active .cke_tpl_item, 77 | .cke_skin_office2003 .cke_tpl_list a:hover .cke_tpl_item, 78 | .cke_skin_office2003 .cke_tpl_list a:focus .cke_tpl_item 79 | { 80 | border-width: 3px; 81 | } 82 | 83 | .cke_skin_office2003 .cke_tpl_empty, .cke_tpl_loading 84 | { 85 | text-align: center; 86 | padding: 5px; 87 | } 88 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.html or http://ckeditor.com/license 3 | 4 | af.js Found: 521 Missing: 1 5 | ar.js Found: 435 Missing: 87 6 | bg.js Found: 268 Missing: 254 7 | bn.js Found: 269 Missing: 253 8 | bs.js Found: 175 Missing: 347 9 | ca.js Found: 521 Missing: 1 10 | cs.js Found: 520 Missing: 2 11 | cy.js Found: 435 Missing: 87 12 | da.js Found: 388 Missing: 134 13 | de.js Found: 522 Missing: 0 14 | el.js Found: 274 Missing: 248 15 | en-au.js Found: 345 Missing: 177 16 | en-ca.js Found: 345 Missing: 177 17 | en-gb.js Found: 520 Missing: 2 18 | eo.js Found: 247 Missing: 275 19 | es.js Found: 522 Missing: 0 20 | et.js Found: 289 Missing: 233 21 | eu.js Found: 387 Missing: 135 22 | fa.js Found: 290 Missing: 232 23 | fi.js Found: 522 Missing: 0 24 | fo.js Found: 521 Missing: 1 25 | fr-ca.js Found: 289 Missing: 233 26 | fr.js Found: 522 Missing: 0 27 | gl.js Found: 271 Missing: 251 28 | gu.js Found: 288 Missing: 234 29 | he.js Found: 522 Missing: 0 30 | hi.js Found: 290 Missing: 232 31 | hr.js Found: 388 Missing: 134 32 | hu.js Found: 512 Missing: 10 33 | is.js Found: 295 Missing: 227 34 | it.js Found: 388 Missing: 134 35 | ja.js Found: 471 Missing: 51 36 | km.js Found: 263 Missing: 259 37 | ko.js Found: 281 Missing: 241 38 | lt.js Found: 294 Missing: 228 39 | lv.js Found: 271 Missing: 251 40 | mn.js Found: 288 Missing: 234 41 | ms.js Found: 253 Missing: 269 42 | nb.js Found: 521 Missing: 1 43 | nl.js Found: 513 Missing: 9 44 | no.js Found: 521 Missing: 1 45 | pl.js Found: 522 Missing: 0 46 | pt-br.js Found: 506 Missing: 16 47 | pt.js Found: 270 Missing: 252 48 | ro.js Found: 289 Missing: 233 49 | ru.js Found: 451 Missing: 71 50 | sk.js Found: 290 Missing: 232 51 | sl.js Found: 394 Missing: 128 52 | sr-latn.js Found: 264 Missing: 258 53 | sr.js Found: 263 Missing: 259 54 | sv.js Found: 521 Missing: 1 55 | th.js Found: 275 Missing: 247 56 | tr.js Found: 506 Missing: 16 57 | uk.js Found: 513 Missing: 9 58 | vi.js Found: 463 Missing: 59 59 | zh-cn.js Found: 518 Missing: 4 60 | zh.js Found: 388 Missing: 134 61 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.html or http://ckeditor.com/license 3 | 4 | af.js Found: 521 Missing: 1 5 | ar.js Found: 435 Missing: 87 6 | bg.js Found: 268 Missing: 254 7 | bn.js Found: 269 Missing: 253 8 | bs.js Found: 175 Missing: 347 9 | ca.js Found: 521 Missing: 1 10 | cs.js Found: 520 Missing: 2 11 | cy.js Found: 435 Missing: 87 12 | da.js Found: 388 Missing: 134 13 | de.js Found: 522 Missing: 0 14 | el.js Found: 274 Missing: 248 15 | en-au.js Found: 345 Missing: 177 16 | en-ca.js Found: 345 Missing: 177 17 | en-gb.js Found: 520 Missing: 2 18 | eo.js Found: 247 Missing: 275 19 | es.js Found: 522 Missing: 0 20 | et.js Found: 289 Missing: 233 21 | eu.js Found: 387 Missing: 135 22 | fa.js Found: 290 Missing: 232 23 | fi.js Found: 522 Missing: 0 24 | fo.js Found: 521 Missing: 1 25 | fr-ca.js Found: 289 Missing: 233 26 | fr.js Found: 522 Missing: 0 27 | gl.js Found: 271 Missing: 251 28 | gu.js Found: 288 Missing: 234 29 | he.js Found: 522 Missing: 0 30 | hi.js Found: 290 Missing: 232 31 | hr.js Found: 388 Missing: 134 32 | hu.js Found: 512 Missing: 10 33 | is.js Found: 295 Missing: 227 34 | it.js Found: 388 Missing: 134 35 | ja.js Found: 471 Missing: 51 36 | km.js Found: 263 Missing: 259 37 | ko.js Found: 281 Missing: 241 38 | lt.js Found: 294 Missing: 228 39 | lv.js Found: 271 Missing: 251 40 | mn.js Found: 288 Missing: 234 41 | ms.js Found: 253 Missing: 269 42 | nb.js Found: 521 Missing: 1 43 | nl.js Found: 513 Missing: 9 44 | no.js Found: 521 Missing: 1 45 | pl.js Found: 522 Missing: 0 46 | pt-br.js Found: 506 Missing: 16 47 | pt.js Found: 270 Missing: 252 48 | ro.js Found: 289 Missing: 233 49 | ru.js Found: 451 Missing: 71 50 | sk.js Found: 290 Missing: 232 51 | sl.js Found: 394 Missing: 128 52 | sr-latn.js Found: 264 Missing: 258 53 | sr.js Found: 263 Missing: 259 54 | sv.js Found: 521 Missing: 1 55 | th.js Found: 275 Missing: 247 56 | tr.js Found: 506 Missing: 16 57 | uk.js Found: 513 Missing: 9 58 | vi.js Found: 463 Missing: 59 59 | zh-cn.js Found: 518 Missing: 4 60 | zh.js Found: 388 Missing: 134 61 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/about/dialogs/about.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add( 'about', function( editor ) 7 | { 8 | var lang = editor.lang.about; 9 | 10 | return { 11 | title : CKEDITOR.env.ie ? lang.dlgTitle : lang.title, 12 | minWidth : 390, 13 | minHeight : 230, 14 | contents : [ 15 | { 16 | id : 'tab1', 17 | label : '', 18 | title : '', 19 | expand : true, 20 | padding : 0, 21 | elements : 22 | [ 23 | { 24 | type : 'html', 25 | html : 26 | '' + 53 | '
' + 54 | '' + 55 | '

' + 56 | 'CKEditor ' + CKEDITOR.version + ' (revision ' + CKEDITOR.revision + ')
' + 57 | 'http://ckeditor.com' + 58 | '

' + 59 | '

' + 60 | lang.moreInfo + '
' + 61 | 'http://ckeditor.com/license' + 62 | '

' + 63 | '

' + 64 | lang.copy.replace( '$1', 'CKSource - Frederico Knabben' ) + 65 | '

' + 66 | '
' 67 | } 68 | ] 69 | } 70 | ], 71 | buttons : [ CKEDITOR.dialog.cancelButton ] 72 | }; 73 | } ); 74 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/plugins/placeholder/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){var a=/\[\[[^\]]+\]\]/g;CKEDITOR.plugins.add('placeholder',{requires:['dialog'],lang:['en','he'],init:function(b){var c=b.lang.placeholder;b.addCommand('createplaceholder',new CKEDITOR.dialogCommand('createplaceholder'));b.addCommand('editplaceholder',new CKEDITOR.dialogCommand('editplaceholder'));b.ui.addButton('CreatePlaceholder',{label:c.toolbar,command:'createplaceholder',icon:this.path+'placeholder.gif'});if(b.addMenuItems){b.addMenuGroup('placeholder',20);b.addMenuItems({editplaceholder:{label:c.edit,command:'editplaceholder',group:'placeholder',order:1,icon:this.path+'placeholder.gif'}});if(b.contextMenu)b.contextMenu.addListener(function(d,e){if(!d||!d.data('cke-placeholder'))return null;return{editplaceholder:CKEDITOR.TRISTATE_OFF};});}b.on('doubleclick',function(d){if(CKEDITOR.plugins.placeholder.getSelectedPlaceHoder(b))d.data.dialog='editplaceholder';});b.addCss('.cke_placeholder{background-color: #ffff00;'+(CKEDITOR.env.gecko?'cursor: default;':'')+'}');b.on('contentDom',function(){b.document.getBody().on('resizestart',function(d){if(b.getSelection().getSelectedElement().data('cke-placeholder'))d.data.preventDefault();});});CKEDITOR.dialog.add('createplaceholder',this.path+'dialogs/placeholder.js');CKEDITOR.dialog.add('editplaceholder',this.path+'dialogs/placeholder.js');},afterInit:function(b){var c=b.dataProcessor,d=c&&c.dataFilter,e=c&&c.htmlFilter;if(d)d.addRules({text:function(f){return f.replace(a,function(g){return CKEDITOR.plugins.placeholder.createPlaceholder(b,null,g,1);});}});if(e)e.addRules({elements:{span:function(f){if(f.attributes&&f.attributes['data-cke-placeholder'])delete f.name;}}});}});})();CKEDITOR.plugins.placeholder={createPlaceholder:function(a,b,c,d){var e=new CKEDITOR.dom.element('span',a.document);e.setAttributes({contentEditable:'false','data-cke-placeholder':1,'class':'cke_placeholder'});c&&e.setText(c);if(d)return e.getOuterHtml();if(b){if(CKEDITOR.env.ie){e.insertAfter(b);setTimeout(function(){b.remove();e.focus();},10);}else e.replace(b);}else a.insertElement(e);return null;},getSelectedPlaceHoder:function(a){var b=a.getSelection().getRanges()[0];b.shrink(CKEDITOR.SHRINK_TEXT);var c=b.startContainer;while(c&&!(c.type==CKEDITOR.NODE_ELEMENT&&c.data('cke-placeholder')))c=c.getParent();return c;}}; 7 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/menubutton/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.plugins.add( 'menubutton', 7 | { 8 | requires : [ 'button', 'menu' ], 9 | beforeInit : function( editor ) 10 | { 11 | editor.ui.addHandler( CKEDITOR.UI_MENUBUTTON, CKEDITOR.ui.menuButton.handler ); 12 | } 13 | }); 14 | 15 | /** 16 | * Button UI element. 17 | * @constant 18 | * @example 19 | */ 20 | CKEDITOR.UI_MENUBUTTON = 5; 21 | 22 | (function() 23 | { 24 | var clickFn = function( editor ) 25 | { 26 | var _ = this._; 27 | 28 | // Do nothing if this button is disabled. 29 | if ( _.state === CKEDITOR.TRISTATE_DISABLED ) 30 | return; 31 | 32 | _.previousState = _.state; 33 | 34 | // Check if we already have a menu for it, otherwise just create it. 35 | var menu = _.menu; 36 | if ( !menu ) 37 | { 38 | menu = _.menu = new CKEDITOR.menu( editor, 39 | { 40 | panel: 41 | { 42 | className : editor.skinClass + ' cke_contextmenu', 43 | attributes : { 'aria-label' : editor.lang.common.options } 44 | } 45 | }); 46 | 47 | menu.onHide = CKEDITOR.tools.bind( function() 48 | { 49 | this.setState( this.modes && this.modes[ editor.mode ] ? _.previousState : CKEDITOR.TRISTATE_DISABLED ); 50 | }, 51 | this ); 52 | 53 | // Initialize the menu items at this point. 54 | if ( this.onMenu ) 55 | menu.addListener( this.onMenu ); 56 | } 57 | 58 | if ( _.on ) 59 | { 60 | menu.hide(); 61 | return; 62 | } 63 | 64 | this.setState( CKEDITOR.TRISTATE_ON ); 65 | 66 | menu.show( CKEDITOR.document.getById( this._.id ), 4 ); 67 | }; 68 | 69 | 70 | CKEDITOR.ui.menuButton = CKEDITOR.tools.createClass( 71 | { 72 | base : CKEDITOR.ui.button, 73 | 74 | $ : function( definition ) 75 | { 76 | // We don't want the panel definition in this object. 77 | var panelDefinition = definition.panel; 78 | delete definition.panel; 79 | 80 | this.base( definition ); 81 | 82 | this.hasArrow = true; 83 | 84 | this.click = clickFn; 85 | }, 86 | 87 | statics : 88 | { 89 | handler : 90 | { 91 | create : function( definition ) 92 | { 93 | return new CKEDITOR.ui.menuButton( definition ); 94 | } 95 | } 96 | } 97 | }); 98 | })(); 99 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/_source/plugins/pastetext/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | /** 7 | * @file Paste as plain text plugin 8 | */ 9 | 10 | (function() 11 | { 12 | // The pastetext command definition. 13 | var pasteTextCmd = 14 | { 15 | exec : function( editor ) 16 | { 17 | var clipboardText = CKEDITOR.tools.tryThese( 18 | function() 19 | { 20 | var clipboardText = window.clipboardData.getData( 'Text' ); 21 | if ( !clipboardText ) 22 | throw 0; 23 | return clipboardText; 24 | } 25 | // Any other approach that's working... 26 | ); 27 | 28 | if ( !clipboardText ) // Clipboard access privilege is not granted. 29 | { 30 | editor.openDialog( 'pastetext' ); 31 | return false; 32 | } 33 | else 34 | editor.fire( 'paste', { 'text' : clipboardText } ); 35 | 36 | return true; 37 | } 38 | }; 39 | 40 | // Register the plugin. 41 | CKEDITOR.plugins.add( 'pastetext', 42 | { 43 | init : function( editor ) 44 | { 45 | var commandName = 'pastetext', 46 | command = editor.addCommand( commandName, pasteTextCmd ); 47 | 48 | editor.ui.addButton( 'PasteText', 49 | { 50 | label : editor.lang.pasteText.button, 51 | command : commandName 52 | }); 53 | 54 | CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/pastetext.js' ) ); 55 | 56 | if ( editor.config.forcePasteAsPlainText ) 57 | { 58 | // Intercept the default pasting process. 59 | editor.on( 'beforeCommandExec', function ( evt ) 60 | { 61 | if ( evt.data.name == 'paste' ) 62 | { 63 | editor.execCommand( 'pastetext' ); 64 | evt.cancel(); 65 | } 66 | }, null, null, 0 ); 67 | } 68 | 69 | editor.on( 'pasteState', function( evt ) 70 | { 71 | editor.getCommand( 'pastetext' ).setState( evt.data ); 72 | }); 73 | }, 74 | 75 | requires : [ 'clipboard' ] 76 | }); 77 | 78 | })(); 79 | 80 | 81 | /** 82 | * Whether to force all pasting operations to insert on plain text into the 83 | * editor, loosing any formatting information possibly available in the source 84 | * text. 85 | * @name CKEDITOR.config.forcePasteAsPlainText 86 | * @type Boolean 87 | * @default false 88 | * @example 89 | * config.forcePasteAsPlainText = true; 90 | */ 91 | -------------------------------------------------------------------------------- /ckeditor/static/ckeditor/ckeditor/adapters/jquery.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | (function(){CKEDITOR.config.jqueryOverrideVal=typeof CKEDITOR.config.jqueryOverrideVal=='undefined'?true:CKEDITOR.config.jqueryOverrideVal;var a=window.jQuery;if(typeof a=='undefined')return;a.extend(a.fn,{ckeditorGet:function(){var b=this.eq(0).data('ckeditorInstance');if(!b)throw 'CKEditor not yet initialized, use ckeditor() with callback.';return b;},ckeditor:function(b,c){if(!CKEDITOR.env.isCompatible)return this;if(!a.isFunction(b)){var d=c;c=b;b=d;}c=c||{};this.filter('textarea, div, p').each(function(){var e=a(this),f=e.data('ckeditorInstance'),g=e.data('_ckeditorInstanceLock'),h=this;if(f&&!g){if(b)b.apply(f,[this]);}else if(!g){if(c.autoUpdateElement||typeof c.autoUpdateElement=='undefined'&&CKEDITOR.config.autoUpdateElement)c.autoUpdateElementJquery=true;c.autoUpdateElement=false;e.data('_ckeditorInstanceLock',true);f=CKEDITOR.replace(h,c);e.data('ckeditorInstance',f);f.on('instanceReady',function(i){var j=i.editor;setTimeout(function(){if(!j.element){setTimeout(arguments.callee,100);return;}i.removeListener('instanceReady',this.callee);j.on('dataReady',function(){e.trigger('setData.ckeditor',[j]);});j.on('getData',function(l){e.trigger('getData.ckeditor',[j,l.data]);},999);j.on('destroy',function(){e.trigger('destroy.ckeditor',[j]);});if(j.config.autoUpdateElementJquery&&e.is('textarea')&&e.parents('form').length){var k=function(){e.ckeditor(function(){j.updateElement();});};e.parents('form').submit(k);e.parents('form').bind('form-pre-serialize',k);e.bind('destroy.ckeditor',function(){e.parents('form').unbind('submit',k);e.parents('form').unbind('form-pre-serialize',k);});}j.on('destroy',function(){e.data('ckeditorInstance',null);});e.data('_ckeditorInstanceLock',null);e.trigger('instanceReady.ckeditor',[j]);if(b)b.apply(j,[h]);},0);},null,null,9999);}else CKEDITOR.on('instanceReady',function(i){var j=i.editor;setTimeout(function(){if(!j.element){setTimeout(arguments.callee,100);return;}if(j.element.$==h)if(b)b.apply(j,[h]);},0);},null,null,9999);});return this;}});if(CKEDITOR.config.jqueryOverrideVal)a.fn.val=CKEDITOR.tools.override(a.fn.val,function(b){return function(c,d){var e=typeof c!='undefined',f;this.each(function(){var g=a(this),h=g.data('ckeditorInstance');if(!d&&g.is('textarea')&&h){if(e)h.setData(c);else{f=h.getData();return null;}}else if(e)b.call(g,c);else{f=b.call(g);return null;}return true;});return e?this:f;};});})(); 7 | --------------------------------------------------------------------------------