Skip to content

Releases: froala/wysiwyg-editor

Release 1.2.2.

01 Oct 10:20
Compare
Choose a tag to compare
  • Add char_counter plugin.
  • Review list of allowedAttributes.
  • Review list of allowedTags.
  • Add beautifyCode option.
  • Add onPaste event.
  • Add granular control for shortcuts: shortcutsAvailable option.
  • Add convertEmailAddresses option.
  • Improve UX for inserting link.
  • Add badLink event.
  • Paste improvements in all browsers
  • Moving images now works in IE too.
  • Add pasteImage option.
  • Improve cleaning.
  • Add royal theme.
  • Add refresh and refreshOnShow options for custom dropdowns.
  • Add refresh option for custom buttons.
  • Show loader when image is inserted by link.
  • Add videoAllowedAttributes and videoAllowedTags.
  • Allow undo/redo without buttons.
  • Add imageTitle option.
  • Bug fixing
    • XSS vulnerability when opening uploaded files.
    • Video XSS vulnerability for embedded code.
    • File upload by drag and drop.
    • Blur/focus not triggering right.
    • Error raised when hitting tab and table plugin was not included.
    • Table fixes in IE 11.
    • Nested lists were not always working fine.
    • Make nested lists HTML5 compliant.
    • Focus was jumping on Android when bold was applied.
    • Chrome warnings for boundary.detach.
    • Remove background/text color was not always working.
    • Cangjie input was not working fine in Chrome
    • Focusing on the editor was moving the cursor badly in IE.
    • After doing redo, undo was not working properly anymore.
    • Changing alignment was loosing cursor position
    • IE fixes.
    • IE9 image upload using remote iframe.
    • Image replace IE 11.
    • Regex for cleaning attributes.
    • Blur was not working properly with initOnClick.
    • localhost URLs with port were not sanatized correctly.
    • Applying a format in IE was scrolling to the top.
    • Inserting image on Android
    • Dropdowns are overlapping when 2 editors are on the same page.
    • iPad inline mode showing badly in iOS 8.

Release v1.2.1

11 Sep 12:47
Compare
Choose a tag to compare
  • Add data-name to the custom buttons and custom dropdowns.
  • Disable editing while uploading image.
  • Improve regular expression that match the attribues to clear.
  • Accept application/json as response from pastedImagesUploadURL.
  • Bug fixing
    • IE8 not initializing.
    • Selection was restore badly sometimes.
    • Fix new lines in PRE tags.
    • Calling destroy() before doing initialization on initOnClick would not clear the init event.
    • Dropdowns were not disabled in Chrome in HTML mode.
    • contentChanged was not triggered by "cut" event from browser.
    • File upload was not hiding/showing insertLink popup inputs properly.
    • File upload was not closing image mode.

Release 1.2.0

08 Sep 10:30
Compare
Choose a tag to compare
  • New algorithm for working with lists.
  • Nested lists.
  • Lists are now a plugin.
  • File Support.
  • Improve code readability.
  • Add button to remove the background color.
  • Add button to remove the text color.
  • Improvements to theme file.
  • Add red theme.
  • Add gray theme.
  • Add link when there is no text selected.
  • Setting contenteditable="false" to elements within the editor will make them not editable.
  • Improve element selections.
  • Hitting ESC in popups closes them.
  • Hitting TAB in popups moves through the inputs.
  • Hitting TAB in tables would move through the cells.
  • HTTP links are now validated against regular expression.
  • Improve pasting.
  • Add translation for video "or" word.
  • Add translation for "Block Style".
  • Allow to paste image from clipboard.
  • Improve Brazilian Portuguese translation.
  • Add Bosnian language.
  • Add Croatian language.
  • Add Montenegrin language.
  • Add Serbian language.
  • Upgrade to FontAwesome 4.2.0.
  • Upgrade to jQuery 1.11.0. jQuery 1.10.2 is still supported.
  • Options to manage image pasting from clipboard: pastedImagesUploadURL and pastedImagesRequestType.
  • Improve exec_commands method.
  • Improve cleaning.
  • Add editInPopup option.
  • Add allowedAttrs option.
  • Add allowedTags option.
  • Add formatTags option.
  • Dropping image in the editor directly will upload it.
  • Image preview while uploading it.
  • Improve typing in typeahead languages.
  • Improve the editor positioning in inline mode.
  • Add subscript button.
  • Add superscript button.
  • Rewrite errors for media manager.
  • Improve selection.
  • Add new events: afterUploadPastedImage, beforeFileUpload, fileUploaded, videoRemoved, videoFloatedLeft, videoFloatedNone, videoFloatedRight, cellInsertedBefore, cellInsertedAfter, cellsMerged, cellDeleted, columnInsertedBefore, columnInsertedAfter, columnDeleted, rowInsertedBelow, rowInsertedAbove, rowDeleted, tableInserted, tableDeleted, cellHorizontalSplit, cellVerticalSplit, subscript, superscript, videoError.
  • Rename some events.
  • Bug fixing
    • Fix adding links with text in Chrome.
    • Fix events not passing editor instance.
    • Dropdowns were active in HTML mode.
    • HR tag was not in the allowed tags.
    • Video formatting is no longer removed.
    • Fix focus/blur events.
    • Remove placeholder in HTML view.
    • Using space to mark checkbox in link popup was closing the popup.
    • Fix insert table on Android.
    • Click on dropdown item was not stopping event propagation properly on iOS.
    • Hide editor when changing orientation on iOS.
    • Fix HTML view button design in inline mode.
    • Image progress bar was not showing progress.
    • Resize on image with link on iPad.
    • Tables were exceeding the width in inline mode.
    • Block style fixes.

Release v1.1.9

24 Aug 12:45
Compare
Choose a tag to compare
  • Bug fixing
    • Word paste.
    • Start with fontSize in Webkit browsers.
    • Cleaning RegEx fixes.
    • Page flickering on paste.
    • Cursor position on paste in Webkit browsers.

Release v1.1.8

23 Aug 23:01
Compare
Choose a tag to compare
  • Add linkClasses option.
  • Add headers option.
  • Add withCredentials option.
  • Add focus event.
  • Add blur event.
  • Add initialized event.
  • Improve cleanup methods
  • Cleanup on paste from Word.
  • Improve XSS filters.
  • Paste cleanup improvements.
  • Add popup for editing video.
  • New algorithm to clean the HTML output.
  • Separate stylesheet for page style - froala_page.css.
  • Add HTML code style by default from the editor.
  • Add Hebrew language.
  • Bug fixing
    • Other editors are still visible when initOnClick is used and text is selected for the first time.
    • insertHTML cursor was not always at the end.
    • blockStyleToggle option was not working correctly.
    • Hide image popup when another image is selected.
    • Mistype Embeded instead of Embedded.
    • Switch from UL list to OL.
    • Flickering when removing a list.
    • Aligning a table cell was applying the new alignment to everything after it.
    • $.noConflict was not working.
    • Adding new row was not possible sometimes.
    • Foreign letter could not be introduced using ALT + key.
    • HTML view was loosing focus sometimes, specially in IE 11.
    • setHTML was getting focus from everything else on the page.
    • Lists were not working in Safari when hitting enter
    • Insert same image twice was not possible in Chrome
    • Methods will return the value for the first element in the collection; not an array of the return values for all elements.
    • Changes were not reflected when form was submitted in HTML mode.
    • Accept all 200 codes from the server
  • Deprecated
    • Callbacks are deprecated in favor of events.
  • Removed
    • enableScript option was removed to prevent XSS.
    • imageMargin option was removed in favor of setting it from CSS.

Release 1.1.7

20 Jul 13:00
Compare
Choose a tag to compare
  • Save/Restore selection works for multiple ranges.
  • Bug fixing
    • Color buttons submit issue.
    • Inline editor popup issues.
    • Calling destroy() was not removing f-html.
    • XSS in insert video.
    • Insert image popup going out of the screen.

Release v1.1.6

14 Jul 03:04
Compare
Choose a tag to compare
  • Tables.
  • Insert video by URL.
  • Speed improvements.
  • Add support for IE8.
  • Improvement to Android support.
  • Improve mobile popup positioning.
  • The following features are plugins and they are no longer included by default
    • Block Style
    • Text and Background colors
    • Media Manager
    • Tables
    • Video
    • Font Size
    • Font Family
  • Add simpleAmpersand option.
  • Add imageLink option.
  • Improvements to German languages.
  • Beautifier is used as a separate lib and is no longer available by default.
  • Add maxHeight option.
  • Default is no longer available as default, but options can be toggled.
  • inverseSkin is replaced by theme option.
  • Theme CSS file.
  • Improve HTML output.
  • Improve Italian language translation.
  • Start in color/font size.
  • Allow user to return error from server for image.
  • Replace invisible space with BR tag.
  • Improve French translation.
  • Add saveRequestType option.
  • Callbacks from images get jQuery object as parameter instead of src.
  • Clean HTML with regular expressions instead of jQuery code.
  • Editor can be initialized on image.
  • Editor can be initialized on link.
  • Option to edit the text from the DOM element in a popup.
  • Pass a default list of links to choose from.
  • Add option to open the link in another tab.
  • Add disableRightClick option.
  • Add blockStylesToggle option.
  • Add trackScroll option.
  • Add unlinkButton option.
  • Bug fixing
    • Fix random image delete.
    • Fix cursor not showing in some cases.
    • Unescape usual entities in links.
    • Prevent removing rowspan and colspan.
    • Fix defining Array.prototype.myNewMethod.
    • Fix zIndex for dropdowns.
    • Fix using Froala Editor with RequireJS.
    • Fix image delete alert keeps showing after delete when pressing the backspace key.
    • Switching to HTML and back was placing bad focus.
    • Fix screen flicker on paste
    • Prevent inline editor showing when clicking in selected text.
    • Prevent executing script from PRE.
    • Fix dropdown arrow in Webkit.
    • Fix image border not showing when floated right in inline mode.
    • Fix image move breaking paragraphs.

Release v.1.1.5

20 May 18:49
Compare
Choose a tag to compare
  • Add focus method.
  • Show editor on right click.
  • Editor can now be initialized on image.
  • imageUploadToS3 option to upload to Amazon S3.
  • imageUpload option to disable image upload.
  • customDropdowns option to customize dropdowns.
  • blockStyle command to set a custom blockStyle.
  • blockStyles option to set specific blockStyles.
  • defaultBlockStyle option to set default available block styles.
  • Improve destroy method.
  • Improve placeholder support.
  • Improve coding mode.
  • Improve new line in code and blockquotes.
  • Set media manager to always expect JSON and not text.
  • Update to FontAwesome 4.1.0.
  • Replace paragraph icon.
  • Replace color icon.
  • Add fontFamily button in toolbar.
  • Add blockStyle button in toolbar.
  • Add html button back in toolbar.
  • Allow URLs starting with # and /.
  • Sync when image is dropped.
  • Show editor by key selection in inline mode.
  • Focus input when showing the link popup.
  • Bug fixing
    • Fix UL/OL next to image floated left overlap.
    • Fix OL indent.
    • IE html view textarea resize handles.
    • contentChanged callback was not triggering on delete in webkit.
    • Focus was not working properly in HTML mode in IE.
    • Fix insert video IE 11.
    • Image delete message was still showing after deleting image.
    • Image load error IE 11.
    • Page was scrolling on paste.
    • Fix image move in Safari.
    • Fix image resize handles being added twice.
    • Fix enableScript option.

Release v1.1.4

05 May 21:19
Compare
Choose a tag to compare
  • Media manager for images.
  • Add zIndex option.
  • Minimum for autosaveInterval was changed to 100.
  • Improve for XSS support.
  • Improve insertHTML method.
  • saveURL is no longer required to trigger save.
  • Add image restriction by using allowedImageTypes option.
  • CTRL + Backspace is cutting text.
  • CTRL + ] in indenting text.
  • CTRL + [ is outdenting text.
  • CTRL + " is formatting text as quote.
  • CTRL + \ is formatting text as code.
  • Sync before submitting form.
  • Delete image by hitting delete when it is selected.
  • Hitting enter when image is selecting is getting it down.
  • maxImageSize option to restrict image size before upload.
  • Add defaultImageWidth option to set the image size on insertion.
  • afterRemoveImageCallback is now getting the image src as param.
  • Image remove control improved.
  • Horizontal line command.
  • Font family support.
  • Move writeVideo to its own method.
  • Improve wrapping support.
  • Improve getHTML method.
  • Improve block formatting.
  • Setting background color would take into consideration parents too.
  • Improve contentChangedCallback support.
  • Remove invisible characters when saving the HTML.
  • Add isActive method to check if command is active.
  • Improve undo mechanisms.
  • Use a custom version of Modernizr that does not conflict anymore.
  • Improve editor position in Firefox when a scale transform is applied.
  • Selected fontFamily, fontSize or block type appears selected in the dropdown.
  • beforeFileUpload callback.
  • Bug fixing
    • New line fix when paragraphy enabled in Webkit.
    • Bold was not working properly when undo and redo were disabled.
    • Insert image on IE 10-11 at cursor location.
    • Empty editor was focused after initialization in Webkit.
    • Releasing selection outside the editable zone.
    • Click issue when there is more than one link.
    • Shortcut keys were not working when editor was empty.
    • Textarea was not focusing in Safari.
    • Hitting bold when editor is empty was not working.
    • Fix iPad issue of scrolling through dropdowns.

Release v1.1.3

08 Apr 15:30
Compare
Choose a tag to compare
  • Custom tags from html are no longer removed.
  • minHeight option.
  • removeFormat method.
  • Image is inserted where the cursor is.
  • Undo preserves selection and cursor position.
  • Please wait message when uploading image.
  • BR are no longer removed when calling save.
  • Bug fixing
    • Pressing Bold, Italic, Underline, Strikethrough start in that mode.
    • getHTML() returns the html when in code mode.
    • Enter in Code and Quote are not adding a new line.
    • Editor was getting focused when more than one editor.
    • Autosave interval was set back to 10000.
    • Image was loading again on save.
    • Fix new line in lists in Safari.