Skip to content

Releases: froala/wysiwyg-editor

Release 2.6.4

21 Jul 07:10
Compare
Choose a tag to compare
  • Bug Fixing
    • New line was added at the top of the editor when clicking inside it sometimes.

Release 2.6.3

20 Jul 14:13
Compare
Choose a tag to compare
  • Add trademark character to special characters plugin.
  • Enable pasting images in Safari from the clipboard.
  • URL detection while typing.
  • Add initializationDelayed event.
  • Add a new line after/before the last/first element when clicking at the bottom/top of it.
  • Enhancements
    • Replace $.parseJSON with JSON.parse.
    • Word Paste when the clean option is chosen in Word confirmation modal.
    • Pasting from Visual Studio code in an empty editor.
    • Firefox cleanup when getting the edited HTML.
    • Undo stack was not aware of htmlExecuteScripts option.
    • Automatically scroll editor after calling html.insert.
    • Translate drop-down selection details.
    • Use PNG instead of JPEG for Aviary edited images.
    • Send image name together with the form data on image upload.
    • Typing in Korean in inline mode.
    • Do not hide the link pop-up when hitting ALT key.
    • Access table cell formatting when focussed on a link inside a table cell.
    • Convert indentation to nested lists.
    • Dropdown positioning when at the bottom of the page.
  • Bug Fixing
    • Word paste was not detected in IE.
    • Initializing the editor on a link was not allowed to select anything outside of the editor.
    • The print feature was keeping a cached version after destroying the editor instance.
    • Having image on the last line was throwing an error in IE sometimes.
    • Pasting in Safari when iframe option was enabled.
    • Remove "noopener noreferrer" attribute when target attribute is not _blank.
    • Video upload was not working on iOS.
    • When not using Code Mirror, typing in Code View was scrolling up.
    • Typo in inserted HTML for videos.
    • Image upload controls were not showing on iOS 8.
    • Cut/copy images in IE 11.
    • Scrolling on the image inside when using mobile devices.
    • The contentChanged event was not triggered when using keyboard suggestion on iOS.
    • The selection was showing around the image on iOS.
    • iOS formatting buttons (B I U) were not "canceling out" after backspacing.
    • Android scrolling when adding a new line or deleting an empty one.
    • Resizing image was setting unnecessary height prop.
    • letter-spacing and font-size were out of order when applying an inline style.
    • Insert link shortcut was showing popup in the wrong place when using inline mode.

Release 2.6.2

23 Jun 10:19
Compare
Choose a tag to compare
  • Add tabIndex option.
  • Add aviaryOptions option.
  • Enhancements
    • Use a shared instance of Aviary between all editors.
    • Sanitize SRC on all tags, not only IMG and A.
    • Use translation for shortcuts and tooltips.
    • Use default line-height for the editor UI.
    • Auto-convert subdomains to links.
    • Improve spaces conversion to non-breaking spaces.
    • Do not follow links when editor editing is disabled.
    • Improve enter on iOS devices.
    • Improve Hungarian translation.
    • Improve Word pasting.
    • Improve Excel detection.
    • Using SCAYT WebSpellChecker with iframe mode.
  • Bug Fixing
    • Switching to fullscreen was setting overflow incorrectly for parent nodes.
    • Aviary and WebSpellChecker scripts were loaded multiple times.
    • quickInsertTags was not being used.
    • Using SCAYT spellchecker was forcing the spellcheck attribute on the editor instance.
    • Spaces were not allowed in local URL paths.
    • Toggling Code View was encoding ampersands inside iframe incorrectly.
    • htmlUntouched option was breaking enter behavior.
    • selection.element was setting the selection outside of the current inline elements.
    • scrollableContainer option was ignored when editing inside a popup.
    • Dropdown screen collision was not working correctly.
    • Not setting a tag for Image Manager files was throwing a JS error.
    • Popup instance was not set correctly on popup refresh.
    • List items were ignoring styles inconsistently.
    • When using toolbarInline, the toolbarButtons option was ignored.
    • Image placeholder was not removed when using dragInline option and dropping an image.
    • Using a shared toolbar and calling edit.off was not working correctly.
    • URL detection was allowing double dots.
    • Fixes image upload popup positioning when dropping image in the editor.
    • Sub/Sup was not working correctly in IE.
    • Unwanted scroll when pasting in Safari.
    • When using ENTER_BR option, an extra BR was added sometimes.
    • List type was not kept on regular paste.
    • image.inserted event was not being called on pasted images.
    • Images that failed to upload when pasted from Word were not being removed.
    • Line breaker plugin was not adding space correctly all the time.

Release 2.6.1

25 May 13:16
Compare
Choose a tag to compare
  • Move WebSpellChecker to third_party folder.
  • Move Image Aviary to third_party folder.
  • Add indentMargin option.
  • Add wordPasteModal option.
  • Enhancements
    • Handle local network links.
    • Popup collision horizontally.
    • Detect and convert email addresses.
    • Use global $ for languages.
    • Change country code for Ukraininan from UA to UK.
    • Add translation for "Uploading" and "Loadidng image".
  • Bug Fixing
    • URLs plugin RegExp was causing an infinite loop.
    • XSS problem when pasting links in Firefox.
    • Pasting list into empty nested list created another level of nesting.
    • Font format was lost after selecting and deleting the whole line.
    • Video was not resizing correctly in IE11.
    • Pasting from Microsoft Word was always pasting in the first editor instance.
    • Line breaker was adding new lines outside of the editor sometimes.
    • Toggling tabs inside color popups were not working correctly.
    • Special characters were always inserted in the first editor instance.
    • Error was thrown when inserting image and imageDefaultAlign is set to null.

Release 2.6.0

04 May 08:58
Compare
Choose a tag to compare
  • Add Word and Excel Paste confirmation modal.
  • Add WebSpellChecker.net integration for advanced spell checking.
  • Add Aviary integration for advanced image editing.
  • Add htmlExecuteScripts option.
  • Add videoAllowedProviders option.
  • Enhancements
    • Word paste clean-up and format keeping.
    • Do not allow to have subscript and superscript at the same time.
    • Improve font family detection in Safari.
    • Improve URL auto conversion.
    • Tabbing inside table cells.
    • Replace nodeValue with value.
    • Change overflow CSS property of parent nodes when entering full-screen mode.
    • Clean content when it is dropped inside the editor.
  • Bug Fixing
    • Adding a video was freezing inline editor sometimes.
    • Video resize was not working inside iframe.
    • Status of toolbar buttons were not updating on mobile devices.
    • Popups were closing incorrectly with jQuery 2.2.4.
    • Aligning image triggers scroll inside the editor.
    • Selecting multiple cells triggers scroll inside the editor.
    • Extra blockquote was created on enter in Firefox.
    • Pressing delete with multiple cells selected was failing.
    • Drop image with another image selected was replacing the existing one instead of adding the new image in the editor.
    • Image size was set incorrect when imageOutputSize was used.
    • Deleting emoticons was leaving dirty UTF-8 characters.
    • Dropdowns were not closing correctly in IE.
    • Modal size was incorrect when iframe option was used.
    • Images could not be edited inside fullscreen mode when they were placed at the bottom of the page.
    • Switching to code view was breaking STYLE and SCRIPT tags.
    • Dropdowns inside table modal were closing inconsistent.
    • Pasting in Microsoft Edge was throwing an error.
    • Code View was freezing in Microsoft Edge.
    • Selection status was incorrect in Firefox sometimes.
    • paste.afterCleanup event was triggered multiple times in Safari.
    • Quotes were being removed inside style attribute.
    • Font tag was appearing when using CMD + Backspace on MacOS in Chrome.
    • Text alignment was removed on paste when enter option was set to $.FroalaEditor.ENTER_BR.
    • Format was lost when navigating between lines although the keepFormatOnDelete option was enabled.
    • Font size was not kept on enter at the beginning of list items.
    • Undo was not triggering image.loaded event.
    • Popups were not aligned correctly at the very right margin of the screen.
    • Destroying the editor in code view and initializing it back was failing.
    • Pasting multiple images from Microsoft Word was throwing an error.
    • Resizing table without doing another change in the editor was not storing the change in the undo stack.
    • Undo stack was not storing the text dropped in the editor.
    • Printing in RTL was not keeping the alignment of the editable area.

Release 2.5.1

13 Mar 15:25
Compare
Choose a tag to compare
  • pasteAllowedStyleProps is now empty by default.
  • Add wordDeniedTags option.
  • Add wordDeniedAttrs option.
  • Add wordAllowedStyleProps option.
  • Enhancements
    • Upload all images on Word pasting.
    • Select a default tab inside video popup.
    • Word pasting.
    • Improve URLs automatic conversion.
    • Improve ARIA attributes for dropdowns.
    • CommonJS environment improvements.
  • Bug Fixing
    • Modal misalignment when using the iframe option.
    • Setting font site on mobile devices.
    • Toolbar misalignment inside Bootstrap components.
    • contentChanged event was triggered rarely on mobile devices.
    • file.unlink event was fired twice.
    • Images were inserted in HR tags sometimes.
    • Images were inserted in emoticons sometimes.
    • Applying text formats might throw an error.
    • Conflicts with global namespace for some variables.
    • Modals were changing the alignment of the BODY tag.
    • Misaligned buttons when using text dropdowns.
    • Align was not always working in RTL.
    • Image/video resize using keys inside iframes.
    • Using " inside data attribute might break the HTML.

Release 2.5.0

27 Feb 17:56
Compare
Choose a tag to compare
  • Enhanced Word and Excel Paste plugin.
  • Add SK translation.
  • Include Vidyard as a video provider.
  • Add htmlAllowedStyleProps option.
  • Add pasteAllowedStyleProps option.
  • Enhancements
    • selection.element method was not accurate after format.applyStyle.
    • Reuse existing elements for inline style instead of creating new ones.
    • Update bower.json to use all plugins.
    • Add warning to prevent initialization inside label elements.
    • Improve RU translation.
    • Prevent image growth when the editor size is reached.
    • Placeholder hiding was delayed when there were more than one empty block tags.
    • Extra spaces were added on paste.
    • Improve applying inline style such as text and background color.
  • Bug Fixing
    • Link color was not changed when link was fully selected.
    • Editor was scrolling when in iframe and text was deleted.
    • Internal CSS rule ':focus' was declared as global.
    • Paragraph format was lost on list removal.
    • Emoticons were inserted one in each other sometimes.
    • Remove default block tags on paste.
    • useClasses was not outputting the right HTML with specific CSS properties.
    • Remove text-align for fr-view class.
    • PRE tag was not keeping the indentation.
    • Incorrect list status after removing bold from list items.
    • Additional unnecessary space before/after images.
    • Text was blinking when typing in IE inside iframe.
    • Inserting multiple HR in empty editor would result in nesting them.
    • Image round class wasn't doing nothing.
    • Undo stack was not keeping selection in certain situations.
    • Videos from Vimeo weren't detected correctly.
    • BMP files were not handled correctly.
    • Image controls got stuck when the editor was initialized on iframe contents.
    • Code inside NOSCRIPT tag was being escaped.
    • Pasting in Safari was not possible inside empty editor.
    • Pasting in empty nested list item was not possible.
    • Destroying editor in fullscreen mode was not removing the z-index CSS props.
    • htmlUntouched was still doing changes on certain cases.

Release 2.4.2

02 Feb 15:59
Compare
Choose a tag to compare
  • Chrome 56 was breaking sticky toolbar

Release 2.4.1

26 Jan 09:38
Compare
Choose a tag to compare
  • Print plugin
  • Video upload
  • Special characters plugin
  • Add htmlUntouched option
  • Disabling useClasses doesn't use style anymore for images.
  • Enhancements
    • Do not remove all link attributes on link update.
    • Do not allow pasting images from Google domain because they require authentication.
    • Fixes laggy typing inside large text when editor is initialized on textarea.
    • Typing was slow on Android with toolbarVisibleWithoutSelection option.
    • Improve line breaker show and hide logic.
    • Selecting image and hitting ENTER adds a new line above the image.
    • Placeholder was overlapping the textarea content inside popups.
    • Improve NL Translation.
    • Drag highlighted text around the editable area.
    • Reset align attribute for block tags when it is the same with it's parents.
  • Bug fixing
    • Editor wasn't firing blur event when popup visible (only when using iframe).
    • Scoped queries were not used correctly.
    • Invalid width was resetting the image size.
    • Page was scrolling when image selected and ENTER was hit.
    • Unwrapping was adding a new line incorrectly when ENTER_BR option was used.
    • Calling position.refresh might throw an error.
    • Prevent scroll on focus in IE.
    • Inline toolbar was hidden on popup show when it was shared between multiple editors.
    • Collapse spaces after BR tag.
    • Inline toolbar was scrolling on Android.
    • Resized table was not responsive on resize from left to right.
    • Spaces from PDFs were removed sometimes on paste.
    • Fixes new line being added before image in Edge when not necessary.
    • New lines were inconsistent in Edge.
    • Typing in Japanese Kanji was not working in Edge.
    • Image load popups were not placed correctly when images were inserted via Image Manager.
    • Image resize popups were stopping to work sometimes.
    • Code view plugin was throwing an error in Edge and Firefox sometimes.
    • Cursor was not showing up after paste in Edge.
    • Line breaks were collapsing when format got applied in ENTER_BR mode.
    • Backspace was possible inside contenteditable="false".
    • Cursor was always positioned at the end of the cell in a table.
    • Remove jQuery global.
    • Spaces between inline images were being stripped out.

Release 2.4.0

09 Dec 16:09
Compare
Choose a tag to compare
  • 508 Accessible
  • WCAG 2.0 Accessible
  • Enhancements
    • Delete entire block when it has class="fr-deletable" and contenteditable="false".
    • Selecting multiple cells in iframe was loosing focus.
  • Bug fixing
    • Autocorrect and spellcheck was not working on iOS.
    • Back button not working properly in image edit link popup.
    • Caret position was not saved on cut.
    • Formatting was not being applied to all list items.
    • Placing cursor before image was throwing an error in console.
    • Enter in empty table cell was adding too many lines.
    • Empty table was created on enter at the beginning of another table in Firefox.
    • Changing video size was throwing an error.
    • Images were not inserted correctly in IE.
    • Accessibility when editor is initialized on image.