Skip to content

Releases: froala/wysiwyg-editor

Release 2.3.3

20 Jun 15:04
Compare
Choose a tag to compare
  • Add tableResizer option to disable table resize.
  • Enhancements
    • Remove table selection on right click outside the editor.
    • Improve Hungarian language.
    • Cut/copy images inside the editor.
    • Select in table while holding shift key.
    • tableInsertHelper option was unused.
  • Bug fixing
    • Do not edit table if the editor is disabled.
    • Incorrect image editing menu position when scrollableContainer has absolute positioning.
    • Some rules where not applied in theme files.
    • Current selected link was returned incorrectly when editor was inside an A tag.
    • Fullscreen was keeping the heightMax option.
    • Placeholder was not wrapping.
    • Table refresh error on header.
    • Default width should be set in percent when imageResizeWithPercent is enabled.
    • Entire table cell content was deleted on backspace.

Release 2.3.1

03 Jun 13:27
Compare
Choose a tag to compare
  • Use HTTPS on i.froala.com.
  • Enhancements
    • Convert text inside lists into list items.
    • Allow to select only images from imageAllowedTypes option.
    • Prevent typing inside HR.
    • Placeholder should clip at editor width.
    • Allow new lines in placeholder.
    • Placeholder takes into consideration padding and left margin.
    • Clear selected table cells content on backspace.
    • Never remove selection markers in clean.
  • Bug fixing
    • Error when copy/cut in iframe.
    • Browser crashes when pasting certain HTML using DIV for enter.
    • Refresh typo in image and file plugins.
    • Image shortcut letter in tooltips.
    • Emoticons markup when not using images.
    • Paragraph refresh error.
    • Code View Text Area doesn't take up entire height.
    • Initializing in Firefox when element is hidden.
    • Scrolling in dropdowns in IE with toolbarInline option enabled.
    • New lines were stripped in SCRIPT and STYLE tags.
    • Link prefix was added to file:// links.
    • imageEditButtons were not working when a single button was used.
    • Text jumping around when applying a style format.

Release 2.3.0

20 May 13:46
Compare
Choose a tag to compare
  • Get rid of document.execCommand for applying format.
  • Remove commands.applyProperty method.
  • Add format.apply method.
  • Add format.is method.
  • Add format.remove method.
  • Add format.toggle method.
  • Add format.applyStyle method.
  • Add format.removeStyle method.
  • Allow []{} inside the URLs.
  • Add codeBeautifierOptions option.
  • Show shortcuts in tooltips. Add shortcutsHint option.
  • Adding fr-deletable class to an element would delete the entire element.
  • Add imagePasteProcess option.
  • Allow setting imageDefaultAlign to null.
  • Allow setting imageDefaultDisplay to null.
  • Add iframeStyleFiles option.
  • Enhancements
    • Youtube URL detection.
    • Improve space collapsing.
    • Russian translation improvement.
    • Improve image accessibility: select using SHIFT and arrows.
    • Make sure the current document has focus on iOS when calling focus.
    • Handle uppercase URLs.
    • Allow to destroy editor while uploading files/images.
    • Use icon module for colors remove, fullscreen collapse and media manager buttons.
    • Improve pasting empty new lines detection.
    • Allow to insert new lines before and after videos using line breaker.
    • Clicking next/before image whould add a new line below/above it if there is no text.
    • Scrolling the editor content on touch devices with initOnClick option were enabling the editor.
    • Caret was going under toolbar when position:fixed and toolbarStickyOffset is non-zero and navigating with arrows.
    • Accept unicode domains as URLs.
    • Remove memory leaks on destroy.
    • Pass image data on deleting image via image manager.
    • Inserting HR in empty editor was not adding new line after it.
    • Use label instead of span for input description.
    • Use heightMin and heightMax for codeView as well.
    • Gray theme was positioning popup arrow incorrectly when fr-above was active.
    • iOS dropdowns were not scrollable.
    • Delete empty lines on BACKSPACE/DELETE after/before tables.
    • Remove empty class and style attributes from images.
    • Clear mouse moving timeouts on destroy.
    • Add aria-label to buttons.
  • Bug fixing
    • Sticky toolbar on Chrome Canary.
    • html.get with markers and style was removing the text incorrectly.
    • Click next to image in empty cell.
    • Drag-and-drop images in IE were always added at the top.
    • Toolbar remained disabled when selecting cells between tables.
    • Deleting table leaves toolbar disabled.
    • Inserting image from image manager in wrong editor instance.
    • videoEditButtons option was not building the popup correctly.
    • Relative url's shouldn't get a url prefix.
    • Dragging image away from table cell removes that cell.
    • Deleting a selection of a list deletes the whole UL element if last list item is empty.
    • Dragging image with link was not keeping the link.
    • Redo was disabled incorrectly when non-char key was pressed.
    • Fixes dropping redo on loosing focus.
    • Hitting enter at the end of paragraph wasn't creating a new line with ENTER_BR.
    • Cursor was hidden in popup's input in Firefox in certain configurations.
    • Entered text was always going to first list item in ENTER_BR on Chrome.
    • Hitting char key when text is selected won't insert character.
    • Spellcheck inside a table cell was freezing editor toolbar.
    • Prevent deleting inside contenteditable=false using DELETE key.
    • Bad cursor position when inserting emoticon in Safari.
    • Image/file upload errors where not showing sometimes.
    • Popup in IE10 were added below added video.
    • Line was holding bold text when iframe and ENTER_BR options are enabled although it is disabled.
    • Alignment popup for image was cut when images were at the bottom of the editor.
    • Tooltips where creating a horizontal scrollbar in RTL direction.
    • Entities which were directly in the editable element were not encoded.
    • Blur event was triggered when hitting the scroll inside dropdown.
    • Table freeze when clicking on another cell while holding CMD.
    • linkConvertEmailAddress was not accepting all domains.
    • Offset error when initializing editor on image.
    • Buttons were not refreshing correctly inside shared popups.
    • Deleting all text when iFrame breaks outer HTML structure.
    • Colors popup position inside inline mode.

Release 2.2.4

22 Apr 15:21
Compare
Choose a tag to compare
  • Adds the possibility to use em in fontSize.apply method.
  • Cancel image/file upload using ESC key.
  • Enhancements
    • Youtube URL detection.
    • Line breaks and non-whitespace conversion.
    • Improve Russian translation.
    • Typing before/after image when there is no other content.
    • Improve Chinese simplified translation.
    • Improve German translation.
    • Use default image options for URL pasted images.
    • Changing font-size on an empty span with different font-size.
    • Validate embedded video code.
    • Cursor position after deleting image.
    • Avoiding reserved default word.
    • Wrong aspect ratio after resizing image with height property set.
    • Reposition toolbars based on scrollableContainer instead of document height.
    • Other elements than metadata is moved out of header when using fullPage option.
  • Bug fixing
    • Image edit popup was not displayed in IE 11 sometimes.
    • Insert SVG images.
    • Iframe injected style was duplicated.
    • Passing null to html.set method was throwing an error.
    • Floated images were cut off in Webkit and Firefox.
    • Image float was not preserved in IE with useClasses option disabled.
    • Open link when editor is initialized on link.
    • Formatting lists inside elements with class fr-inner.
    • Pasting long continuous text was showing the text at the top of the page before inserting in the editor.
    • Having the editor inside a hidden element was throwing an error in IE.
    • File was inserted in wrong editor in certain scenario.
    • Wrong prefix was set for absolute URLs.
    • Formatting text with different font styles was removing part of it sometimes.
    • zIndex was removed from inline toolbar when hiding popup.
    • Backspace inside empty link was not removing it.
    • Image list was not refreshed after html.insert method.
    • Embedded tables get formatted incorrectly when swapping from html to editor.
    • Adding 2 videos in empty editor instance was not possible.
    • Fixes translations for "Table header" and "Remove table".
    • Selecting a line with double click and formatting it was also formatting the next line.

Release 2.2.3

04 Apr 14:22
Compare
Choose a tag to compare
  • Change imageOutputWidth option to imageOutputSize.
  • Enhancements
    • Disable link edit when using edit.off and editor was initialized on a link.
    • Remove image unnecessary style.
  • Bug fixing
    • Placeholder was not aligned correctly.
    • Cursor error when using space on blank lines in ENTER_BR.
    • Cursor position when starting a list.
    • Additional BR tags were added in certain scenarios.
    • Additional non-breaking spaces were added in certain scenarios.
    • Back/forward word delete on MacOS.
    • Link edit when iframe option is on.
    • Incorrect cursor position at the end of line in iframe when ENTER_BR is on.
    • Deleting end of line when using iframe and ENTER_BR option.

Release 2.2.2

25 Mar 17:15
Compare
Choose a tag to compare
  • Show the inline toolbar on mobile devices.
  • Add imageRoundPercent option.
  • Add imageMinWidth option.
  • Add imageOutputWidth option.
  • Add packaged files in the archive which includes all the plugins.
  • Add hasOwnProperty check for loops through Object keys.
  • Enhancements
    • Remove overflow-x when inline.
    • Update image margins and alignment.
    • Do not add image classes when imageDisplay and imageAlign buttons are not used.
    • Do not wrap text inside fr-inner class.
    • Improve apply methods for image, paragraph and link styles.
    • Improve emoticon alignment. instead of forcing Font Awesome.
    • Improve empty node check.
    • Force encoding of non-ASCII chars as \uXXXX when building the minified code.
    • Update code view when calling html.set.
    • Typing in table cell in IE.
    • keepFormatOnDelete was not consistent.
    • Improve Persian translation.
    • Do not encode text inside STYLE and SCRIPT tags.
    • Allow images to match the current page protocol.
    • Detection of the selection end element.
    • Do not break quick insert line on whitespace.
    • Improve image max-width based on its floating.
    • Improve text icon appearance.
    • Improve Russian translation.
    • Do not allow to make image smaller than imageMinWidth option.
    • Remove image cursor CSS rule from froala_style.css file.
    • Improve Korean and Japanese typing after image.
    • Improve table insert helper positioning when fullPage is true.
    • Improve email detection RegEx.
  • Bug fixing
    • Cannot add text next to image when it is wrapped inside a link.
    • Disable right click was not working.
    • Dropdowns were not showing on iOS.
    • Setting the HTML was forcing the editor to become editable.
    • execCommand was not working correctly at the beginning of paragraph in Mozilla.
    • zIndex was altered incorrectly in inline mode.
    • Images could not be dropped in IE.
    • Comments were altered inside SCRIPT tag.
    • Spaces inside PRE tag were merged.
    • Doing backspace before STYLE tag was merging the content into it.
    • Scrollable container was not used for positioning the image resizer.
    • Bold button state was incorrect when using keyboard to place cursor.
    • Remove markers from editor when popups are opened and the blur event is triggered.
    • Undo was not working in inline mode.
    • Image manager tags were not shown.
    • Keep image uploading message while resizing window.
    • Get the edited HTML when no marker is present.
    • Placeholder position in inline mode.
    • charCounter.update event was not triggered correctly.
    • Toolbar buttons were larger than they should be in Firefox.
    • Applying bold in Mozilla on light text.
    • Changing styles should reposition visible popups.
    • Fixes new line was removed at end of some tags.
    • Hitting back in image popups were hiding the popup on iOS.
    • HR was not splitting the HTML correctly.
    • Inserting image using quick insert tool was loosing position on iOS.
    • Quick insert was not hidden on mobile devices.
    • Fixes iOS error when image manager first opens.
    • Fixes link popup position on orientation change.
    • Hide table edit popup when table resize starts.
    • Fixes table select when height is set.
    • Add image to lineBreakerTags.
    • Image could not be deleted with DELETE key.
    • Placeholder was position incorrectly sometimes.
    • Image actions were added incorrectly in the undo stack.
    • Fixes space collapse on paste.
    • Initialize editor on focus when initOnClick is true.
    • Fixes "Replace" word translation inside image popup.
    • Fixes lists indent on the first list item.
    • Space after table was converted to non-breaking space.
    • Duplicate style attributes were added when disabling useClasses option.
    • html.get(true) was removing empty block tags with BR inside.
    • Spaces were normalized inside contenteditable="false".
    • Images could be edited inside contenteditable="false".
    • Right Click in table deselected cell, but was keeping popup opened.
    • Table insert helper was showing for nearby tables.
    • Fixes table insert helper when height is set for iframe.
    • Image could not be pasted in Mozilla with pastePlain enabled.
    • Initialize the editor on click by touching the image on mobile.

Release 2.2.1

02 Mar 10:16
Compare
Choose a tag to compare
  • Bug fixing
    • Problem with restoring selection in IE and Edge browsers.
    • Emoticons size inside popup in IE browser.

Release 2.2.0

29 Feb 17:47
Compare
Choose a tag to compare
  • Draggable plugin.
  • Enable video move.
  • Improve initialization time.
  • Improve minified file size by using $.FE instead of $.FroalaEditor.
  • Share toolbar, popups and other common elements between instances with the same options.
  • Automatically turn off all events on destroy.
  • Add shared events.
  • Change saveInterval option to 10000.
  • Reset content on form reset event.
  • toolbarVisibleWithoutSelection is false by default.
  • Add toolbarContainer option.
  • Add htmlDoNotWrapTags option.
  • Add imageSplitHTML option.
  • Add videoSplitHTML option.
  • Add quickInsertTags option.
  • Remove quickInsertOffset option.
  • Add videoMove option.
  • Enhancements
    • Quick insert positioning.
    • Improve handling new lines and spaces.
    • Default text alignment.
    • Default text color when using inline editing.
    • Set wrapper overflow only when height is set.
    • Improve form editing.
    • Improve converting external CSS rules to inline style.
    • Add tooltips for quick insert plugin and table insert helper.
    • Improve checking for empty nodes.
    • Improve font family detection.
    • Resizing table inside iframe was not smooth.
    • Force contentChanged on blur.
    • Use classes to display line breaker instead of style.
    • Table insert helper flicker because of tooltip.
    • Improve inline toolbar positioning.
    • Improve pasting from TextMate.
    • Dropdowns never go under other instances when zIndex option is not used.
    • Hide active dropdowns when showing a popup.
  • Bug fixing
    • Any HTML could be dropped in Webkit browsers.
    • Fixes image default width when set to 0.
    • Fixes right click was adding empty lines in IE.
    • Fixes code beautifier exceptions.
    • Style tag was wrapped inside a paragraph.
    • Quick insert was overlapping popups.
    • Misplaced BR tag after image in some cases.
    • Resize image was not working when using init on click and image was clicked first.
    • Tooltip position when using the iframe option.
    • Fullscreen was not working when using the iframe option.
    • Fixes Japanese typing on iOS.
    • Unwanted BR tags were added after comments.
    • Quote shortcuts were not working.
    • Editing was not possible when using contenteditable="true" inside contenteditable="false".
    • Code view size was incorrect on Windows.
    • Using SHIFT key to select table cells when using the iframe option.
    • Blur was not triggered when loosing focus from the image ALT popup.
    • Catch possible errors when disabling object resizing.
    • Unwanted BR between STYLE tag and TABLE tag.
    • Initializing editor on image would throw an error when doing replace.
    • Copying from one instance to another was loosing style.

Release 2.1.0

30 Jan 14:42
Compare
Choose a tag to compare
  • Add pluginsEnabled option.
  • Add plugin property to commands.
  • Add emoticonsUseImage option.
  • Allow notes:// for links.
  • Add quick insert plugin.
  • Preview image while uploading.
  • Add table insert helper.
  • Redesign line breaker icon.
  • emoticonsSet code property needs only the Unicode code (1f600 instead of 😀).
  • Enhancements
    • Improve toolbar inline position when selection is collapsed.
    • Toolbar inline should be disabled when initializing on A, IMG or BUTTON.
    • Enter mode is no longer changed when initializing on other tags than DIV.
    • Allow to edit input placeholder in the popup when initializing on an input element.
    • Allow font awesome empty elements.
    • Improve iOS inline editing.
    • Improve sticky toolbar on iOS.
    • Use default image options for clipboard pasted images.
    • Improve useClasses option.
    • Improve clear formatting on IE11 and Edge.
    • Improve adding non-breaking spaces.
    • Keep style for default tag on enter.
    • Handle Google Docs pasting.
    • Do not add BR in elements which already have one.
    • Improve definition lists handling.
    • Improve lists Word paste.
    • Improve table editing.
    • Improve image resize.
    • Prevent table resize when other popups are visible.
    • Improve hitting ESC twice when image alt popup is visible.
    • Improve typing speed when there are many block tags in the editor.
    • Include headers in media manager requests.
    • If the editor is initialized on a link, it should be displayed inline.
  • Bug fixing
    • Fixes back in image and video popups when toolbarInline is enabled.
    • Initializing the editor on a button[type=submit] should not submit the parent form.
    • Fixes backspace when editing a link that the editor was initialized on.
    • Fixes image resizer zIndex.
    • Fixes image resize when init is done on image.
    • Do deep extend on init for options.
    • IE11 Korean Typing Problem.
    • Do not alter empty contenteditable tags that are blocks.
    • Clicking a Bootstrap button was not showing the link edit popup.
    • Link was inserted twice sometimes.
    • In some browsers the editor was scrolling to the top after adding a link.
    • Dropping files in editor on Windows was not working.
    • When using iframe a double scrollbar was showing on Windows.
    • Init on image stopped working after first image modification.
    • Copying the entire text was also copying the editable container.
    • Image was placed wrong on drop in IE11.
    • Fixes right click on IE11.
    • Custom theme tooltip settings were not working.
    • Tag IDs were copied when splitting text.
    • Image src was removed when data-.* was removed form the htmlAllowedAttrs option.
    • Fixes line breaker display and position.
    • typingTimer option was never used.
    • New lines were removed from PRE tag.
    • Fixes imageManager icon name.
    • Fixes hitting ESC when a single cell was selected.
    • Nested list was wrapped in block tag when formatting parent item.
    • bold/italic/underline buttons do not work properly in Chrome on Windows.
    • Image was disappearing on drag in IE11 sometimes.
    • Fixes keyboard hide when ENTER on iOS Chrome and UIWebView.

Release 2.0.5

14 Dec 17:26
Compare
Choose a tag to compare
  • Add charCounter.count method.
  • Enhancements
    • Cursor was jumping to top when pasting in IE.
    • Cursor was disappearing in IE sometime.
    • Read screen height when no doctype is specified.
    • Undo and Redo buttons are grey by default.
    • Toggle button visiblity and order based on screen size.
  • Bug fixing
    • Cleaning was not made at deeper levels.
    • Pasting in IE10.
    • Error after editing table header.
    • BR was added before table when not necessary.
    • File was always inserted at the top in IE.
    • Open link button was not working.
    • Incorrect empty new lines were added when aligning in ENTER_BR mode.
    • Indent was not working correctly when direction was set on text block only.
    • Font awesome icons were removed sometimes.