Skip to content

Bump @lexical/html from 0.11.2 to 0.30.0 #4735

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 14, 2025

Bumps @lexical/html from 0.11.2 to 0.30.0.

Release notes

Sourced from @​lexical/html's releases.

v0.30.0

Breaking Changes

Listeners are now always called with the editor they were registered to

#7378 changed the internal updateEditorSync implementation to always use the correct active editor when triggering a listener. This only affects how nested editors delegate their events to listeners attached to a parent editor. If you have listeners attached to the parent editor that expect to be called with the context of the nested editor then you'll have to either also attach the listener to the nested editor, or change the behavior to check the editor argument of the command listener to see which editor the command was originally dispatched to.

Import of markdown blocks preserves separation with shouldPreserveNewLines

#7386 changed the behavior of the markdown import's paragraph merging logic to align with GitHub's markdown editor behavior for list and common markdown formatting expectations when shouldPreserveNewlines is true.

Markdown encoding uses HTML entities to represent leading and trailing whitespace

#7400 changed the markdown encoder to replace leading or trailing whitespace of formatted strings with the corresponding HTML entities

Highlights

Core

  • #7378 Ensure updateEditorSync is always synchronous and use it when triggering listeners
  • #7393 Fix right and up arrow key navigation with decorator nodes
  • #7401 Clone the selection and use $setSelection instead of assigning dirty to true directly
  • #7397 Change $getTextNodeOffset invariant to warn in prod (error in __DEV__)
  • #7412 Fix forward line deletion when using control+K
  • 🆕 #7438 Add text-transform styles to exported HTML

Rich Text

  • #7411 Prevent indentation from becoming negative

Collab

  • #7330 Don't sync ElementNode __dir property
  • #7398 Fix scroll position getting changed when someone else makes a change in collab

Markdown

  • #7386 Preserve paragraph separation after block elements
  • #7395 Prevent Markdown shortcuts from applying to code-formatted text
  • #7400 Replace whitespace with code point when the string has leading and trailing whitespaces

List

  • #7380 Empty list item type change
  • #7420 Enforce strict list indentation
  • 🆕 #7429 Export registerCheckList

Link

  • #7366 Add support for image links via NodeSelection

... (truncated)

Changelog

Sourced from @​lexical/html's changelog.

v0.30.0 (2025-04-07)

  • lexical Feature Add text-transform styles to exported HTML (#7438) Kiran Dash
  • Breaking Change Chore Improve spelling consistency across codebase (#7437) Kiran Dash
  • lexical-playground Bug Fix Immediate broken image display on load failure (#7431) Kiran Dash
  • lexical-list Feature Enforce strict list indentation (#7420) SeungHwan-Lee
  • lexical-playground Bug clear formatting should also clear any indentoutdent if applied (#7417) Harshkumar Metkel
  • lexical-table Refactor Rename and deprecate some table utils (#7415) Daniel Teo
  • lexical-table Feature Improve logic for pasting table into table (#7408) Daniel Teo
  • lexical-rich-text Bug Fix Prevent indentation from becoming negative (#7411) Daniel Teo
  • lexical Bug Fix Fix forward line deletion when using controlK (#7412) Daniel Teo
  • lexical-playground Bug Fix Floating toolbar position for end-aligned text (#7405) Kiran Dash
  • lexical Chore Change getTextNodeOffset invariant to warn in prod (error in DEV) (#7397) Bob Ippolito
  • lexical-react Feature Add option to disable first item auto-selection in menus (#7404) Kiran Dash
  • lexical-devtools-core Bug Fix Update debug view to show KEYESCAPECOMMAND immediately (#7403) Kiran Dash
  • Bug Fix Clone a node and use setSelection instead of assigning dirty to true directly. (#7401) Yuncheng Lu
  • RFClexical-markdown Replace whitespace with code point when the string has leading and trailing whitespaces (#7400) Yuncheng Lu
  • lexical-yjs Bug Fix Fix scroll position getting changed when someone else makes a change in collab (#7398) Aman Harwara
  • lexical-markdown Bug Fix Prevent Markdown shortcuts from applying to code-formatted text (#7395) Daniel Teo
  • lexical-rich-text Bug Fix Fix right and up arrow key navigation with decorator nodes (#7393) Kiran Dash
  • lexical-yjs Bug Fix dont sync ElementNode dir property (#7330) James Fitzsimmons
  • lexical-linklexical-playground Feature Add support for image links via NodeSelection (#7366) Kiran Dash
  • Breaking Changelexical-markdown Bug Fix Preserve paragraph separation after block elements (#7386) Kiran Dash
  • lexical-playground Bug Fix Use natural dimensions for inherited image size (#7388) Kiran Dash
  • lexical-playground Feature clear blockelement formatting along with textNode (#7384) Harshkumar Metkel
  • update codeowners (#7389) Sherry
  • Update dependencies vite,babelruntime,prismjs,babelhelpers (#7381) Yuncheng Lu
  • Breaking Changelexical Bug Fix Ensure updateEditorSync is always synchronous and use it when triggering listeners (#7378) Bob Ippolito
  • lexical-list Bug Fix empty list item type change (#7380) Maksim Horbachevsky
  • lexical-playground Chore Remove shared imports from playground (#7368) Bob Ippolito
  • tests Update next version (#7374) Yuncheng Lu
  • v0.29.0 (#7375) Yuncheng Lu
  • v0.29.0 Lexical GitHub Actions Bot

v0.29.0 (2025-03-24)

  • Breaking Changelexical-tablelexical-playground Bug Fix Set tableFrozenColumn and tableFrozenRow classes only on the scrollable table wrapper (#7372) Bob Ippolito
  • lexical Bug Fix Ignore input event from inside decorators (#7354) Bob Ippolito
  • Breaking Changelexical-react Refactor LexicalNestedComposer add skipEditableListener prop and deprecate initialNodes prop and implicit namespace setting (#7357) Bob Ippolito
  • lexical-playground Bug Fix Fix equation rendering in Safari (#7362) Kiran Dash
  • Update react.md, fix typo (#7365) Bohdan Ptyts
  • lexical-table Bug Fix Add fallback selection to InsertTableCommand (#7316) Patrick Moody
  • Breaking Changelexical-markdown Feature Support escaping markdown characters (#7353) Alessio Gravili
  • lexical-playground Bug Fix Table action menu visibility with cell overflow (#7334) Kiran Dash
  • Breaking Changelexical Bug Fix Only select RootNode on removal of last child if there was an existing selection (#7351) Bob Ippolito
  • lexical-playground Chore Improve accessibility of DraggableBlockPlugin add block button (#7352) Bob Ippolito
  • v0.28.0 (#7348) Bob Ippolito
  • v0.28.0 Lexical GitHub Actions Bot

v0.28.0 (2025-03-18)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@lexical/html](https://github.com/facebook/lexical/tree/HEAD/packages/lexical-html) from 0.11.2 to 0.30.0.
- [Release notes](https://github.com/facebook/lexical/releases)
- [Changelog](https://github.com/facebook/lexical/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/lexical/commits/v0.30.0/packages/lexical-html)

---
updated-dependencies:
- dependency-name: "@lexical/html"
  dependency-version: 0.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the no-jira label Apr 14, 2025
@dependabot dependabot bot requested a review from a team as a code owner April 14, 2025 07:44
Copy link

changeset-bot bot commented Apr 14, 2025

⚠️ No Changeset found

Latest commit: ded3204

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vedrani
Copy link
Contributor

vedrani commented Apr 25, 2025

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 25, 2025

Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant