JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
1fcd5375146a837937b6d4790d8b9f1b75f15a0f
[ckeditor.git] / CHANGES.md
1 CKEditor 4 Changelog\r
2 ====================\r
3 \r
4 ## CKEditor 4.1.2\r
5 \r
6 * Added new translation: Sinhala.\r
7 * [#10339](http://dev.ckeditor.com/ticket/10339): Fixed: Error thrown when inserted data totally stripped out after filtering and processing.\r
8 * [#10298](http://dev.ckeditor.com/ticket/10298): Fixed: Data processor breaks attributes containing protected parts.\r
9 * [#10367](http://dev.ckeditor.com/ticket/10367): Fixed: `editable#insertText` loses characters when `RegExp` replace controls are being inserted.\r
10 * [#10165](http://dev.ckeditor.com/ticket/10165): [IE] Access denied error when `document.domain` has been altered.\r
11 * [#9761](http://dev.ckeditor.com/ticket/9761): Update *Backspace* key state in `keystrokeHandler#blockedKeystrokes` when calling `editor.setReadOnly()`.\r
12 * [#6504](http://dev.ckeditor.com/ticket/6504): Fixed: Race condition while loading several `config.customConfig` files.\r
13 * [#10146](http://dev.ckeditor.com/ticket/10146): [Firefox] Empty lines are being removed while `config#enterMode` is `CKEDITOR.ENTER_BR`.\r
14 * [#10360](http://dev.ckeditor.com/ticket/10360): Fixed: ARIA `role="application"` should not be used for dialogs.\r
15 * [#10361](http://dev.ckeditor.com/ticket/10361): Fixed: ARIA `role="application"` should not be used for floating panels.\r
16 * [#10510](http://dev.ckeditor.com/ticket/10510): Introduced unique voice labels to differentiate between different editor instances.\r
17 * [#9945](http://dev.ckeditor.com/ticket/9945): [iOS] Scrolling not possible on iPad.\r
18 * [#10389](http://dev.ckeditor.com/ticket/10389): Fixed: Invalid HTML in the "Text and Table" template.\r
19 \r
20 ## CKEditor 4.1.1\r
21 \r
22 * Added new translation: Albanian.\r
23 * [#10172](http://dev.ckeditor.com/ticket/10172): Pressing *Delete*/*Backspace* in an empty table cell moves the cursor to the next/previous cell.\r
24 * [#10219](http://dev.ckeditor.com/ticket/10219): Error thrown when destroying an editor instance in parallel with a mouseup event.\r
25 * [#10265](http://dev.ckeditor.com/ticket/10265): Wrong loop type in the Filebrowser plugin.\r
26 * [#10249](http://dev.ckeditor.com/ticket/10249): Wrong undo/redo states at start.\r
27 * [#10268](http://dev.ckeditor.com/ticket/10268): "Show Blocks" does not recover after switching to source view.\r
28 * [#9995](http://dev.ckeditor.com/ticket/9995): HTML code in `textarea` should not be modified by the `htmlDataProcessor`.\r
29 * [#10320](http://dev.ckeditor.com/ticket/10320): Justify plugin should add elements to the ACF based on current Enter mode.\r
30 * [#10260](http://dev.ckeditor.com/ticket/10260): Fixed: Advanced Content Filter blocks `tabSpaces`. Unified `data-cke-*` attributes filtering.\r
31 * [#10315](http://dev.ckeditor.com/ticket/10315): [Webkit] Undo manager should not record snapshots after a filling character was added/removed.\r
32 * [#10291](http://dev.ckeditor.com/ticket/10291): [Webkit] Space after a filling character should be secured.\r
33 * [#10330](http://dev.ckeditor.com/ticket/10330): [Webkit] The filling character is not removed on `keydown` in specific cases.\r
34 * [#10285](http://dev.ckeditor.com/ticket/10285): Fixed: Styled text pasted from MS Word causes an infinite loop.\r
35 * [#10131](http://dev.ckeditor.com/ticket/10131): Fixed: `undoManager#update` does not refresh the command state.\r
36 * [#10337](http://dev.ckeditor.com/ticket/10337): Fixed: Unable to remove `<s>` using `removeformat`.\r
37 \r
38 ## CKEditor 4.1\r
39 \r
40 * [#10192](http://dev.ckeditor.com/ticket/10192): Closing lists with Enter key does not work with Advanced Content Filter in several cases.\r
41 * [#10191](http://dev.ckeditor.com/ticket/10191): Fixed allowed content rules unification, so the `filter.allowedContent` property always contains rules in the same format.\r
42 * [#10224](http://dev.ckeditor.com/ticket/10224): Advanced Content Filter does not remove non-empty `<a>` elements anymore.\r
43 * Minor issues in plugin integration with Advanced Content Filter:\r
44   * [#10166](http://dev.ckeditor.com/ticket/10166): Added transformation from the `align` attribute to `float` style to preserve backward compatibility after the introduction of Advanced Content Filter.\r
45   * [#10195](http://dev.ckeditor.com/ticket/10195): Image plugin no longer registers rules for links to Advanced Content Filter.\r
46   * [#10213](http://dev.ckeditor.com/ticket/10213): Justify plugin is now correctly registering rules to Advanced Content Filter when `config.justifyClasses` is defined.\r
47 \r
48 ## CKEditor 4.1 RC\r
49 \r
50 * [#9829](http://dev.ckeditor.com/ticket/9829): Data and features activation based on editor configuration.\r
51 \r
52   Brand new data filtering system that works in 2 modes:\r
53 \r
54   * based on loaded features (toolbar items, plugins) - the data will be filtered according to what the editor in its\r
55   current configuration can handle,\r
56   * based on `config.allowedContent` rules - the data will be filtered and the editor features (toolbar items, commands,\r
57   keystrokes) will be enabled if they are allowed.\r
58 \r
59   See the `datafiltering.html` sample, [guides](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter) and [`CKEDITOR.filter` API documentation](http://docs.ckeditor.com/#!/api/CKEDITOR.filter).\r
60 * [#9387](http://dev.ckeditor.com/ticket/9387): Reintroduced "Shared Spaces" - the ability to display toolbar and bottom editor space in selected locations and to share them by different editor instances.\r
61 * [#9907](http://dev.ckeditor.com/ticket/9907): Added the `contentPreview` event for preview data manipulation.\r
62 * [#9713](http://dev.ckeditor.com/ticket/9713): Introduced the `sourcedialog` plugin that brings raw HTML editing for inline editor instances.\r
63 * Included in [#9829](http://dev.ckeditor.com/ticket/9829): Introduced new events, `toHtml` and `toDataFormat`, allowing for better integration with data processing. See API documentation: [`toHtml`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-toHtml), [`toDataFormat`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-toDataFormat).\r
64 * [#9981](http://dev.ckeditor.com/ticket/9981): Added ability to filter `htmlParser.fragment`, `htmlParser.element` etc. by many `htmlParser.filter`s before writing structure to an HTML string.\r
65 * Included in [#10103](http://dev.ckeditor.com/ticket/10103):\r
66   * Introduced the `editor.status` property to make it easier to check the current status of the editor. See [API documentation](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-status).\r
67   * Default `command` state is now `CKEDITOR.TRISTATE_DISABLE`. It will be activated on `editor.instanceReady` or immediately after being added if the editor is already initialized.\r
68 * [#9796](http://dev.ckeditor.com/ticket/9796): Introduced `<s>` as a default tag for strikethrough, which replaces obsolete `<strike>` in HTML5.\r
69 \r
70 ## CKEditor 4.0.3\r
71 \r
72 * [#10196](http://dev.ckeditor.com/ticket/10196): Fixed context menus not opening with keyboard shortcuts when Autogrow is enabled.\r
73 * [#10212](http://dev.ckeditor.com/ticket/10212): [IE7-10] Undo command throws errors after multiple switches between Source and WYSIWYG view.\r
74 * [#10219](http://dev.ckeditor.com/ticket/10219): [Inline editor] Error thrown after calling editor.destroy().\r
75 \r
76 ## CKEditor 4.0.2\r
77 \r
78 * [#9779](http://dev.ckeditor.com/ticket/9779): Fixed overriding `CKEDITOR.getUrl` with `CKEDITOR_GETURL`.\r
79 * [#9772](http://dev.ckeditor.com/ticket/9772): Custom buttons in dialog window footer have different look and size (Moono, Kama).\r
80 * [#9029](http://dev.ckeditor.com/ticket/9029): Custom styles added with `styleSet.add()` are displayed in wrong order.\r
81 * [#9887](http://dev.ckeditor.com/ticket/9887): Disable magicline when `editor.readOnly` is set.\r
82 * [#9882](http://dev.ckeditor.com/ticket/9882): Fixed empty document title on `getData()` if set via the Document Properties dialog window.\r
83 * [#9773](http://dev.ckeditor.com/ticket/9773): Fixed rendering problems with selection fields in the Kama skin.\r
84 * [#9851](http://dev.ckeditor.com/ticket/9851): The `selectionChange` event is not fired when mouse selection ended outside editable.\r
85 * [#9903](http://dev.ckeditor.com/ticket/9903): [Inline editor] Bad positioning of floating space with page horizontal scroll.\r
86 * [#9872](http://dev.ckeditor.com/ticket/9872): `editor.checkDirty()` returns `true` when called onload. Removed the obsolete `editor.mayBeDirty` flag.\r
87 * [#9893](http://dev.ckeditor.com/ticket/9893): Fixed broken toolbar when editing mixed direction content in Quirks mode.\r
88 * [#9845](http://dev.ckeditor.com/ticket/9845): Fixed TAB navigation in the Link dialog window when the Anchor option is used and no anchors are available.\r
89 * [#9883](http://dev.ckeditor.com/ticket/9883): Maximizing was making the entire page editable with divarea-based editors.\r
90 * [#9940](http://dev.ckeditor.com/ticket/9940): [Firefox] Navigating back to a page with the editor was making the entire page editable.\r
91 * [#9966](http://dev.ckeditor.com/ticket/9966): Fixed: Unable to type square brackets with French keyboard layout. Changed magicline keystrokes.\r
92 * [#9507](http://dev.ckeditor.com/ticket/9507): [Firefox] Selection is moved before editable position when the editor is focused for the first time.\r
93 * [#9947](http://dev.ckeditor.com/ticket/9947): [Webkit] Editor overflows parent container in some edge cases.\r
94 * [#10105](http://dev.ckeditor.com/ticket/10105): Fixed: Broken sourcearea view when an RTL language is set.\r
95 * [#10123](http://dev.ckeditor.com/ticket/10123): [Webkit] Fixed: Several dialog windows have broken layout since the latest Webkit release.\r
96 * [#10152](http://dev.ckeditor.com/ticket/10152): Fixed: Invalid ARIA property used on menu items.\r
97 \r
98 ## CKEditor 4.0.1.1\r
99 \r
100 * Security update: Added protection against XSS attack and possible path disclosure in PHP sample.\r
101 \r
102 ## CKEditor 4.0.1\r
103 \r
104 Fixed issues:\r
105 \r
106 * [#9655](http://dev.ckeditor.com/ticket/9655): Support for IE Quirks Mode in new Moono skin.\r
107 * Accessibility issues (mainly on inline editor): [#9364](http://dev.ckeditor.com/ticket/9364), [#9368](http://dev.ckeditor.com/ticket/9368), [#9369](http://dev.ckeditor.com/ticket/9369), [#9370](http://dev.ckeditor.com/ticket/9370), [#9541](http://dev.ckeditor.com/ticket/9541), [#9543](http://dev.ckeditor.com/ticket/9543), [#9841](http://dev.ckeditor.com/ticket/9841), [#9844](http://dev.ckeditor.com/ticket/9844).\r
108 * Magic-line:\r
109     * [#9481](http://dev.ckeditor.com/ticket/9481): Added accessibility support for Magic-line.\r
110     * [#9509](http://dev.ckeditor.com/ticket/9509): Added Magic-line support for forms.\r
111     * [#9573](http://dev.ckeditor.com/ticket/9573): Magic-line doesn't disappear on `mouseout` in the specific case.\r
112 * [#9754](http://dev.ckeditor.com/ticket/9754): [Webkit] Cut & paste simple unformatted text generates inline wrapper in Webkits.\r
113 * [#9456](http://dev.ckeditor.com/ticket/9456): [Chrome] Properly paste bullet list style from MS-Word.\r
114 * [#9699](http://dev.ckeditor.com/ticket/9699), [#9758](http://dev.ckeditor.com/ticket/9758): Improved selection locking when selecting by dragging.\r
115 * Context menu:\r
116     * [#9712](http://dev.ckeditor.com/ticket/9712): Context menu open destroys editor focus.\r
117     * [#9366](http://dev.ckeditor.com/ticket/9366): Context menu should be displayed over floating toolbar.\r
118     * [#9706](http://dev.ckeditor.com/ticket/9706): Context menu generates JS error in inline mode when editor attached to header element.\r
119 * [#9800](http://dev.ckeditor.com/ticket/9800): Hide float panel when resizing window.\r
120 * [#9721](http://dev.ckeditor.com/ticket/9721): Padding in content of div based editor puts editing area under bottom UI space.\r
121 * [#9528](http://dev.ckeditor.com/ticket/9528): Host page's `box-sizing` style shouldn't influence editor UI elements.\r
122 * [#9503](http://dev.ckeditor.com/ticket/9503): Forms plugin adds context menu listeners only on supported input types. Added support for `tel, email, search` and `url` input types.\r
123 * [#9769](http://dev.ckeditor.com/ticket/9769): Improved floating toolbar positioning in narrow window.\r
124 * [#9875](http://dev.ckeditor.com/ticket/9875): Table dialog doesn't populate width correctly.\r
125 * [#8675](http://dev.ckeditor.com/ticket/8675): Deleting cells in nested table removes outer table cell.\r
126 * [#9815](http://dev.ckeditor.com/ticket/9815): Can't edit dialog fields on editor initialized in jQuery UI modal dialog.\r
127 * [#8888](http://dev.ckeditor.com/ticket/8888): CKEditor dialogs do not show completely in small window.\r
128 * [#9360](http://dev.ckeditor.com/ticket/9360): [Inline editor] Blocks shown for a div stay permanently even after user exists editing the div.\r
129 * [#9531](http://dev.ckeditor.com/ticket/9531): [Firefox & Inline editor] Toolbar is lost when closing format combo by clicking on its button.\r
130 * [#9553](http://dev.ckeditor.com/ticket/9553): Table width incorrectly set when `border-width` style is specified.\r
131 * [#9594](http://dev.ckeditor.com/ticket/9594): Cannot tab past CKEditor when it is in read only mode.\r
132 * [#9658](http://dev.ckeditor.com/ticket/9658): [IE9] Justify not working on selected image.\r
133 * [#9686](http://dev.ckeditor.com/ticket/9686): Added missing contents styles for `<pre>`.\r
134 * [#9709](http://dev.ckeditor.com/ticket/9709): PasteFromWord should not depend on configuration from other styles.\r
135 * [#9726](http://dev.ckeditor.com/ticket/9726): Removed color dialog dependency from table tools.\r
136 * [#9765](http://dev.ckeditor.com/ticket/9765): Toolbar Collapse command documented incorrectly on Accessibility Instructions dialog.\r
137 * [#9771](http://dev.ckeditor.com/ticket/9771): [Webkit & Opera] Fixed scrolling issues when pasting.\r
138 * [#9787](http://dev.ckeditor.com/ticket/9787): [IE9] onChange isn't fired for checkboxes in dialogs.\r
139 * [#9842](http://dev.ckeditor.com/ticket/9842): [Firefox 17] When we open toolbar menu for the first time & press down arrow key, focus goes to next toolbar button instead of menu options.\r
140 * [#9847](http://dev.ckeditor.com/ticket/9847): Elements path shouldn't be initialized on inline editor.\r
141 * [#9853](http://dev.ckeditor.com/ticket/9853): `Editor#addRemoveFormatFilter` is exposed before it really works.\r
142 * [#8893](http://dev.ckeditor.com/ticket/8893): Value of `pasteFromWordCleanupFile` config is now taken from instance configuration.\r
143 * [#9693](http://dev.ckeditor.com/ticket/9693): Removed "live preview" checkbox from UI color picker.\r
144 \r
145 \r
146 ## CKEditor 4.0\r
147 \r
148 The first stable release of the new CKEditor 4 code line.\r
149 \r
150 The CKEditor JavaScript API has been kept compatible with CKEditor 4, whenever\r
151 possible. The list of relevant changes can be found in the [API Changes page of\r
152 the CKEditor 4 documentation][1].\r
153 \r
154 [1]: http://docs.ckeditor.com/#!/guide/dev_api_changes "API Changes"\r