Releases: froala/wysiwyg-editor
Releases · froala/wysiwyg-editor
Release 2.7.4
- Add iframeDefaultStyle option.
- Add url.linked event for links which are linked while typing.
- Add linkNoOpener option.
- Add linkNoReferrer option.
- Pass the HTML output to the save.before event as a param.
- Update JS translations.
- Update KO translations.
- Improve PT translations.
- Improve FR translations.
- Improve DA translations.
- Remove svg+xml from default allowed imageAllowedTypes to avoid XSS problems
- Fixes XSS with SVG payload when inserting link.
- Add details to the default block tags.
- Links are no longer removed when clearing the formatting.
- Fixes table helpers inside bootstrap modals.
- Allow multiple block tags inside a list item.
- Add CTRL + Y as redo shortcut for Windows.
- Enhancements
- Improve output when useClasses option is disabled.
- Improves for image alignment when captions are used.
- Hide completely the link popup when there is no content for it.
- Limit indent action to the maximum width of the editor.
- Improves the line breaker behavior when images have caption.
- Add support for Font Awesome 5 shim.
- Improves pasting cleanup.
- Improves autoconversion regular expression for links.
- Improves text selection highlight in Firefox.
- Allow enter in textareas inside popups.
- Improves link sanitizing performance.
- Do not autoprefix links starting with dot.
- Navigation inside tables when there are nested lists.
- Improves Word space conversion on paste.
- Improves pasting images from Word.
- Improves keeping the original non-breaking spaces.
- Improves the backspace action on iOS.
- Improves pasting when selection includes the margins of the block tags.
- Bug Fixing
- Inserting HTML with line break should not insert an extra paragraph.
- Paste in Firefox was sometimes throwing an error.
- Timestamps in links were converted to the multiplication sign.
- Elements with contenteditable=false were stripped out on copy / paste.
- Custom special character sets were not replacing the default set.
- Fixes pasteAllowedStyleProps incorrect default option.
- Mobile inline toolbar position was incorrect after cursor selection changed.
- Setting zIndex option when editInPopup is true was throwing an error.
- Calling the image align method was not working if the image align button was not present in the imageEditButtons.
- Image upload dialog shows an error when the imageCorsProxy request throws an error.
- Fixes the image resizing with percent when captions are used.
- Prevent cutting inside DOM elements with contenteditable="false".
- Typing in image caption was not possible after deleting all the text.
- Line Breaker plugin was raising an error in IE sometimes.
- Fixes imageRoundPercent option.
- Backspace action was not working for some complex HTML structures.
- Fixes placeholder position when using jQuery 3.
- Empty table rows were deleted when they were empty.
- Fixes shared line breaker.
- Focus event was not triggered when the editor was focused using JS.
- Fixes removing formatting from nested block tags.
- Fixes using the ALT key together with other letter keys.
- Fixes link position for an image.
Release 2.7.3
- Enhancements
- Custom themes improvements.
- Improve image actions when using captions.
- Changing list type was removing the class attribute.
- Improve font family detection.
- Trim whitespaces at the start and end of links.
- Improve German translations.
- Bug Fixing
- Table cell attributes were lost when there was no content inside.
- Scrollbar was not working correctly for dropdowns inside popups.
- Deleting before an emoji was removing two characters in some cases.
- Caption interaction was limited in Mozilla Firefox.
- Line Breaker tool was triggering the blur event.
- The cut action was not removing the selected text.
- Display status was not updated correctly for images.
- Sticky toolbar was working incorrectly in Chrome in some cases.
v2.7.2
- Add missing translations for video plugin.
- Update border radius for popup and modal buttons.
- Add HTTPS protocol to embedded videos.
- Allow double dash in URLs.
- Add URL translation for link popups.
- Enhancements
- Add
noreferrer
when opening a link. - Do not add editor classes when the
imageAlign
andimageDisplay
are - not used. - Keep image type when creating a temporary blob image.
- Improve htmlUntouched option.
- Prevent hiding the editor toolbar when changing the window.
- Prevent hiding the popups when using the window scrollbar.
- Pasting from one instance to another.
- Using underscores in inserted URLs.
- Improve PT translation.
- Node cleanup when pasting from Word in ENTER_P mode.
- Image pasting from Word.
- Improve list actions when keepFormatOnDelete option is enabled.
- Make sure dropdowns always remain on screenview.
- Clean image caption artifacts when getting the edited HTML.
- Editor was freezing when clicking randomly on table cells.
- Popup positioning when using the fullscreen mode.
- Improve inline toolbar positioning on iOS devices.
- Remove table cell content when using the DELETE key.
- Add
- Bug Fixing
- iOS link toolbar remains with the style button active after opening the link.
- Image size was not updated correctly when using the imageOutputSize option.
- Focus was set incorrectly in Firefox with an empty editor.
- Dragging artifacts where not cleaned correctly.
- Pasting from Word was joining tags in some cases.
- Char counter was counting invisible space characters.
- Lists backspace.
- Link popup was flashing when placing cursor at the beginning/ending of a link.
- Error when table is not formatted correctly.
- Inline toolbar disappear on hovering over submenu dropdown in IE 11 on Windows 7.
- Color picker was working incorrectly for tables.
- Placeholder was not updating correctly on backspace.
- imageOutputSize option was preventing resizing image vertically.
- Image uploading artifacts where not removed correctly for corrupted images.
- The useClasses option set to false was not preserving empty inline styles.
- An empty P tag was added to the editor in some cases.
- Changing the size for images with caption results in scroll to top.
- Toolbar offset was not updating when switching to fullscreen mode.
- When deleting selected lines, previous line also getting removed in some cases.
- Error was thrown when disabling the imageResize option.
Release 2.7.1
- Add HEX input for table cell background color.
- Add muted and playsinline to htmlAllowedAttrs option.
- Add fileUpload option.
- Add videoUpload option.
- Add imageCORSProxy option.
- Add imageUploadRemoteUrls option.
- Add embedlyScriptPath option.
- Enhancements
- Do not remove P tags from table cells.
- Integration with At.JS for iOS.
- Do not merge consecutive blockquotes.
- Open file link in new tab.
- Trim inserted URLs.
- Handling new line at the beginning of a block tag.
- Do not convert email addresses while typing when linkConvertEmailAddress option is disabled.
- Improve doctype detection when using the fullPage option.
- Improve pasting from one editor instance to another.
- Cursor position when switching back from Code View.
- Video preview in Firefox.
- URL detection for Vimeo videos.
- Email detection for URLs.
- Browser default spellchecker in Firefox.
- Include missing translations for new texts from UI.
- Improve Word detection for new lines.
- Allow having tableEditButtons empty.
- Improve link convertion on paste.
- Add '.fr-img-caption' to lineBreakerTags option.
- Improve line breaker checking.
- Bug Fixing
- Right click while doing image resize was freezing the editor.
- Table merge was not working for specific table layouts.
- The inline editor was positioned incorrectly horizontally inside scrollableContainer.
- Image style was applied incorrectly when using captions.
- zIndex higher than 9999 was working improperly.
- Quotes inside image inline style were converted to ".
- Selecting table cells and using right click at the same time was bringing the editor to an unresponsive state.
- Iframe possible XSS attack through the SRC attribute.
- pasteDeniedTags was ignoring iframe tag.
- Table actions via table quick insert tool were not added to undo stack.
- paste.beforeCleanup event was triggered twice.
- Image caption couldn't be edited on Safari browser.
- Changing image size was not working correctly together with captions.
- Drag and drop action was copying the text into the new location instead of moving it.
- The | character couldn't be used in links.
Release 2.7.0
- Image captions.
- Embed.ly plugin for embedding rich content such as Twitter Cards or Facebook Posts.
- Custom color in HEX format for colors plugin.
- Method to create custom Quick Insert buttons.
- Add imageUpload option to ease disabling image upload.
- Add video option to Quick Insert toolbar.
- Enhancements
- File popup was not showing at the correct top position.
- Add option to include translation for special characters.
- Bug Fixing
- RegExp error on backspace in certain environments.
- Image was selected incorrectly when using SHIFT key near it.
Release 2.6.6
- Enhancements
- zIndex option value can take any value.
- Support SHIFT + DELETE for cut action on Windows.
- Improve typing performance on very slow computers.
- Improve Word pasting for tables.
- Improve image paste from clipboard detection in Firefox.
- Keep formatting when starting new lines.
- Toolbar width value is no longer being rounded.
- Improve Korean translation.
- Sync iframe height after pasting content into it.
- Improve URL detection.
- Do not strip P elements from list items at initialization time.
- Bug Fixing
- Error when inserting image and the link plugin was not included.
- Resizing a video was not possible in IE inside an empty editor.
- Image error message was not showing on Windows for a corrupted image.
- Hitting TAB in a table cell was sometimes adding a new cell outside of the editor.
- The Inline toolbar was positioned out of the screen sometimes.
- Dropdowns were not working correctly on iOS.
- An error was thrown when dropping an image in Safari.
- Composed emoji were not deleted properly.
- Add a new line after HR at the end of the editor.
- Shared popups were not working correctly after destroying a shared instance.
- Word Paste detection when using iframe mode in Microsoft Edge browser.
Release 2.6.5
- Enhancements
- Improve image detection for Word Pasting.
- Improve Word Paste list detection.
- Improve Word Paste detection in IE.
- Improve paste clean-up.
- Improve Excel pasting.
- Improve pasting from Google Docs.
- Scroll by touching the toolbar on mobile devices.
- Throw error when inserted image is corrupted.
- Detect when the editor is initialized inside an iframe.
- Pasting in Firefox from one instance to another.
- Use TAB inside a list within a table cell.
- Use the icon module for the remove table cell color icon.
- Add the possibility to pass CodeMirror object to the editor.
- Allow URLs which contain exclamation mark.
- Bug Fixing
- Pre tag was losing indentation when it had non-text child nodes.
- contentChanged event was not being triggered when choosing suggestion on iOS.
- Char Counter plugin was not detecting IME.
- Applying format inside nested lists was producing incorrect markup.
- Clean SCAYT markup when getting the HTML.
- Local Storage was throwing errors in IE.
- The cursor was not showing after inserting an image from Image Manager.
- Pasted images did not trigger the image.beforeUpload event.
- Popups were hiding in IE incorrectly.
- Events were not being turned off correctly.
- HTML Entity Codes in links get converted without a semicolon.
- Spaces were removed when entering bolded text in Firefox.
- Images and videos were not being uploaded on iOS.
Release 2.6.4
- Bug Fixing
- New line was added at the top of the editor when clicking inside it sometimes.
Release 2.6.3
- 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
- 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.