Updates

3.5.2

  • Fixed: The undo after inserting an image and typing doesn't work correctly.
  • Fixed: ​​The Handle plugin does not work correctly if a different trigger character is specified, such as #.

3.5.1

  • Fixed: In some cases, autoparsing links does not work correctly for the html tag.

3.5.0

  • Improved: Some improvements in XSS protection.
  • Improved: Improved video and object tag parsing when inserting and autoparsing links.
  • Improved: Handling JSON response from the server if there is a 400 or 404 error when uploading images.
  • Fixed: Invisible space is added unnecessarily for block tags.

3.4.12

  • Improved: Keyboard navigation in the handle plugin.
  • Improved: The Video plugin doesn't support YouTube embeds with the "Enable privacy-enhanced mode".
  • Fixed: Issue of resizing images after changing the alignment.
  • Fixed: Indent for lists does not work correctly in Firefox.
  • Fixed: Issue with parsing the "curren" symbol in links..

3.4.11

  • Fixed: In some cases parsing is wrong when inserting code with iframe in source mode.
  • Fixed: The ID attribute is inherited when pressing enter and creating a new paragraph.
  • Fixed: Issue with color change if there was already the same color inside the selection.

3.4.10

  • Fixed: Active buttons on the toolbar for inline tags.
  • Fixed: Text with lt and gt entities is not parsed correctly.
  • Fixed: Some issues when pasting from Word.
  • Fixed: Issue in CSS for modal overlay.

3.4.9

  • Fixed: Sometimes pasted links do not parse correctly.
  • Fixed: If there are quotes around the inline tag, there is a parsing error of content.
  • Fixed: If a plugin does not have a button on the toolbar, it breaks the order of the buttons in the toolbar.
  • Fixed: Deleting a head in the table in some cases deletes the whole table.
  • Fixed: Parsing error when inserting a table into the list.

3.4.8

  • Fixed: In some cases on iOS devices enter has incorrect behaviour when pressing at the end of heading.
  • Fixed: Issue when pasting a link with unicode characters (like ü, ö, etc).
  • Fixed: In the attributes of tags '<' or '>' signs is encoded.

3.4.7

  • Fixed: Pressing backspace will cause the figcaption to shift to the left in the image.
  • Fixed: Performance issue.
  • Fixed: Breakline mode - when pasting a line, it gets a line break at the beginning and at the end.
  • Fixed: Links with an exclamation mark are not parsed correctly.
  • Improved: XSS protection for audio, embed, iframe tags.
  • Added: Ability to change the autosave request method. Please see the autosave setting.

3.4.6

  • Fixed: In breakline mode, if a text is selected and another is pasted, the selected text is not deleted.
  • Fixed: If make destroy and then init with another language, the language in tooltip does not change.
  • Fixed: Blur event is called when the modal link window is opened.
  • Fixed: In some cases, if the scrollTarget is specified, then dropdown gets the wrong position when scrolling.
  • Fixed: When editing a link, an error occurs if the link contains an ampersand sign.
  • Fixed: Work of the BeyondGrammar plugin if the replaced text in the table. Please update the plugin itself too.
  • Improved: The work of changing the text direction in lists.
  • Improved: Do not delete dir attribute when pasting.

3.4.5

  • Fixed: Link is pasted incorrectly if the text is selected.
  • Fixed: A button added with the plugin takes an incorrect position if it was specified in the buttons setting.
  • Fixed: Work fullscreen plugin in the Bootstrap modal.
  • Fixed: When inserting a strong tag (or another empty inline tag with a new line) without a paragraph, the paragraph doubles when switching to source code.
  • Fixed: The table is deleted when the delete key is pressed instead of placing the cursor at the beginning of the table.
  • Fixed: Pressing enter multiple times when switching to source mode br tags disappear.
  • Fixed: When pasting text in Windows, the 'startFragment' comment remains in the content.

3.4.4

  • Fixed: If an alignment is made in the breakline mode, the div with align is deleted from output code.
  • Fixed: Backspace now does not delete the table if it is in front of the caret. Instead, the cursor moves to the last cell of the table.
  • Fixed: Button's tooltip does not remove when Redactor is destroyed.
  • Fixed: PasteKeepAttrs parameter does not work correctly when pasting content.
  • Improved: Work with React, see docs.
  • Improved: Removing javascript / alert and 'on' events in tag attributes.
  • Improved: Work of plugins with callbacks
  • Improved: Some improvements in pasting from Word and Windows.

3.4.3

  • Fixed: Sometimes an issue occurs if you select text and click any inline formatting. This also occurred with different other inline formatting situations.
  • Fixed: Issue in breakline mode if the cursor is at the beginning of the line and press enter.
  • Fixed: When creating a list in breakline mode, br is inserted at the end of the li tag.
  • Fixed: Clicking on pre will turn off the list buttons and then will not turn on.
  • Fixed: Properties plugin does not work.
  • Fixed: The resize image control is not shown in the fullscreen plugin.
  • Fixed: Setting hideButtonsOnMobile does not work.

3.4.2

  • Fixed: Pasting pictures from clipboard does not work.
  • Fixed: When paste, URLs are no longer converted to links automatically.
  • Fixed: In breakline mode if there is bold at the end of the text and press enter, then two lines will be created.
  • Fixed: In breakline mode, unwanted new lines are created when formatting with inline tags.
  • Fixed: Counter plugin does not change values when pasted content via context menu.
  • Improved: Insert code containing the php tag.

3.4.1

  • Fixed: In some cases, drag and drop images didn't work.

3.4.0

  • Improved: Plenty of improvements in paste content.
  • Improved: Many improvements in breakline formatting.
  • Improved: Many improvements to protect against XSS.
  • Improved: A lot of improvements when inserting and processing code inside pre or code tags.
  • Fixed: Problem with breakline formatting if br tag is inside an inline tag, for example b / strong.
  • Fixed: Resizing a center positioned image modifies the positioning of the image.
  • Fixed: Scrolls up when the modal window is closed and with the specified maxHeight.
  • Fixed: The problem of formattingAdd and removing classes when calling Normal text.
  • Fixed: In some cases, disableable buttons in the toolbar did not cause the buttons to be deactivated.
  • Fixed: Toolbar must not disappear in read-only mode.
  • Fixed: Insert private vimeo video links.
  • Fixed: Problems inserting a list from gmail.
  • Fixed: In some cases, content with an ampersand mark is incorrectly inserted.
  • Fixed: Usemap attribute is removed from images.
  • Fixed: When inserting plain text from the clipboard, html tags in the text are not escaped.
  • Fixed: In some cases, enter key in the lists causes the wrong formatting.

3.3.5

  • Improved: Inserting lists from MS Word.
  • Improved: Link autoparsing at the start of the editor.
  • Improved: Protection against XSS in link insertion and editing.
  • Improved: Fullscreen and Clips plugins.
  • Fixed: When formatting e.g. bold text, empty tags are added at the end of the line.
  • Fixed: When inserting a link with line breaks inside the link, unwanted paragraphs are added.
  • Fixed: Error occurs when clicking on the side of the image or embed if there is no paragraph after they.
  • Fixed: Issue with setting focus on content if there is a placeholder in Firefox
  • Fixed: Modal windows are not removed from the dom when destroying the instance of the editor.

3.3.4

ES6 and webpack export. Please see docs.

3.3.3

  • Fixed: When formatting the list, the content is removed if the editor within the list.
  • Fixed: Adding rows and columns to the table is available even if the cursor is not in the table.
  • Improved: XSS sanitize when inserting svg and img.
  • New: Setting source.codemirrorSrc if codemirror is used as a module.

3.3.2

  • New: link.changed callback to keep track of changed links.
  • New: imageObserve setting turns off adding the data-image attribute to images.
  • Fixed: Redactor doesn't send imageData attributes when uploading an image in the modal edit window.
  • Fixed: When using codemirror to view and edit source, source.changed callbacks are not triggered and changes are not synced with the Redactor source.
  • Fixed: Issue when displaying the Intragram, Twitter and other embeds in the content.
  • Fixed: In some cases, when inserting a table, br is added at the end of the cell text.

3.3.1

  • Fixed: The attributes of the current paragraph are deleted by pressing backspace if the previous paragraph is empty.
  • Fixed: Codemirror source view changes the height of the input field, it should stay the same height.
  • Fixed: External toolbar and click-to-edit do not work together properly.

3.3.0

  • Improved: Formatting in breakline mode.
  • Improved: Formatting in tables including work with lists (Please, update the table plugin).
  • Improved: The maximum height of dropdown is adjusted automatically by the height of the screen.
  • Improved: If image upload is disabled, the imagemanager plugin will work and show images for choice.
  • Fixed: If the heading or content is in div, formatting does not work.
  • Fixed: Issue with editing and deleting images after drag n drop them to the list.
  • Fixed: Issue if the editor works inside the table.
  • Fixed: Issue with getItemsByClass function in the dropdown observer.
  • Fixed: Issue with rounding the width and height of resized images, especially FF.
  • Fixed: Attributes with the data- prefix are deleted from the images.
  • Fixed: Issue when pasting content from Word, footnotes is not inserted correctly.
  • Fixed: Issue when inserting images in breakline mode, unwanted line breaks are added before and after the image.

3.2.2

  • Fixed: Final fix for the data-image attribute issue.
  • Fixed: In some cases, image centering did not work using the imagePosition setting.
  • Fixed: Edit a file link does not load the link into the link window.

3.2.1

  • Fixed: Toolbar does not become sticky in modal window bootstrap.
  • Fixed: pasteKeepAttrs option removes the class attribute even if it's not allowed in pasteKeepClass.
  • Fixed: Data-image attribute is not created when uploading an image.
  • Fixed: Content insertion via source.setCode does not reset the sticky position of the toolbar.
  • Fixed: Issue in the source.setCode method if it gets null as an argument.
  • Fixed: Text Direction plugin does not set "rtl" for lists. Please update the plugin too.
  • Improved: Pasting of lists from MS Word.
  • Improved: The link to the file should be edited as a normal link.

3.2.0

  • Improved: We refused to set the selection in source mode, where it was in visual mode. This makes Redactor more reliable and allows us to create a setting for viewing and editing the source code using Codemirror. Please, see the example or the setting description.
  • Improved: Remove extra attributes from img when inserting code or pasting to prevent xss
  • Improved: Pasting code with single tags into pre.
  • Fixed: In Windows Chrome, when copying and pasting the text, then unwanted br tags are added at the top and bottom.
  • Fixed: The formatting setting does not work if there are multiple editors on the page (Now for sure).
  • Fixed: Copying and pasting does not work in tables using the context menu.
  • Fixed: When pasting from MS Word, lists are merged into one list.
  • Fixed: Issue in the variable plugin at breakline, if the content has only a variable and enter is pressed.
  • Fixed: getButtonByIndex method in the toolbar causes errors.
  • Fixed: Issue with regular expression when formatting inline tags.
  • Fixed: Issue when selecting paragraphs with changed font size.
  • Fixed: When copying any text on Windows (Chrome and Firefox) and pasting it in the end of the current paragraph new paragraph is created.
  • Fixed: Dollar signs are being replaced inside of script tags.
  • Fixed: Issue with inserting or typing long text to the figcaption when the image has float property.
  • Fixed: A bug when the text in a Redactor field uses HTML tags that are unsupported.

3.1.8

  • Fixed: The dropdown closes when scrolling content in it on mobile.
  • Fixed: The toobarFixedTopOffset option does not work on mobile.
  • Fixed: The formatting setting does not work if there are multiple editors on the page.
  • Fixed: Fixing the toolbar does not work correctly if the fixed target layer has content in front of the editor.
  • Fixed: When inserting the form, the url in the action attribute and in the images inside the form is wrapped in links.
  • Fixed: In some cases the code inside script tags replaced by html entities.
  • Fixed: HTML comments are being moved outside of tables if they are not within a td tag
  • Fixed: In Firefox and in the empty editor if to apply formatting (eg Heading), the text comes out of the tag
  • Improved: Pasting from Google Docs especially bold and italic content.

3.1.7

  • Fixed: If the imageFigure setting is off, the image in the paragraph is not correctly formatted.
  • Fixed: Some issues when editing tables in MS Edge (Please update the table plugin too).
  • Fixed: Some bugs when inserting numbered and unnumbered lists from MS Word.
  • Fixed: If inserting url into an empty editor and press enter, it continues as a link on a new line.
  • Fixed: Html comments wrap to paragraphs.
  • Fixed: Inserting vimeo embed results in an error (Please update the video plugin too).
  • Fixed: Incorrect positioning of the contextbar when clicking on the image, if the maxHeight setting is enabled.
  • Fixed: If the toolbarFixedTopOffset option is specified, it is not reset in fullscreen mode.
  • Fixed: When the direction setting is "rtl", the textdirection plugin does not set certain paragraphs to LTR (Please update the textdirection plugin too).
  • Fixed: Output content has technical classes for variable plugin.

3.1.6

  • Fixed: Formatting issues for bold, italic, etc in MS Edge.
  • Fixed: Cannot edit text in a table in MS Edge.
  • Fixed: Copy and paste variable.
  • Fixed: When the destroy method is called, the dropdown is not removed from the page.
  • Improved: Now when you press the up or left arrow, and an image or line are selected, a new paragraph is created on top of the element.

3.1.5

  • Fixed: Page scroll freezes when switching to html mode and scrolling to the bottom of the page.
  • Fixed: If using the widget plugin, youtube embed video is added as a video, and not as a widget.
  • Fixed: Sometimes when inserting one line of text appears extra br.
  • Fixed: When trying to link to internal entries inside a table.
  • Fixed: Figcaption is not centered when positioning the image to the center.
  • Fixed: If the toolbar has a fixed top offset, then the dropdown overlaps the buttons.
  • Added: The notranslate setting that disables Google Translate to translate content of editor.

3.1.4

  • Fixed: If all text is selected bold, italic, and another inline formatting does not effect.
  • Fixed: The image resizer z-index is not being set correctly in Bootstrap modals.
  • Fixed: Undo/redo for shortcuts (like ctrl+b, ctrl+i etc) does not work correctly.
  • Fixed: IE Edge have issue when text is pasted into Redactor.

3.1.3

  • Fixed: Sometimes the inserting link is not work in the empty editor.
  • Fixed: The link insertion is work incorrect if the paragraph is empty or it is at the end of the editor.
  • Fixed: The href attribute of the inserted link applied to all links in the list.

3.1.2

  • Fixed: After cancelling click-to-edit from edit mode and clicking to edit again, components aren't selectable and editable (i.e. images).
  • Fixed: On small screens, the toolbar dropdown goes beyond the screen.
  • Fixed: If Redactor has a target overflow, then at some actions in the modal window, the scrolling goes top.
  • Fixed: If all the text is selected, then the home & end keys (Windows) cause the text to be deleted.
  • Fixed: The imageCaption: false option doesn't currently work.
  • Fixed: The attribute target for image link gets "true" value instead of "_blank".
  • Fixed: In some cases, resizing for small images does not work correctly.
  • Fixed: The Fullscreen plugin incorrectly calculates the height of the edited area (Please, update the fullscreen plugin).
  • Fixed: If JSON of the uploaded file or image contains additional data, then the insert callback is triggered many times.
  • Fixed: Tooltips of the toolbar's button are not removed from the page when the editor is destroyed.
  • Added: the imageLink option allows to turn off the link field in the edit image modal.
  • Added: Ability to take the editor instance from an array $R.app by uuid.

3.1.1

  • Fixed: In some cases, inline tags are wrapped in tags again, instead of applying inline style, attributes and other formats.
  • Fixed: The issue with work arrow keys when after the list item there is an empty item.
  • Fixed: Sometimes contextbar don't scroll with the rest of the content inside fixed or absolute positioned layer.
  • Fixed: The issue of creating lists in the table (Please, update the table plugin).
  • Fixed: Pasting images from Clipboard.
  • Fixed: The issue with indent/outdent when the editor is in the ul/ol lists.
  • Fixed: The air toolbar goes out of the screen when the text is selected on the right of content.
  • Fixed: In some cases, Redactor has error if the order of the toolbar buttons is changed.
  • Fixed: The position of the table plugin button does not change.
  • Fixed: The dragUpload config does not turn off drag and drop.
  • Fixed: The issue when the toolbar has incorrect offset with the toolbarFixedTopOffset config.
  • Fixed: If the direction of text is RTL does not need to remove left-align style in the alignment plugin (Please, update the alignment plugin).
  • Improved: Adding a paragraph below the table or image, with a click at the bottom of content.
  • Improved: After uploading multiple files at once, now each file link has a space at the end to separate links in the text.
  • Improved: The new regex for inserting different vimeo urls.

3.1

  • Fixed: Pressing the tab key with the tabKey setting turned off does not move the focus from Redactor.
  • Fixed: The imageUploadParam options has no effect when the image uploaded.
  • Fixed: The Counter plugin has incorrect methods in the stop function (Please, update the counter plugin).
  • Fixed: The limiter plugin allows to paste more characters than specified (Please, update the limiter plugin).
  • Fixed: The destroy method removes events from all editors and their toolbars on the page.
  • Fixed: The blur callback fires in Redactor modal windows.
  • Fixed: There is a bug when parsing the link to the video, if the video plugin does not connected on the page.
  • Fixed: The issue of creating new line on enter if there is a link at the end of line.
  • Fixed: Some issues with formatting ol/ul lists especially on pressing delete.
  • Fixed: If you upload an image and then immediately insert a video then the image is replaced by the video.

3.0.11

  • Fixed: Pressing the arrow keys deletes all content if it was selected with ctrl+a.
  • Improved: Performance optimization.
  • Improved: Working with lists in the table.
  • Improved: The third parameter which passes an array of files to upload.start callback, please see the docs.

3.0.10

  • Fixed: Autoparsing links when figure or image is inside an a tag.
  • Fixed: Issue with the embedded data of Facebook, Instagram, and Twitter when switching to source code and back to visual mode.
  • Improved: Inserting html5 video with the Video plugin (please, update the video plugin too).

3.0.9

  • Fixed: Sometimes new lines are ignored in the inserted plain-text.
  • Fixed: When you select all the content and start typing, the new text gets the style of the first content element, that was deleted.
  • Fixed: Shift+Enter does not work inside the table.
  • Fixed: The table plugin does not work on the page with prototype.js (You do not need to update the plugin).
  • Fixed: The issue with inserting two links one by one.
  • Fixed: The limiter plugin allows to paste the content limitless (Please, update the plugin too).
  • Fixed: The bug in JSON parsing for the imagemanager plugin (Please, update the plugin).
  • Fixed: Zero-width space removes in the output code.
  • Fixed: The new lines do not remove if the output code is empty.
  • Improved: Inserting lists from MS Word.
  • Improved: Get objects as a setting in data attribute of initial Redactor's element.

3.0.8

  • Fixed: Some issues when the toolbar is turned off.
  • Fixed: The name attribute of textarea removes when Redactor is destroyed.
  • Fixed: Image wraps the next widget if it gets the float position.
  • Fixed: The combination of clickToEdit and enableReadOnly doesn't work as expected.
  • Improved: Work with empty paragraphs.

3.0.7

  • Fixed: Issue with parsing links in the pasted content.
  • Fixed: Issue with bold/unbold if the text has a bracket.
  • Fixed: Consecutive dollar signs remove from the content when Redactor starts.
  • Fixed: Pasted link in the empty editor is wrapping around everything after that.
  • Fixed: Blur callback is triggered when clicking a link in the context bar.
  • Fixed: If all content is deleted in inline mode, then the paragraph tag is added.
  • Fixed: Some issues when Redactor initialized in the inline mode.
  • Fixed: An unwanted symbol appears when pressing enter if the encoding is not utf.
  • Fixed: Issue with input focus when Redactor is in Bootstrap's modal.
  • Fixed: Issue when editing a link the word breaks around the caret.
  • Fixed: The image float position doesn't save in the output code.
  • Improved: Polyfill for array.prototype.map.
  • New: The grammarly setting to turn off Grammarly spell check for Redactor.
  • New: Now imagePosition option can get the object with float classes as the argument.

3.0.6

  • Fixed: toggle issue between bold/unbold

3.0.5

  • Fixed: In some cases image getting uneditable after applying for floating position.
  • Fixed: Sometimes on dragging the image to top or bottom, the other image is getting broken.
  • Fixed: The first key press is not updating the textarea and thus not updating when saving.
  • Fixed: In some cases, the image is deleted if the selected text was deleted under it.
  • Fixed: Sometimes the image resizer and the context menu are not hidden.
  • Fixed: Table plugin issue if Redactor inside the table.
  • Fixed: Some enhancements for Imagemanager plugin (please update the plugin too).
  • Fixed: Issue with underline formatting.
  • Fixed: Issue when https changes to http, and http adds to the email when inserting a link.
  • Fixed: the multipleUpload options with "false" doesn't remove the multiple attribute from upload field.
  • Fixed: the removeNewLines option removes spaces between words after pasting.
  • Fixed: In some cases style attribute removes from td/th tags.
  • Improved: Inline formatting especially for font color and size.
  • Improved: Hungarian, Polish, Slovak, and Czech translations

3.0.4

  • Fixed: If you specify another language (not English), then in the plugins some language variables will not be visible.
  • Fixed: Spans with a style attribute are removed from the headings when backspace or delete key is pressed.
  • Improved: backspace key behavior in the lists.
  • Improved: imageUpload custom function with promises for asynchronous work (please see the docs).

3.0.3

  • Fixed: Sometimes autoparse callback doesn't work.
  • Fixed: Enter button does not add a new line in between two images.
  • Fixed: Underlined icon on the toolbar is not highlighted when text is underlined.
  • Fixed: Placeholder does not disappear when ul/ol inserted in the empty editor.
  • Fixed: Embedded code of tweets is not correct in output HTML of Redactor.
  • Fixed: If the line of text is selected with a triple click and format, then the content below is also formatted.
  • Fixed: The source.setCode method puts focus on Redactor, although it does not need to do this.
  • Improved: Set fonts to the Fontfamily plugin from options (eg. fontfamily: ['PT Serif', 'PT Sans', 'Monospace']). Please update the plugin too.
  • Added: The new setting imageFigure allows to turn off wrapping images with figure tag.
  • Added: Slovenian translation

3.0.2

  • Fixed: Browser (Chrome) crashes when clicking the right mouse button in the table.
  • Fixed: Issue when an image's caption has a link.
  • Fixed: In some cases the Air toolbar is not shown when text is selected.
  • Fixed: Shortcut for underline doesn't work with Cmd-U.
  • Fixed: API method disableReadOnly is not working.

3.0.1

  • Fixed: Issue when pasting the string with double backslash.
  • Fixed: Pasting lists and improved the clean for the pasted content from MS Word.
  • Fixed: Add z-index variables in the variables.scss
  • Improved: The plugin translation, please see: How to create a translation for a plugin.

3.0

1. The new architecture is for us a work of art and a special pride. Yes, we know that moving from the old API to the new one is not easy for you, but believe us, new opportunities compensate for your inconvenience. And we prepared a guide for the upgrading from the second version to the third.

2. jQuery-free, but you can use it with jQuery if you want to.

3. Improved drag-n-drop for images and texts inside the editor.

4. It's even easier to make your plugins, because of new API features, new modal windows, a new contextbar, a message system between the modules and a whole bunch of things.

5. A full-fledged breakline mode (markup with br) and the ability to markup with div tags.

6. Setting classes, styles, and attributes for any tags, including block tags, is vital for those who need to create emails in Redactor.

7. Shortcodes, type "h1." at the beginning of the paragraph, press space key and formatting takes place. If you write "p." then the heading will become a paragraph.

8. Now there are widgets. With widgets, it's easy to add any HTML code or interactive elements like google maps, tweets, instagram, etc. to the text.

9. Full formatting is available inside the tables. Many people asked about this.

10. Statusbar at the bottom of the editor, allows you to display additional information using plugins.

11. One toolbar for multiple editors on the page right out of the box.

12. Nineteen completely redesigned plugins and several new ones: Widget (to add snippets, embed code, tweets etc.), Variable (create and use variables as non-editable things in the content).

13. Not editable elements or blocks of text for creating templates in your content or for making other useful things.