Skip to content

Releases: froala/wysiwyg-editor

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.

Release 2.4.0-rc.1

28 Nov 13:50
Compare
Choose a tag to compare
  • Accessibility - use the editor only with keyboard.
  • Help plugin - show shortcuts that can be used inside the editor.
  • Restructure examples inside the downloaded archive.
  • On key press, use filters only around the current selection.
  • Add default icon template as info to button.
  • Change default font size to 14px instead of 15px.
  • Add link.beforeInsert event.
  • Align placeholder with the first paragraph inside the editable area.
  • Add showOnMobile option when registering a command.
  • Enhancements
    • clearingFormat command was not removing all the formatting.
    • List item pasting.
    • Typing performance on very large amounts of texts.
    • Tab key behavior in lists and table.
    • Carry formatting between line breaks with keepFormatOnDelete option.
    • Improve Hungarian translation.
    • Adapt shadows to work in IE.
  • Bug fixing
    • Using the option fileUseSelectedText wasn't taking the filename when nothing is selected.
    • Editor was not initializing on empty div with the option initOnClick.
    • Popups were not visible in fullscreen.
    • Shortcuts were not executed when key was released before CTRL.
    • Cleaning the BR tags inside blocks on normalize.
    • SVG error on focus in IE.
    • Pasting from TextEdit was adding a double line break.
    • Resizing a single column was making the table to move offscreen.
    • Popup separator in direction RTL.
    • Arrow key navigation inside table cells.
    • Quick insert positioning in inline mode.
    • Images were pasted twice from clipboard in Firefox 50.
    • Editor was showing on links outside of the editable area in some cases.
    • Dropping an image outside of the editable area was not clearing the dragging state.
    • Pasting when all text is selected with keepFormatOnDelete option enabled was removing the text - formatting.
    • Toolbar was destroyed incorrectly when toolbarContainer option was used.
    • Clicking an image after opening a popup would trigger editor blur event.
    • Initializing the editor on a textarea was adding the placeholder inside the editable area.

Release 2.3.5

19 Oct 10:41
Compare
Choose a tag to compare
  • Add uploadURL property for imageUploadToS3 and fileUploadToS3 options.
  • Add htmlIgnoreCSSProperties option.
  • Add tooltips option.
  • Align CSS property will be reset to null when it matches the parent property.
  • Add codeViewKeepActiveButtons option.
  • Add Vietnamese translation.
  • Add requestWithCredentials option.
  • Enhancements
    • Changing colour of underlined text was not changing the colour of underline.
    • linkAlwaysBlank and linkAlwaysNoFollow behavior was not added for links converted from text.
    • Remove 'use strict' from minified JS.
    • Improve format.applyStyle method.
    • Button size for text buttons.
    • file.unlink is triggered after removing a link to a file.
    • Toggle fullscreen from code view.
    • Selection is no longer lost on mobile devices when scrolling by tapping on the image.
    • Improve link selection for links with SVGs inside.
    • Resize table starting with the left side.
    • Do not show popups when there is no button inside.
    • Quick insert was not following scroll.
    • Move in tables from a cell to another using arrows.
    • Add the possibility to use SVG as an icon template.
    • Ignore image sizing if it wasn't resized.
    • Replace ' with ' in entities option.
    • Improve imageOutputWidth option.
    • Improve spacing conversion on Word pasting.
    • Load only thumbs in Image Manager.
    • Add meta to htmlAllowedTags option.
    • Improve Russian translation.
    • Prevent editor backspace on empty editor.
    • Tooltip was flickering in certain HTML structures.
    • Allow brackets in URLs.
    • Empty spans where added when setting colors for certain HTML structures.
    • Navigate with keyboards next to HR tags.
    • Improve ENTER on iOS devices.
    • Increase default zIndex for toolbarInline.
    • Improve typing performance for large amounts of text.
  • Bug fixing
    • Pasted content was using the wrong tag in ENTER_DIV and ENTER_BR modes.
    • image.beforeUpload and files.beforeUpload event was triggered twice in IE 11.
    • contentChanged event was not fired with Chinese characters.
    • Image editing was not working inside contenteditable specific structure.
    • keepFormatOnDelete was not keeping the format correctly all the time.
    • Enter in bullet with format selected was not working correctly.
    • initOnClick was not triggered when using TAB to focus the editor in IE.
    • image.replaced event was not triggered when using Image Manager.
    • Using jQuery 2.2.4 or higher was triggering contentChanged too often.
    • Character counter was not working with mobile suggestions.
    • Cursor was not showing anymore until blur on Firefox after browsing for an image.
    • Quick insert options were not following cursor on enter in empty editor.
    • Last saved HTML was not always stored correctly.
    • & was not converted correctly.
    • Inline toolbar was not showing after typing in Chinese.
    • Do not add BR tag on unwrap if prev node is block.
    • Hide line breaker when a command is ran.
    • Highlighting and deleting content with empty lines was wiping everything in the editor.
    • Undo shortcut was not working correctly with table cell selected.
    • Error on windows resize after destroy.
    • html.get was not returning entities encoded correctly when markers were used.
    • List items were getting reordered in some cases.
    • BR were added in empty TR and BODY elements.
    • Empty paragraphs were added when switching to code view and back.
    • Inserting emoticons in empty editor was not working correctly.
    • Edit on link was removing unwanted attributes.
    • Iframe not syncing correctly when using iframeStyleFiles.
    • Themes were not keeping all the colors.
    • P tags were removed when pasting in Firefox.
    • iframeStyleFiles was removing all the assets from the HEAD of the iframe.
    • HTML comments were removed from HEAD tag all the time.
    • Shared image objects were not working correctly.
    • Enter was not adding a bullet in certain HTML structure.
    • Destroy method was not clearing all the events.
    • Undo stack was broken after image error.
    • Image resize controlls were not showing correctly inside scrollable page.
    • Moving with cursor to the next cell using TAB was indenting lists from the cell that got focus.
    • Toolbar bottom and sticky combination was not working correctly in Chrome.