socialforge/public/javascripts/ckeditor/CHANGES.md

38 KiB
Raw Blame History

CKEditor 4 Changelog

CKEditor 4.3

New Features:

  • #10612: Internet Explorer 11 support.
  • #10869: Widgets: Added better integration with the Elements Path plugin.
  • #10886: Widgets: Added tooltip to the drag handle.
  • #10933: Widgets: Introduced drag and drop of block widgets with the Line Utilities plugin.
  • #10936: Widget System changes for easier integration with other dialog systems.
  • #10895: Enhanced Image: Added file browser integration.
  • #11002: Added the draggable option to disable drag and drop support for widgets.
  • #10937: Mathematical Formulas widget improvements:
    • loading indicator (#10948),
    • applying paragraph changes (like font color change) to iframe (#10841),
    • Firefox and IE9 clipboard fixes (#10857),
    • fixing same origin policy issue (#10840),
    • fixing undo bugs (#10842, #10930),
    • fixing other minor bugs.
  • #10862: Placeholder plugin was rewritten as a widget.
  • #10822: Added styles system integration with non-editable elements (for example widgets) and their nested editables. Styles cannot change non-editable content and are applied in nested editable only if allowed by its type and content filter.
  • #10856: Menu buttons will now toggle the visibility of their panels when clicked multiple times. Language plugin fixes: Added active language highlighting, added an option to remove the language.
  • #10028: New config.dialog_noConfirmCancel configuration option that eliminates the need to confirm closing of a dialog window when the user changed any of its fields.
  • #10848: Integrate remaining plugins (Styles, Format, Font, Color Button, Language and Indent) with active filter.
  • #10855: Change the extension of emoticons in the BBCode sample from GIF to PNG.

Fixed Issues:

  • #10831: Enhanced Image: Merged image2inline and image2block into one image2 widget.
  • #10835: Enhanced Image: Improved visibility of the resize handle.
  • #10836: Enhanced Image: Preserve custom mouse cursor while resizing the image.
  • #10939: [Firefox] Enhanced Image: hovering the image causes it to change.
  • #10866: Fixed: Broken Tab key navigation in the Enhanced Image dialog window.
  • #10833: Fixed: Lock ratio option should be on by default in the Enhanced Image dialog window.
  • #10881: Various improvements to Enter key behavior in nested editables.
  • #10879: Remove Format should not leak from a nested editable.
  • #10877: Fixed: WebSpellChecker fails to apply changes if a nested editable was focused.
  • #10877: Fixed: SCAYT blocks typing in nested editables.
  • #11079: Add button icons to the Placeholder sample.
  • #10870: The paste command is no longer being disabled when the clipboard is empty.
  • #10854: Fixed: Firefox prepends <br> to <body>, so it is stripped by the HTML data processor.
  • #10823: Fixed: Link plugin does not work with non-editable content.
  • #10828: Magic Line integration with the Widget System.
  • #10865: Improved hiding copybin, so copying widgets works smoothly.
  • #11066: Widget's private parts use CSS reset.
  • #11027: Fixed: Block commands break on widgets; added the contentDomInvalidated event.
  • #10430: Resolve dependence of the Image plugin on the Form Elements plugin.
  • #10911: Fixed: Browser Alt hotkeys will no longer be blocked while a widget is focused.
  • #11082: Fixed: Selected widget is not copied or cut when using toolbar buttons or context menu.
  • #11083: Fixed list and div element application to block widgets.
  • #10887: Internet Explorer 8 compatibility issues related to the Widget System.
  • #11074: Temporarily disabled inline widget drag and drop, because of seriously buggy native range#moveToPoint method.
  • #11098: Fixed: Wrong selection position after undoing widget drag and drop.
  • #11110: Fixed: IFrame and Flash objects are being incorrectly pasted in certain conditions.
  • #11129: Page break is lost when loading data.
  • #11123: [Firefox] Widget is destroyed after being dragged outside of <body>.
  • #11124: Fixed the Elements Path in an editor using the Div Editing Area.

CKEditor 4.3 Beta

New Features:

CKEditor 4.2.3

Fixed Issues:

  • #10994: Fixed: Loading external jQuery library when opening the jQuery Adapter sample directly from file.
  • #10975: [IE] Fixed: Error thrown while opening the color palette.
  • #9929: [Blink/WebKit] Fixed: A non-breaking space is created once a character is deleted and a regular space is typed.
  • #10963: Fixed: JAWS issue with the keyboard shortcut for Magic Line.
  • #11096: Fixed: TypeError: Object has no method 'is'.

CKEditor 4.2.2

Fixed Issues:

  • #9314: Fixed: Incorrect error message on closing a dialog window without saving changs.
  • #10308: [IE10] Fixed: Unspecified error when deleting a row.
  • #10945: [Chrome] Fixed: Clicking with a mouse inside the editor does not show the caret.
  • #10912: Prevent default action when content of a non-editable link is clicked.
  • #10913: Fixed CKEDITOR.plugins.addExternal not handling paths including file name specified.
  • #10666: Fixed CKEDITOR.tools.isArray not working cross frame.
  • #10910: [IE9] Fixed JavaScript error thrown in Compatibility Mode when clicking and/or typing in the editing area.
  • #10868: [IE8] Prevent the browser from crashing when applying the Inline Quotation style.
  • #10915: Fixed: Invalid CSS filter in the Kama skin.
  • #10914: Plugins Indent List and Indent Block are now included in the build configuration.
  • #10812: Fixed range#createBookmark2 incorrectly normalizing offsets. This bug was causing many issues: #10850, #10842.
  • #10951: Reviewed and optimized focus handling on panels (combo, menu buttons, color buttons, and context menu) to enhance accessibility. Fixed #10705, #10706 and #10707.
  • #10704: Fixed a JAWS issue with the Select Color dialog window title not being announced.
  • #10753: The floating toolbar in inline instances now has a dedicated accessibility label.

CKEditor 4.2.1

Fixed Issues:

  • #10301: [IE9-10] Undo fails after 3+ consecutive paste actions with a JavaScript error.
  • #10689: Save toolbar button saves only the first editor instance.
  • #10368: Move language reading direction definition (dir) from main language file to core.
  • #9330: Fixed pasting anchors from MS Word.
  • #8103: Fixed pasting nested lists from MS Word.
  • #9958: [IE9] Pressing the "OK" button will trigger the onbeforeunload event in the popup dialog.
  • #10662: Fixed styles from the Styles drop-down list not registering to the ACF in case when the Shared Spaces plugin is used.
  • #9654: Problems with Internet Explorer 10 Quirks Mode.
  • #9816: Floating toolbar does not reposition vertically in several cases.
  • #10646: Removing a selected sublist or nested table with Backspace/Delete removes the parent element.
  • #10623: [WebKit] Page is scrolled when opening a drop-down list.
  • #10004: [ChromeVox] Button names are not announced.
  • #10731: WebSpellChecker plugin breaks cloning of editor configuration.
  • It is now possible to set per instance WebSpellChecker plugin configuration instead of setting the configuration globally.

CKEditor 4.2

Important Notes:

  • Dropped compatibility support for Internet Explorer 7 and Firefox 3.6.

  • Both the Basic and the Standard distribution packages will not contain the new Indent Block plugin. Because of this the Advanced Content Filter might remove block indentations from existing contents. If you want to prevent this, either add an appropriate ACF rule to your filter or create a custom build based on the Basic/Standard package and add the Indent Block plugin in CKBuilder.

New Features:

Fixed Issues:

  • #10599: Indent plugin is no longer required by the List plugin.
  • #10370: Inconsistency in data events between framed and inline editors.
  • #10438: [FF, IE] No selection is done on an editable element on executing editor.setData().

CKEditor 4.1.3

New Features:

  • Added new translation: Indonesian.

Fixed Issues:

CKEditor 4.1.2

New Features:

  • Added new translation: Sinhala.

Fixed Issues:

  • #10339: Fixed: Error thrown when inserted data was totally stripped out after filtering and processing.
  • #10298: Fixed: Data processor breaks attributes containing protected parts.
  • #10367: Fixed: editable.insertText() loses characters when RegExp replace controls are being inserted.
  • #10165: [IE] Access denied error when document.domain has been altered.
  • #9761: Update the Backspace key state in keystrokeHandler.blockedKeystrokes when calling editor.setReadOnly().
  • #6504: Fixed: Race condition while loading several config.customConfig files.
  • #10146: [Firefox] Empty lines are being removed while config.enterMode is CKEDITOR.ENTER_BR.
  • #10360: Fixed: ARIA role="application" should not be used for dialog windows.
  • #10361: Fixed: ARIA role="application" should not be used for floating panels.
  • #10510: Introduced unique voice labels to differentiate between different editor instances.
  • #9945: [iOS] Scrolling not possible on iPad.
  • #10389: Fixed: Invalid HTML in the "Text and Table" template.
  • WebSpellChecker plugin user interface was changed to match CKEditor 4 style.

CKEditor 4.1.1

New Features:

  • Added new translation: Albanian.

Fixed Issues:

  • #10172: Pressing Delete or Backspace in an empty table cell moves the cursor to the next/previous cell.
  • #10219: Error thrown when destroying an editor instance in parallel with a mouseup event.
  • #10265: Wrong loop type in the File Browser plugin.
  • #10249: Wrong undo/redo states at start.
  • #10268: Show Blocks does not recover after switching to Source view.
  • #9995: HTML code in the <textarea> should not be modified by the htmlDataProcessor.
  • #10320: Justify plugin should add elements to Advanced Content Filter based on current Enter mode.
  • #10260: Fixed: Advanced Content Filter blocks tabSpaces. Unified data-cke-* attributes filtering.
  • #10315: [WebKit] Undo manager should not record snapshots after a filling character was added/removed.
  • #10291: [WebKit] Space after a filling character should be secured.
  • #10330: [WebKit] The filling character is not removed on keydown in specific cases.
  • #10285: Fixed: Styled text pasted from MS Word causes an infinite loop.
  • #10131: Fixed: undoManager.update() does not refresh the command state.
  • #10337: Fixed: Unable to remove <s> using Remove Format.

CKEditor 4.1

Fixed Issues:

  • #10192: Closing lists with the Enter key does not work with Advanced Content Filter in several cases.
  • #10191: Fixed allowed content rules unification, so the filter.allowedContent property always contains rules in the same format.
  • #10224: Advanced Content Filter does not remove non-empty <a> elements anymore.
  • Minor issues in plugin integration with Advanced Content Filter:
    • #10166: Added transformation from the align attribute to float style to preserve backward compatibility after the introduction of Advanced Content Filter.
    • #10195: Image plugin no longer registers rules for links to Advanced Content Filter.
    • #10213: Justify plugin is now correctly registering rules to Advanced Content Filter when config.justifyClasses is defined.

CKEditor 4.1 RC

New Features:

  • #9829: Advanced Content Filter - data and features activation based on editor configuration.

    Brand new data filtering system that works in 2 modes:

    • Based on loaded features (toolbar items, plugins) - the data will be filtered according to what the editor in its current configuration can handle.
    • Based on config.allowedContent rules - the data will be filtered and the editor features (toolbar items, commands, keystrokes) will be enabled if they are allowed.

    See the datafiltering.html sample, guides and CKEDITOR.filter API documentation.

  • #9387: Reintroduced Shared Spaces - the ability to display toolbar and bottom editor space in selected locations and to share them by different editor instances.

  • #9907: Added the contentPreview event for preview data manipulation.

  • #9713: Introduced the Source Dialog plugin that brings raw HTML editing for inline editor instances.

  • Included in #9829: Introduced new events, toHtml and toDataFormat, allowing for better integration with data processing.

  • #9981: Added ability to filter htmlParser.fragment, htmlParser.element etc. by many htmlParser.filters before writing structure to an HTML string.

  • Included in #10103:

  • #9796: Introduced <s> as a default tag for strikethrough, which replaces obsolete <strike> in HTML5.

CKEditor 4.0.3

Fixed Issues:

  • #10196: Fixed context menus not opening with keyboard shortcuts when Autogrow is enabled.
  • #10212: [IE7-10] Undo command throws errors after multiple switches between Source and WYSIWYG view.
  • #10219: [Inline editor] Error thrown after calling editor.destroy().

CKEditor 4.0.2

Fixed Issues:

  • #9779: Fixed overriding CKEDITOR.getUrl() with CKEDITOR_GETURL.
  • #9772: Custom buttons in the dialog window footer have different look and size (Moono, Kama skins).
  • #9029: Custom styles added with the stylesSet.add() are displayed in the wrong order.
  • #9887: Disable Magic Line when editor.readOnly is set.
  • #9882: Fixed empty document title on editor.getData() if set via the Document Properties dialog window.
  • #9773: Fixed rendering problems with selection fields in the Kama skin.
  • #9851: The selectionChange event is not fired when mouse selection ended outside editable.
  • #9903: [Inline editor] Bad positioning of floating space with page horizontal scroll.
  • #9872: editor.checkDirty() returns true when called onload. Removed the obsolete editor.mayBeDirty flag.
  • #9893: [IE] Fixed broken toolbar when editing mixed direction content in Quirks mode.
  • #9845: Fixed TAB navigation in the Link dialog window when the Anchor option is used and no anchors are available.
  • #9883: Maximizing was making the entire page editable with divarea-based editors.
  • #9940: [Firefox] Navigating back to a page with the editor was making the entire page editable.
  • #9966: Fixed: Unable to type square brackets with French keyboard layout. Changed Magic Line keystrokes.
  • #9507: [Firefox] Selection is moved before editable position when the editor is focused for the first time.
  • #9947: [WebKit] Editor overflows parent container in some edge cases.
  • #10105: Fixed: Broken sourcearea view when an RTL language is set.
  • #10123: [WebKit] Fixed: Several dialog windows have broken layout since the latest WebKit release.
  • #10152: Fixed: Invalid ARIA property used on menu items.

CKEditor 4.0.1.1

Fixed Issues:

  • Security update: Added protection against XSS attack and possible path disclosure in the PHP sample.

CKEditor 4.0.1

Fixed Issues:

  • #9655: Support for IE Quirks Mode in the new Moono skin.
  • Accessibility issues (mainly in inline editor): #9364, #9368, #9369, #9370, #9541, #9543, #9841, #9844.
  • Magic Line plugin:
    • #9481: Added accessibility support for Magic Line.
    • #9509: Added Magic Line support for forms.
    • #9573: Magic Line does not disappear on mouseout in a specific case.
  • #9754: [WebKit] Cutting & pasting simple unformatted text generates an inline wrapper in WebKit browsers.
  • #9456: [Chrome] Properly paste bullet list style from MS Word.
  • #9699, #9758: Improved selection locking when selecting by dragging.
  • Context menu:
    • #9712: Opening the context menu destroys editor focus.
    • #9366: Context menu should be displayed over the floating toolbar.
    • #9706: Context menu generates a JavaScript error in inline mode when the editor is attached to a header element.
  • #9800: Hide float panel when resizing the window.
  • #9721: Padding in content of div-based editor puts the editing area under the bottom UI space.
  • #9528: Host page box-sizing style should not influence the editor UI elements.
  • #9503: Form Elements plugin adds context menu listeners only on supported input types. Added support for tel, email, search and url input types.
  • #9769: Improved floating toolbar positioning in a narrow window.
  • #9875: Table dialog window does not populate width correctly.
  • #8675: Deleting cells in a nested table removes the outer table cell.
  • #9815: Cannot edit dialog window fields in an editor initialized in the jQuery UI modal dialog.
  • #8888: CKEditor dialog windows do not show completely in a small window.
  • #9360: [Inline editor] Blocks shown for a <div> element stay permanently even after the user exits editing the <div>.
  • #9531: [Firefox & Inline editor] Toolbar is lost when closing the Format drop-down list by clicking its button.
  • #9553: Table width incorrectly set when the border-width style is specified.
  • #9594: Cannot tab past CKEditor when it is in read-only mode.
  • #9658: [IE9] Justify not working on selected images.
  • #9686: Added missing contents styles for <pre> elements.
  • #9709: Paste from Word should not depend on configuration from other styles.
  • #9726: Removed Color Dialog plugin dependency from Table Tools.
  • #9765: Toolbar Collapse command documented incorrectly in the Accessibility Instructions dialog window.
  • #9771: [WebKit & Opera] Fixed scrolling issues when pasting.
  • #9787: [IE9] onChange is not fired for checkboxes in dialogs.
  • #9842: [Firefox 17] When opening a toolbar menu for the first time and pressing the Down Arrow key, focus goes to the next toolbar button instead of the menu options.
  • #9847: Elements Path should not be initialized in the inline editor.
  • #9853: editor.addRemoveFormatFilter() is exposed before it really works.
  • #8893: Value of the pasteFromWordCleanupFile configuration option is now taken from the instance configuration.
  • #9693: Removed "Live Preview" checkbox from UI color picker.

CKEditor 4.0

The first stable release of the new CKEditor 4 code line.

The CKEditor JavaScript API has been kept compatible with CKEditor 4, whenever possible. The list of relevant changes can be found in the API Changes page of the CKEditor 4 documentation.