diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE index 89dce13b5c..8a0b560bf0 100644 --- a/.github/ISSUE_TEMPLATE +++ b/.github/ISSUE_TEMPLATE @@ -1 +1 @@ -Please do not report issues in CKEditor. The correct location of CKEditor issue tracker is: http://dev.ckeditor.com/ +Please do not report issues in CKEditor. The correct location of CKEditor issue tracker is: https://github.com/ckeditor/ckeditor-dev/issues diff --git a/.npm/README.md b/.npm/README.md new file mode 100644 index 0000000000..96dd6a1fe7 --- /dev/null +++ b/.npm/README.md @@ -0,0 +1,79 @@ +# CKEditor 4 [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20CKEditor%204%20on%20npm&url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fckeditor4) + +[![GitHub tag](https://img.shields.io/github/tag/ckeditor/ckeditor4-releases.svg)](https://github.com/ckeditor/ckeditor4-releases) +[![Dependencies](https://img.shields.io/david/ckeditor/ckeditor4.svg)](https://david-dm.org/ckeditor/ckeditor4) +[![Dev dependencies](https://img.shields.io/david/dev/ckeditor/ckeditor4.svg)](https://david-dm.org/ckeditor/ckeditor4?type=dev) + +[![Join newsletter](https://img.shields.io/badge/join-newsletter-00cc99.svg)](http://eepurl.com/c3zRPr) +[![Follow twitter](https://img.shields.io/badge/follow-twitter-00cc99.svg)](https://twitter.com/ckeditor) + +A highly configurable WYSIWYG HTML editor with hundreds of features, from creating rich text content with captioned images, videos, tables, or media embeds to pasting from Word and drag&drop image upload. + +Supports a broad range of browsers, including legacy ones. + +![CKEditor 4 screenshot](https://c.cksource.com/a/1/img/npm/ckeditor4.png) + +## Getting Started + +``` +npm install --save ckeditor4 +``` + +Use it on your website: + +```html +
+

This is the editor content.

+
+ + +``` + +You can also load CKEditor 4 using [CDN](https://cdn.ckeditor.com/#ckeditor4). + +## Features + +* Over 500 plugins in the [Add-ons Repository](https://ckeditor.com/cke4/addons). +* Pasting from Microsoft Word and Excel. +* Drag&drop image uploads. +* Media embeds to insert videos, tweets, maps, slideshows. +* Powerful clipboard integration. +* Content quality control with Advanced Content Filter. +* Extensible widget system. +* Custom table selection. +* Accessibility conforming to WCAG and Section 508. +* Over 60 localizations available with full RTL support. + +## Presets + +The CKEditor 4 npm package comes in the `standard-all` preset, so it includes all official CKEditor plugins, with those from the [standard package](https://sdk.ckeditor.com/samples/standardpreset.html) active by default. + +## Further Resources + +* [CKEditor 4 demo](https://ckeditor.com/ckeditor-4/) +* [Documentation](https://ckeditor.com/docs/ckeditor4/latest/) +* [API documentation](https://ckeditor.com/docs/ckeditor4/latest/api/index.html) +* [Configuration reference](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html) +* [CKEditor SDK with more samples](https://sdk.ckeditor.com/) + +If you are looking for CKEditor 5, here's a link to the relevant npm package: + +## Browser Support + +| [IE / Edge](http://godban.github.io/browsers-support-badges/)
IE / Edge | [Firefox](http://godban.github.io/browsers-support-badges/)
Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome | [Chrome](http://godban.github.io/browsers-support-badges/)
Chrome (Android) | [Safari](http://godban.github.io/browsers-support-badges/)
Safari | [iOS Safari](http://godban.github.io/browsers-support-badges/)
iOS Safari | [Opera](http://godban.github.io/browsers-support-badges/)
Opera | +| --------- | --------- | --------- | --------- | --------- | --------- | --------- | +| IE8, IE9, IE10, IE11, Edge| latest version| latest version| latest version| latest version| latest version| latest version + +Find out more in the [Browser Compatibility guide](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_browsers.html#officially-supported-browsers). + +## Contribute + +If you would like to help maintain the project, follow the [Contribution instructions](https://github.com/ckeditor/ckeditor4/blob/master/.github/CONTRIBUTING.md). + +## License + +Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. + +For licensing, see LICENSE.md or diff --git a/.npm/assets/ckeditor4.png b/.npm/assets/ckeditor4.png new file mode 100644 index 0000000000..a91493b24b Binary files /dev/null and b/.npm/assets/ckeditor4.png differ diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000000..de770ce542 --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +.*/** diff --git a/CHANGES.md b/CHANGES.md index f9bb0a2104..2f0aacc49b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,217 +1,809 @@ CKEditor 4 Changelog ==================== +## CKEditor 4.15 + +New features: + +* [#3940](https://github.com/ckeditor/ckeditor4/issues/3940): Introduced the `colorName` property for customizing foreground and background styles in the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin via the [`config.colorButton_foreStyle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_foreStyle) and [`config.colorButton_backStyle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_backStyle) configuration options. +* [#3793](https://github.com/ckeditor/ckeditor4/issues/3793): Introduced the [Editor Placeholder](https://ckeditor.com/cke4/addon/editorplaceholder) plugin. +* [#1795](https://github.com/ckeditor/ckeditor4/issues/1795): The colors picked from the [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) are now stored in the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) palette and can be reused easily. +* [#3783](https://github.com/ckeditor/ckeditor4/issues/3783): The colors used in the document are now displayed as a part of the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) palette. + +Fixed Issues: + +* [#4060](https://github.com/ckeditor/ckeditor4/issues/4060): Fixed: The content inside a [widget](https://ckeditor.com/cke4/addon/widget) nested editable is escaped twice. +* [#4183](https://github.com/ckeditor/ckeditor4/issues/4183): [Safari] Fixed: Incorrect image dimensions when using the [Easy Image](https://ckeditor.com/cke4/addon/easyimage) plugin alongside the [IFrame Editing Area](https://ckeditor.com/cke4/addon/wysiwygarea) plugin. +* [#3693](https://github.com/ckeditor/ckeditor4/issues/3693): Fixed: Incorrect default values for several [Color Button](https://ckeditor.com/cke4/addon/colorbutton) configuration variables in the API documentation. +* [#3795](https://github.com/ckeditor/ckeditor4/issues/3795): Fixed: Setting the [`config.dataIndentationChars`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-dataIndentationChars) configuration option to an empty string is ignored and replaced by a tab (`\t`) character. Thanks to [Thomas Grinderslev](https://github.com/Znegl)! +* [#4107](https://github.com/ckeditor/ckeditor4/issues/4107): Fixed: Multiple [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) instances cause keyboard navigation issues. +* [#4041](https://github.com/ckeditor/ckeditor4/issues/4041): Fixed: The[`selection.scrollIntoView`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_selection.html#method-scrollIntoView) method throws an error when the editor selection is not set. +* [#3361](https://github.com/ckeditor/ckeditor4/issues/3361): Fixed: Loading multiple [custom editor configurations](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-customConfig) is prone to a race condition between these. +* [#4007](https://github.com/ckeditor/ckeditor4/issues/4007): Fixed: Screen readers do not announce the [Rich Combo](https://ckeditor.com/cke4/addon/richcombo) plugin is collapsed or expanded. +* [#4141](https://github.com/ckeditor/ckeditor4/issues/4141): Fixed: The styles are incorrectly applied when there is a `` DOM element. +* [#13867](https://dev.ckeditor.com/ticket/13867): Fixed: CKEditor does not work when the `classList` polyfill is used. +* [#13885](https://dev.ckeditor.com/ticket/13885): Fixed: [Enhanced Image](https://ckeditor.com/cke4/addon/image2) requires the [Link](https://ckeditor.com/cke4/addon/link) plugin to link an image. +* [#13883](https://dev.ckeditor.com/ticket/13883): Fixed: Copying a table using the context menu strips off styles. +* [#13872](https://dev.ckeditor.com/ticket/13872): Fixed: Cutting is possible in the [read-only](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) mode. +* [#12848](https://dev.ckeditor.com/ticket/12848): [Blink] Fixed: Opening the [Find and Replace](https://ckeditor.com/cke4/addon/find) dialog window in the [read-only](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) mode throws an exception. +* [#13879](https://dev.ckeditor.com/ticket/13879): Fixed: It is not possible to prevent the [`editor.drop`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-drop) event. +* [#13361](https://dev.ckeditor.com/ticket/13361): Fixed: Skin images fail when the site path includes parentheses because the `background-image` path needs single quotes around the URL value. +* [#13771](https://dev.ckeditor.com/ticket/13771): Fixed: The `contents.css` style is not used if the [IFrame Editing Area](https://ckeditor.com/cke4/addon/wysiwygarea) plugin is missing. +* [#13782](https://dev.ckeditor.com/ticket/13782): Fixed: Unclear log messages. +* [#13919](https://dev.ckeditor.com/ticket/13919): [Edge] Fixed: Browser window crashes when accessing the `isContentEditable` property of an `` DOM element. Other Changes: -* [#13859](http://dev.ckeditor.com/ticket/13859): Test cases created with `bender.tools.createTestsForEditors` will also receive editor bot as a second parameter. +* [#13859](https://dev.ckeditor.com/ticket/13859): Test cases created with `bender.tools.createTestsForEditors` will also receive editor bot as a second parameter. ## CKEditor 4.5.4 New Features: -* [#13632](http://dev.ckeditor.com/ticket/13632): Introduce error logging mechanism. -* [#13730](http://dev.ckeditor.com/ticket/13730): Switch to the new error logging mechanism. +* [#13632](https://dev.ckeditor.com/ticket/13632): Introduce error logging mechanism. +* [#13730](https://dev.ckeditor.com/ticket/13730): Switch to the new error logging mechanism. Fixed Issues: -* [#9856](http://dev.ckeditor.com/ticket/9856): Fixed: Cannot use the native context menu together with the [Div Editing Area](http://ckeditor.com/addon/divarea) plugin. Thanks to [Mark Wade](https://github.com/mark-wade)! -* [#12733](http://dev.ckeditor.com/ticket/12733): [IE9+] Fixed: Radio button `onChange` does not work. Thanks to [Iliya Kostadinov](https://github.com/iliyakostadinov)! -* [#13142](http://dev.ckeditor.com/ticket/13142): [Edge] Fixed: *Ctrl+A* and then *Backspace* result in an empty `
` element. -* [#13599](http://dev.ckeditor.com/ticket/13599): Fixed: Cross-editor drag and drop of an inline widget results in error/artifacts. -* [#13640](http://dev.ckeditor.com/ticket/13640): [IE] Fixed: Dropping a widget outside the `` element is not handled correctly. -* [#13533](http://dev.ckeditor.com/ticket/13533): Fixed: No progress during upload. -* [#13680](http://dev.ckeditor.com/ticket/13680): Fixed: The parser should allow the `` element to be a child of the `` element. -* [#11724](http://dev.ckeditor.com/ticket/11724): [Touch devices] Fixed: Drop-downs often hide right after opening them. -* [#13690](http://dev.ckeditor.com/ticket/13690): Fixed: Copying content from IE to Chrome adds an extra paragraph. -* [#13284](http://dev.ckeditor.com/ticket/13284): Fixed: Cannot drag and drop a widget if the text caret is placed just after the widget instance. -* [#13516](http://dev.ckeditor.com/ticket/13516): Fixed: CKEditor removes empty HTML5 anchors without the `name` attribute. -* [#13765](http://dev.ckeditor.com/ticket/13765): [Safari 9] Fixed: Problems with rendering samples. +* [#9856](https://dev.ckeditor.com/ticket/9856): Fixed: Cannot use the native context menu together with the [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) plugin. Thanks to [Mark Wade](https://github.com/mark-wade)! +* [#12733](https://dev.ckeditor.com/ticket/12733): [IE9+] Fixed: Radio button `onChange` does not work. Thanks to [Iliya Kostadinov](https://github.com/iliyakostadinov)! +* [#13142](https://dev.ckeditor.com/ticket/13142): [Edge] Fixed: *Ctrl+A* and then *Backspace* result in an empty `
` element. +* [#13599](https://dev.ckeditor.com/ticket/13599): Fixed: Cross-editor drag and drop of an inline widget results in error/artifacts. +* [#13640](https://dev.ckeditor.com/ticket/13640): [IE] Fixed: Dropping a widget outside the `` element is not handled correctly. +* [#13533](https://dev.ckeditor.com/ticket/13533): Fixed: No progress during upload. +* [#13680](https://dev.ckeditor.com/ticket/13680): Fixed: The parser should allow the `` element to be a child of the `` element. +* [#11724](https://dev.ckeditor.com/ticket/11724): [Touch devices] Fixed: Drop-downs often hide right after opening them. +* [#13690](https://dev.ckeditor.com/ticket/13690): Fixed: Copying content from IE to Chrome adds an extra paragraph. +* [#13284](https://dev.ckeditor.com/ticket/13284): Fixed: Cannot drag and drop a widget if the text caret is placed just after the widget instance. +* [#13516](https://dev.ckeditor.com/ticket/13516): Fixed: CKEditor removes empty HTML5 anchors without the `name` attribute. +* [#13765](https://dev.ckeditor.com/ticket/13765): [Safari 9] Fixed: Problems with rendering samples. Other Changes: -* [#11725](http://dev.ckeditor.com/ticket/11725): Marked [`CKEDITOR.env.mobile`](http://docs.ckeditor.com/#!/api/CKEDITOR.env-property-mobile) as deprecated. The reason is that it is no longer clear what "mobile" means. -* [#13737](http://dev.ckeditor.com/ticket/13737): Upgraded [Bender.js](https://github.com/benderjs/benderjs) to 0.4.1. +* [#11725](https://dev.ckeditor.com/ticket/11725): Marked [`CKEDITOR.env.mobile`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_env.html#property-mobile) as deprecated. The reason is that it is no longer clear what "mobile" means. +* [#13737](https://dev.ckeditor.com/ticket/13737): Upgraded [Bender.js](https://github.com/benderjs/benderjs) to 0.4.1. ## CKEditor 4.5.3 New Features: -* [#13501](http://dev.ckeditor.com/ticket/13501): Added the [`config.fileTools_defaultFileName`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-fileTools_defaultFileName) option to allow setting a default file name for paste uploads. -* [#13603](http://dev.ckeditor.com/ticket/13603): Added support for uploading dropped BMP images. +* [#13501](https://dev.ckeditor.com/ticket/13501): Added the [`config.fileTools_defaultFileName`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-fileTools_defaultFileName) option to allow setting a default file name for paste uploads. +* [#13603](https://dev.ckeditor.com/ticket/13603): Added support for uploading dropped BMP images. Fixed Issues: -* [#13590](http://dev.ckeditor.com/ticket/13590): Fixed: Various issues related to the [Paste from Word](http://ckeditor.com/addon/pastefromword) feature. Fixes also: - * [#11215](http://dev.ckeditor.com/ticket/11215), - * [#8780](http://dev.ckeditor.com/ticket/8780), - * [#12762](http://dev.ckeditor.com/ticket/12762). -* [#13386](http://dev.ckeditor.com/ticket/13386): [Edge] Fixed: Issues with selecting and editing images. -* [#13568](http://dev.ckeditor.com/ticket/13568): Fixed: The [`editor.getSelectedHtml()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-getSelectedHtml) method returns invalid results for entire content selection. -* [#13453](http://dev.ckeditor.com/ticket/13453): Fixed: Drag&drop of entire editor content throws an error. -* [#13465](http://dev.ckeditor.com/ticket/13465): Fixed: Error is thrown and the widget is lost on drag&drop if it is the only content of the editor. -* [#13414](http://dev.ckeditor.com/ticket/13414): Fixed: Content auto paragraphing in a nested editable despite editor configuration. -* [#13429](http://dev.ckeditor.com/ticket/13429): Fixed: Incorrect selection after content insertion by the [Auto Embed](http://ckeditor.com/addon/autoembed) plugin. -* [#13388](http://dev.ckeditor.com/ticket/13388): Fixed: [Table Resize](http://ckeditor.com/addon/tableresize) integration with [Undo](http://ckeditor.com/addon/undo) is broken. +* [#13590](https://dev.ckeditor.com/ticket/13590): Fixed: Various issues related to the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) feature. Fixes also: + * [#11215](https://dev.ckeditor.com/ticket/11215), + * [#8780](https://dev.ckeditor.com/ticket/8780), + * [#12762](https://dev.ckeditor.com/ticket/12762). +* [#13386](https://dev.ckeditor.com/ticket/13386): [Edge] Fixed: Issues with selecting and editing images. +* [#13568](https://dev.ckeditor.com/ticket/13568): Fixed: The [`editor.getSelectedHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getSelectedHtml) method returns invalid results for entire content selection. +* [#13453](https://dev.ckeditor.com/ticket/13453): Fixed: Drag&drop of entire editor content throws an error. +* [#13465](https://dev.ckeditor.com/ticket/13465): Fixed: Error is thrown and the widget is lost on drag&drop if it is the only content of the editor. +* [#13414](https://dev.ckeditor.com/ticket/13414): Fixed: Content auto paragraphing in a nested editable despite editor configuration. +* [#13429](https://dev.ckeditor.com/ticket/13429): Fixed: Incorrect selection after content insertion by the [Auto Embed](https://ckeditor.com/cke4/addon/autoembed) plugin. +* [#13388](https://dev.ckeditor.com/ticket/13388): Fixed: [Table Resize](https://ckeditor.com/cke4/addon/tableresize) integration with [Undo](https://ckeditor.com/cke4/addon/undo) is broken. Other Changes: @@ -403,123 +995,123 @@ Other Changes: Fixed Issues: -* [#13609](http://dev.ckeditor.com/ticket/13609): [Edge] Fixed: The browser crashes when switching to the source mode. Thanks to [Andrew Williams and Mark Smeed](http://webxsolution.com/)! -* [PR#201](https://github.com/ckeditor/ckeditor-dev/pull/201): Fixed: Buttons in the toolbar configurator cause form submission. Thanks to [colemanw](https://github.com/colemanw)! -* [#13422](http://dev.ckeditor.com/ticket/13422): Fixed: A monospaced font should be used in the ` + +

CKEditor Samples » Append To Page Element Using JavaScript Code

- This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. + This sample is not maintained anymore. Check out the brand new samples in CKEditor Examples.

- The CKEDITOR.appendTo() method serves to to place editors inside existing DOM elements. Unlike CKEDITOR.replace(), + The CKEDITOR.appendTo() method serves to to place editors inside existing DOM elements. Unlike CKEDITOR.replace(), a target container to be replaced is no longer necessary. A new editor instance is inserted directly wherever it is desired.

@@ -39,7 +40,7 @@

// provided content to the
element of ID "section1". CKEDITOR.appendTo( 'section1', null, - '

This is some sample text. You are using CKEditor.

' + '

This is some sample text. You are using CKEditor.

' ); @@ -48,10 +49,10 @@

diff --git a/samples/old/assets/outputxhtml/outputxhtml.css b/samples/old/assets/outputxhtml/outputxhtml.css index fbcc767f41..89c20088d4 100644 --- a/samples/old/assets/outputxhtml/outputxhtml.css +++ b/samples/old/assets/outputxhtml/outputxhtml.css @@ -1,6 +1,6 @@ /* - * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license + * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license * * Styles used by the XHTML 1.1 sample page (xhtml.html). */ diff --git a/samples/old/assets/posteddata.php b/samples/old/assets/posteddata.php index bb4dd9435d..ae1568681d 100644 --- a/samples/old/assets/posteddata.php +++ b/samples/old/assets/posteddata.php @@ -1,15 +1,16 @@ - + Sample — CKEditor +

@@ -49,10 +50,10 @@ diff --git a/samples/old/assets/uilanguages/languages.js b/samples/old/assets/uilanguages/languages.js index 3208ff4c5e..aae340585f 100644 --- a/samples/old/assets/uilanguages/languages.js +++ b/samples/old/assets/uilanguages/languages.js @@ -1,6 +1,6 @@ /* - Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. - For licensing, see LICENSE.md or http://ckeditor.com/license + Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ var CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czech",cy:"Welsh",da:"Danish",de:"German","de-ch":"German (Switzerland)",el:"Greek",en:"English","en-au":"English (Australia)","en-ca":"English (Canadian)","en-gb":"English (United Kingdom)",eo:"Esperanto",es:"Spanish","es-mx":"Spanish (Mexico)",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",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",km:"Khmer",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mk:"Macedonian",mn:"Mongolian",ms:"Malay",nb:"Norwegian Bokmal",nl:"Dutch",no:"Norwegian",oc:"Occitan",pl:"Polish",pt:"Portuguese (Portugal)","pt-br":"Portuguese (Brazil)",ro:"Romanian",ru:"Russian",si:"Sinhala",sk:"Slovak",sq:"Albanian",sl:"Slovenian",sr:"Serbian (Cyrillic)","sr-latn":"Serbian (Latin)", diff --git a/samples/old/autogrow/autogrow.html b/samples/old/autogrow/autogrow.html index 661f749777..75817f9740 100644 --- a/samples/old/autogrow/autogrow.html +++ b/samples/old/autogrow/autogrow.html @@ -1,9 +1,9 @@ - + AutoGrow Plugin — CKEditor Sample @@ -12,13 +12,14 @@ +

CKEditor Samples » Using AutoGrow Plugin

- This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. + This sample is not maintained anymore. Check out its brand new version in CKEditor Examples.

@@ -33,7 +34,7 @@

It is also possible to set a maximum height for the editor window. Once CKEditor editing area reaches the value in pixels specified in the - autoGrow_maxHeight + autoGrow_maxHeight configuration setting, scrollbars will be added and the editor window will no longer expand.

@@ -59,7 +60,7 @@

- + + + + + + +
+
+

+ CKEditor Sample +

+
+
+ +
+
+
+
+

Easy Image Demo

+

This sample shows the progress of work on Easy Image. Drop an image file into the editor to see how easily images can be handled.

+
+
+
+
+
+
+
+

Apollo 11

+
+ Saturn V carrying Apollo 11 +
+

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

+
+ Saturn V carrying Apollo 11 +
Saturn V carrying Apollo 11
+
+

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

+
+
+
+
+
+ +
+
+

+ CKEditor – The text editor for the Internet – https://ckeditor.com +

+

+ Copyright © 2003-2020, CKSource – Frederico Knabben. All rights reserved. +

+
+
+ + + + diff --git a/samples/old/emoji/emoji.html b/samples/old/emoji/emoji.html new file mode 100644 index 0000000000..cad925f8e8 --- /dev/null +++ b/samples/old/emoji/emoji.html @@ -0,0 +1,122 @@ + + + + + + Emoji plugin — CKEditor Sample + + + + + + + + + + +
+
+

+ CKEditor Sample +

+
+
+ +
+
+
+
+

Emoji plugin with dropdown menu

+

This sample shows the progress of work on Emoji. Type “ : ” and 2 letters to start inserting emoji.

+

Some emoji to type in editor:

+
    +
  • :beaming_face_with_smiling_eyes:

  • +
  • :skull:

  • +
  • :tractor:

  • +
  • :sparkles:

  • +
  • :bug:

  • +
+
+
+
+
+
+
+
+

This is emoji sample.

+

Type : and 2 letters to show suggestion box with emoji.

+

You can also select emoji icon in toolbar and select interesting emoji from drop down menu.

+
+
+
+
+
+ +
+
+

+ CKEditor – The text editor for the Internet – https://ckeditor.com +

+

+ Copyright © 2003-2020, CKSource – Frederico Knabben. All rights reserved. +

+
+
+ + + + diff --git a/samples/old/enterkey/enterkey.html b/samples/old/enterkey/enterkey.html index 79afee3e27..0972f5c387 100644 --- a/samples/old/enterkey/enterkey.html +++ b/samples/old/enterkey/enterkey.html @@ -1,9 +1,9 @@ - + ENTER Key Configuration — CKEditor Sample @@ -12,6 +12,7 @@ + + + + + +
+
+

+ CKEditor Sample +

+
+
+ +
+
+
+
+

Mentions Demo

+

This sample shows Mentions feature in action. Type “ @ ” to open simple autocompletion with array feed, “ $ ” (min 1 character) to open asynchronous autocompletion with URL string feed or “ # ” (min 2 characters) to open asynchronous autocompletion with custom source of data.

+
+
+
+
+
+
+
+

Mentions plugin

+

Feel free to mention @anna, @cris, @thomas or anyone else.

+
+
+
+
+
+ +
+
+

+ CKEditor – The text editor for the Internet – https://ckeditor.com +

+

+ Copyright © 2003-2020, CKSource – Frederico Knabben. All rights reserved. +

+
+
+ + + + + diff --git a/samples/old/placeholder/placeholder.html b/samples/old/placeholder/placeholder.html index de860e3455..776a694ad1 100644 --- a/samples/old/placeholder/placeholder.html +++ b/samples/old/placeholder/placeholder.html @@ -1,9 +1,9 @@ - + Placeholder Plugin — CKEditor Sample @@ -13,13 +13,14 @@ +

CKEditor Samples » Using the Placeholder Plugin

- This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. + This sample is not maintained anymore. Check out its brand new version in CKEditor Examples.

@@ -48,7 +49,7 @@

- + + +

CKEditor Samples » Replace Textarea Elements by Class Name

- This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. + This sample is not maintained anymore. Check out the brand new samples in CKEditor Examples.

@@ -49,10 +50,10 @@

diff --git a/samples/old/replacebycode.html b/samples/old/replacebycode.html index 36ace8b180..007d362a61 100644 --- a/samples/old/replacebycode.html +++ b/samples/old/replacebycode.html @@ -1,21 +1,22 @@ - + Replace Textarea by Code — CKEditor Sample +

CKEditor Samples » Replace Textarea Elements Using JavaScript Code

- This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. + This sample is not maintained anymore. Check out its brand new version in CKEditor Examples.
@@ -48,10 +49,10 @@

diff --git a/samples/old/sample.css b/samples/old/sample.css index af866fe24d..90ca35819c 100644 --- a/samples/old/sample.css +++ b/samples/old/sample.css @@ -1,6 +1,6 @@ /* -Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or http://ckeditor.com/license +Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ html, body, h1, h2, h3, h4, h5, h6, div, span, blockquote, p, address, form, fieldset, img, ul, ol, dl, dt, dd, li, hr, table, td, th, strong, em, sup, sub, dfn, ins, del, q, cite, var, samp, code, kbd, tt, pre diff --git a/samples/old/sample.js b/samples/old/sample.js index 59b64eee2f..603023c6b1 100644 --- a/samples/old/sample.js +++ b/samples/old/sample.js @@ -1,6 +1,6 @@ /** - * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license + * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ // Tool scripts for the sample pages. diff --git a/samples/old/sample_posteddata.php b/samples/old/sample_posteddata.php index 866867e70a..a49ef6626d 100644 --- a/samples/old/sample_posteddata.php +++ b/samples/old/sample_posteddata.php @@ -9,8 +9,8 @@ To save the content created with CKEditor you need to read the POST data on the server side and write it to a file or the database. - Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. - For licensing, see LICENSE.md or http://ckeditor.com/license + Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license -------------------------------------------------------------------------------------------
*/ include "assets/posteddata.php"; ?> diff --git a/samples/old/sharedspace/sharedspace.html b/samples/old/sharedspace/sharedspace.html index c7ac5f48af..03f08af550 100644 --- a/samples/old/sharedspace/sharedspace.html +++ b/samples/old/sharedspace/sharedspace.html @@ -1,9 +1,9 @@ - + Shared-Space Plugin — CKEditor Sample @@ -12,13 +12,14 @@ +

CKEditor Samples » Sharing Toolbar and Bottom-bar Spaces

- This sample is not maintained anymore. Check out its brand new version in CKEditor SDK. + This sample is not maintained anymore. Check out its brand new version in CKEditor Examples.

@@ -42,7 +43,7 @@

Aenean nonummy a, mattis varius. Cras aliquet. - Praesent magna non mattis ac, rhoncus nunc, rhoncus eget, cursus pulvinar mollis.

+ Praesent magna non mattis ac, rhoncus nunc, rhoncus eget, cursus pulvinar mollis.

Proin id nibh. Sed eu libero posuere sed, lectus. Phasellus dui gravida gravida feugiat mattis ac, felis.

Integer condimentum sit amet, tempor elit odio, a dolor non ante at sapien. Sed ac lectus. Nulla ligula quis eleifend mi, id leo velit pede cursus arcu id nulla ac lectus. Phasellus vestibulum. Nunc viverra enim quis diam.

@@ -51,7 +52,7 @@

Praesent wisi accumsan sit amet nibh

Donec ullamcorper, risus tortor, pretium porttitor. Morbi quam quis lectus non leo.

-

Integer faucibus scelerisque. Proin faucibus at, aliquet vulputate, odio at eros. Fusce gravida, erat vitae augue. Fusce urna fringilla gravida.

+

Integer faucibus scelerisque. Proin faucibus at, aliquet vulputate, odio at eros. Fusce gravida, erat vitae augue. Fusce urna fringilla gravida.

In hac habitasse platea dictumst. Praesent wisi accumsan sit amet nibh. Maecenas orci luctus a, lacinia quam sem, posuere commodo, odio condimentum tempor, pede semper risus. Suspendisse pede. In hac habitasse platea dictumst. Nam sed laoreet sit amet erat. Integer.

@@ -111,10 +112,10 @@

diff --git a/samples/old/sourcedialog/sourcedialog.html b/samples/old/sourcedialog/sourcedialog.html index 9232b0e02a..34590cc41f 100644 --- a/samples/old/sourcedialog/sourcedialog.html +++ b/samples/old/sourcedialog/sourcedialog.html @@ -1,9 +1,9 @@ - + Editing source code in a dialog — CKEditor Sample @@ -13,6 +13,7 @@ +