v0.11.0
v0.11.0 (2023-05-23)
Arguably no major new features but this version comes with substantial bugfixes! Most notably:
- Proper support for tabs
- Remove redundant spaces on paste
- Revised triple click heuristics
- Fixed NodeSelection clicks on Android
- Revised deletion heuristics style retention
- Revised
createRectsFromDOMRange
for Mark-like plugins
(you can read more on these on the changelog below)
LexicalContextMenu (experimental)
While we strongly advocate for a11y and features that work across devices, there is significant demand for desktop users to have access to tooling via the right click. UX-wise, they're very familiar with it as it's common within other editors such as the well-known Google Docs, Pages and Microsoft Word and it's also the fastest.
LexicalContextMenu is a WIP and not ready for production but the prototype is already live in the Playground under a feature flag (see the gear on the bottom left to enable it /?shouldUseLexicalContextMenu=true
)
Changelog
- Change
MarkNode::clone
node
arg type tothis
by @potomak in #4363 - Fall back to url if parser fails by @acywatson in #4364
- Inherit format for text entity node by @fantactuka in #4382
- Collapsible enhancements by @fantactuka in #4257
- Improve responsiveness of the floating text format toolbar buttons by @ChronicLynx in #4298
- Setting initial state of isSmallWidthViewport by @ebads67 in #4398
- Make DecoratorBlockNode.isInline return false by @EgonBolton in #4383
- Add docs for list package by @acywatson in #4393
- Flow table bg color types by @zurfyx in #4400
- Use provided selection when serializing to HTML by @acywatson in #4392
- Fix markdown list merging by @acywatson in #4387
- Fix list merging by @acywatson in #4386
- Optional colrowSpan serialization by @zurfyx in #4344
- Split test files and skip flaky tests in linux + collab by @acywatson in #4394
- Fix HistoryPlugin selection out of sync by @zurfyx in #4390
- Remove unused styles by @thorn0 in #4426
- simplify logic for the fix "Improve responsiveness of the floating text format toolbar buttons" by @AlessioGr in #4431
- Updated Toolbar Plugin to Add keyboard shortcut for adding hyperlinks by @AnuragBalhra in #4413
- Fix text click selection on touch devices #3098 by @IBastawisi in #4395
- Allow to pass all possible attributes to a content editable div by @kazimirchuk in #4450
- Revisit touch devices by @zurfyx in #4441
- fix: attach event listeners to initial nodes by @OriginalEXE in #4454
- Disable flaky test by @zurfyx in #4455
- Add documentation for TabIndentationPlugin by @mrPaintMan in #4453
- Select all adjustments by @fantactuka in #4425
- Handle empty element deletion by @fantactuka in #4380
- Tab support by @zurfyx in #4436
- Event delegation for NoteEventPlugin by @fantactuka in #4424
- Generalize Menu Logic by @tylerjbainbridge in #4284
- Sanitize floatingLinkEditor by @acywatson in #4462
- Improve rect deduplication by @acywatson in #4471
- Tests for inserting text either side of an inline element by @shirakaba in #4346
- exportDOM methods for HeadingNode, QuoteNode by @ivailop7 in #4445
- Sanitize url by @acywatson in #4483
- Add text/uri-list support in clipboard. by @xinyuan0801 in #4478
- Fix Flow types by @zurfyx in #4485
- TypeAheadMenu and TableActionMenu rendered off screen fixed. by @Shubhankerism in #4301
- Fix GC memory leak by @zurfyx in #4510
- Adjust selection after triple click by @fantactuka in #4512
- Fix GC memory leak (2) by @zurfyx in #4513
- Make tabs flexible in code by @zurfyx in #4520
- Allow arbitrary awareness fields in Collaboration plugin by @attnov in #4507
- Fix clickable link plugin #4514 by @fantactuka in #4519
- Add HTML deserialization recipe to docs by @ivailop7 in #4432
- Allow importing width and height from table cell and DOM nodes by @GMchris in #4521
- Basic Context Menu (behind Switch) by @tylerjbainbridge in #4285
- Auto embed fix #4530 by @fantactuka in #4535
- Tame wild white spaces by @zurfyx in #4467
- v0.11.0 by @zurfyx in #4539
New Contributors (since v0.9.1)
- @khanakia made their first contribution in #4209
- @donotlb made their first contribution in #4192
- @nemophrost made their first contribution in #4216
- @howlowck made their first contribution in #4229
- @bencarletonn made their first contribution in #4237
- @yjhtry made their first contribution in #4263
- @aleksandr-kiliushin made their first contribution in #4277
- @umaranis made their first contribution in #4310
- @MohitSinghChauhan made their first contribution in #4318
- @potomak made their first contribution in #4363
- @thorn0 made their first contribution in #4426
- @AnuragBalhra made their first contribution in #4413
- @IBastawisi made their first contribution in #4395
- @kazimirchuk made their first contribution in #4450
- @OriginalEXE made their first contribution in #4454
- @mrPaintMan made their first contribution in #4453
- @shirakaba made their first contribution in #4346
- @xinyuan0801 made their first contribution in #4478
- @Shubhankerism made their first contribution in #4301
- @attnov made their first contribution in #4507
- @GMchris made their first contribution in #4521
Full Changelog: v0.10.0...v0.11.0