github udecode/plate @platejs/link@49.1.1

latest releases: @platejs/dnd@49.2.22, @platejs/core@49.2.21, @platejs/slate@49.2.21...
2 months ago

Patch Changes

  • #4452 by @zbeyens – Fix markdown headings being incorrectly converted to links

    The LinkPlugin's validateUrl function now properly distinguishes between markdown headings and anchor links. Previously, any string starting with # was treated as a valid link, causing markdown headings like # heading1 to be converted to links when pasted. Now, the function checks for the markdown heading pattern (hash symbols followed by a space) and correctly rejects these as invalid URLs while still allowing valid anchor links like #section-name.

Don't miss a new plate release

NewReleases is sending notifications on new releases.