Skip to content

Latest commit

 

History

History
947 lines (573 loc) · 25 KB

CHANGELOG.md

File metadata and controls

947 lines (573 loc) · 25 KB

@udecode/plate-link

39.1.9

Patch Changes

  • #3630 by @natamox – Fixed the problem that the LinkFloatingToolbar disappears when clicking anywhere when inserting a link

39.1.7

Patch Changes

39.1.6

Patch Changes

  • #3622 by @zbeyens
    • Fix floating link insert
    • Hide floating link edit when clicking outside

39.1.4

Patch Changes

39.1.1

Patch Changes

39.0.0

38.0.6

Patch Changes

38.0.1

Patch Changes

38.0.0

37.0.3

37.0.0

Major Changes

  • #3420 by @zbeyens
    • createLinkPlugin -> LinkPlugin
    • Move floatingLinkStore to LinkPlugin

36.5.6

36.4.0

Patch Changes

36.3.8

36.3.2

36.3.0

Minor Changes

  • #3389 by @georeith – feat:LinkPlugin new option transformInput: (url: string) => string | undefined; that optionally transform's the submitted URL provided by the user to the URL input before validation.

36.0.0

35.2.0

Patch Changes

  • #3317 by @12joan – Handle unencoded URLs in floating URL input

34.1.1

34.0.6

34.0.1

34.0.0

Patch Changes

33.0.5

Patch Changes

33.0.3

33.0.2

Patch Changes

33.0.0

32.0.0

31.0.0

30.9.4

Patch Changes

  • #3036 by @Zum-Gluck – fix #2526,the url and text not cleaned up in time

30.9.2

Patch Changes

30.5.3

Patch Changes

  • 4cbed7159 by @zbeyens – Move @udecode/plate-common to peerDeps to fix a bug when multiple instances were installed

30.5.2

30.4.5

30.1.2

30.0.0

29.1.0

29.0.1

29.0.0

28.0.0

Patch Changes

  • #2816 by @12joan
    • Replace useEdtiorState with useEditorSelector

27.0.3

27.0.0

Patch Changes

26.0.4

25.0.1

25.0.0

24.5.2

24.5.1

Patch Changes

  • #2705 by @AndreyMarchuk – Fix: "Cannot resolve a DOM node from Slate node" floating link case

24.4.0

Minor Changes

24.3.6

24.3.5

24.3.2

24.3.1

24.3.0

24.2.0

24.0.2

24.0.1

24.0.0

23.7.4

23.7.0

23.6.0

23.5.0

Minor Changes

  • #2585 by @zbeyensLinkFloatingToolbar:

    • soft br: useVirtualFloatingLink removed placement and middleware default values from floating options.
    • refactor: useFloatingLinkEdit and useFloatingLinkEditState
    • refactor: useFloatingLinkInsert and useFloatingLinkInsertState
    • feat: useFloatingLinkInsert return new field: hidden

23.4.0

Patch Changes

  • #2579 by @zbeyens – Add missing dependency @udecode/plate-floating

23.3.1

23.3.0

22.0.2

22.0.1

22.0.0

Major Changes

  • #2471 by @zbeyens – Removed:
    • FloatingLink
    • FloatingLinkEditButton
    • FloatingLinkTextInput
    • UnlinkButton
    • LaunchIcon
    • Link
    • LinkIcon
    • LinkOffIcon
    • ShortTextIcon

Minor Changes

  • #2471 by @zbeyens – New hooks:

    • useLink
    • useLinkToolbarButton
  • #2471 by @zbeyens – New exports:

    • useListToolbarButton
    • useTodoListElement
    • someList

21.5.0

21.4.2

Patch Changes

  • #2453 by @dimaanjLinkPlugin - new option:
    • keepSelectedTextOnPaste: Allow pasting links as urls

21.4.1

21.4.0

Minor Changes

21.3.2

21.3.0

21.2.0

Minor Changes

  • #2405 by @12joan
    • New link plugin option defaultLinkAttributes?: AnchorHTMLAttributes<HTMLAnchorElement>
    • Avoid returning undefined from getLinkAttributes, since this overrides other values

21.1.5

21.0.0

20.7.2

20.7.0

20.4.1

Patch Changes

20.4.0

20.3.2

20.0.0

Major Changes

  • #2240 by @OliverWales
    • Add allowedSchemes plugin option
      • Any URL schemes other than http(s), mailto and tel must be added to allowedSchemes, otherwise they will not be included in links

Minor Changes

  • #2240 by @OliverWales
    • upsertLink:
      • Removed isUrl
      • Added skipValidation
    • Check that URL scheme is valid when:
      • Upserting links
      • Deserializing links from HTL
      • Passing href to nodeProps
      • Rendering the OpenLinkButton in FloatingLink

19.7.0

Patch Changes

19.5.0

19.4.4

19.4.2

19.2.0

19.1.1

19.1.0

19.0.3

19.0.1

19.0.0

18.15.0

18.13.0

Patch Changes

18.11.0

Patch Changes

18.9.1

Patch Changes

18.9.0

Patch Changes

18.8.1

Patch Changes

18.7.0

18.6.0

Patch Changes

  • #1955 by @zbeyens
    • feat:LinkPlugin new option forceSubmit?: boolean. When true and inserting a link, enter key should submit even when url is invalid
    • fix: when inserting a link, enter key should now submit even another key is pressed
    • fix: hotkey to trigger floating link (cmd+k by default) should prevent default

18.2.0

18.1.1

18.1.0

Minor Changes

17.0.3

17.0.2

17.0.1

17.0.0

16.9.1

Patch Changes

  • #1868 by @rawi96
    • upsertLink() Set nodes also if only the link target has changed.

16.9.0

Minor Changes

  • #1865 by @rawi96
    • TLinkElement new optional prop target: allows you to control the link target attribute. Default is undefined (_blank).

16.8.0

16.5.0

16.3.0

16.2.2

Patch Changes

16.2.1

Patch Changes

16.2.0

16.1.0

16.0.2

16.0.0

15.0.5

Patch Changes

  • #1715 by @tmilewski – Fix FloatingLinkUrlInput snapping to the previous location on show and to the bottom of the editor upon clicking outside of the element

15.0.3

15.0.1

Patch Changes

  • #1697 by @zbeyens – fix: copy/paste was blocked by the link plugin. Now it should work when the data is not a url and not inserted into a link

15.0.0

Major Changes

  • #1677 by @zbeyens
    • createLinkPlugin
      • removed onKeyDownLink for floating link
      • removed hotkey for triggerFloatingLinkHotkeys
    • removed:
      • getAndUpsertLink for upsertLink
      • upsertLinkAtSelection for upsertLink
    • LinkToolbarButton:
      • onClick now calls triggerFloatingLink

Minor Changes

Patch Changes

  • #1677 by @zbeyens
    • Fixes #1580
    • Fixes #1542
    • Fixes #1194
    • Fixes #712

14.4.2

14.4.1

Patch Changes

  • #1687 by @davisg123 – Allow the link plugin to optionally specify a custom href for link text

14.4.0

Patch Changes

  • #1685 by @davisg123 – Allow the link plugin to optionally specify a custom href for link text

14.0.2

14.0.0

13.8.0

13.7.0

13.6.0

13.5.0

13.1.0

11.2.1

11.2.0

11.1.0

11.0.6

11.0.5

11.0.4

11.0.3

11.0.2

11.0.1

11.0.0

10.5.3

10.5.2

10.5.0

10.4.2

10.4.1

10.4.0

10.2.2

10.2.1

10.1.2

10.1.1

10.1.0

10.0.0

9.3.1

9.3.0

9.2.1

9.2.0

9.0.0

8.3.0

Patch Changes

  • #1257 by @tjramage
    • fix link upsert on space
    • getPointBefore: will return early if the point before is in another block. Removed multiPaths option as it's not used anymore.

8.1.0

8.0.0

7.0.2

7.0.1

7.0.0

6.4.1

6.4.0

6.3.0

6.2.0

6.1.0

6.0.0

5.3.5

Patch Changes

5.3.1

Patch Changes

5.3.0

Patch Changes

5.1.0

Patch Changes

4.4.0

Patch Changes

4.3.7

Patch Changes

4.3.0

Patch Changes

4.0.0

Minor Changes

3.5.0

Minor Changes

  • #1041 7ab01674 Thanks @aj-foster! - feat(link): Unwrap selected links when pasting a URL. Previously, pasting any text (including a URL) with an existing link selected would insert plain text. With this change, pasting a URL will unwrap any selected links and wrap a new link.

3.4.0

Patch Changes

3.2.0

Minor Changes

Patch Changes

3.1.3

Patch Changes

2.0.0

Patch Changes

1.1.6

Patch Changes

1.0.0

Major Changes

🎉 The Slate Plugins project has evolved to Plate 🎉

To migrate, install @udecode/plate[-x] then find and replace all occurrences of:

  • slate-plugins to plate
  • SlatePlugins to Plate
  • SlatePlugin to PlatePlugin

1.0.0-next.61

This is the last version of @udecode/slate-plugins[-x], please install @udecode/plate[-x].

Patch Changes

1.0.0-next.59

Patch Changes

1.0.0-next.56

Patch Changes

1.0.0-next.55

Patch Changes

1.0.0-next.54

Patch Changes

1.0.0-next.53

Patch Changes

1.0.0-next.46

Patch Changes

1.0.0-next.40

Patch Changes

1.0.0-next.39

Patch Changes

1.0.0-next.37

Patch Changes

1.0.0-next.36

Patch Changes

1.0.0-next.32

Patch Changes

1.0.0-next.30

Patch Changes

1.0.0-next.29

Patch Changes

1.0.0-next.26

Patch Changes