Releases: basecamp/trix
Releases · basecamp/trix
0.10.1
- Improve handling of URL pastes in Safari (6754f6c, #340)
- Improve performance when inserting multiple files (#355)
- Fix that
editor.attributeIsActive
returned true for disabled attributes (d0aa940, #356) - Fix that document edits in a
trix-attachment-add
event handler would dispatch a secondtrix-attachment-add
(90c1c02, #363) - Avoid contenteditable bug in Firefox that could result in duplicated
<trix-editor>
s (44b4023, #360)
0.10.0
0.9.10
- Fix error when using the Editor API on an unfocused
<trix-editor>
(9099152) - Fix setting selection after a nested block element (#312)
- Fix setting selection after pressing return in an attachment caption (433b63d)
- Fix HTML parsing edge cases in Safari and MS* (be75a2d, 778f4d8)
- Fix serializing HTML after composition events (#325)
- Fix deleting formatted words with option+backspace (#339)
- Fix inserting newlines in list items with shift+return in Safari (5b65727)
- Fix applying code formatting to multiline selections (46f18c7)
- Fix occasional console warning after inserting image attachments (#341, 4a592e8)
- Ensure
trix-change
event fires and HTML is serialized when toggling attributes (#317) - Ensure
trix-focus
andtrix-blur
events are dispatched in the correct order (3a9eb43) - Improve composition event handling on older Android versions (#323)
0.9.9
- Add support for heading tags (#263)
- Add
terminal
,breakOnReturn
, andgroup
block config options (#263) - Fix an input issue on Android with newer versions of Google Keyboard (97413bc)
- Redefine behavior of
nestable
block attribute (#294) - Improve behavior when backspacing into a formatted block from a block with a leading newline (#301)
- Prevent invalid HTML from being inserted into code blocks by making code blocks
terminal
(5e7233b)
0.9.8
0.9.7
0.9.6
- Optimized SVG toolbar icons (#168)
- Allow adding captions to attachments with no filename (#197)
- Changed
<trix-toolbar>
data attributes fromdata-*
todata-trix-*
to avoid conflicts with other libraries (#197) - Improved parsing insignificant whitespace-only text nodes (#210, #220)
- Fixed selection error when clicking some input elements in Firefox (#215)
- Fixed that interacting with toolbar dialogs could scroll the page (061a025)
- Eliminated rendering unnecessary non-breaking spaces (#224)
0.9.5
- Fixed occasional incorrect cursor position after
Composition#replaceHTML
(#161) - Fixed cursor position after composition events in Firefox (#164)
- Fixed cursor position when breaking formatted block after newline at offset 0 (#153)
- Fixed that
trix-selection-change
was dispatched to all<trix-editor>
s (#144) - Fixed handling pastes in browsers that don't support
ClipboardEvent.clipboardData
(#158) - Improved support for multiple input elements in toolbar dialogs (#159)
- Improved parsing bold elements (#142)
- Improved parsing text in block elements with the same styling (#163)
- Improved parsing newlines in non-preformatted elements (#151)
- Removed global test helpers to eliminate false-positive test runs (#137)