Skip to content

Releases: udecode/plate

@udecode/plate@45.0.1

19 Feb 01:45
e764d84
Compare
Choose a tag to compare
@udecode/plate@45.0.1

@udecode/plate-utils@45.0.1

19 Feb 01:45
e764d84
Compare
Choose a tag to compare
@udecode/plate-utils@45.0.1

@udecode/plate-table@45.0.0

19 Feb 00:43
91f7702
Compare
Choose a tag to compare

Minor Changes

@udecode/plate-suggestion@45.0.0

19 Feb 00:43
91f7702
Compare
Choose a tag to compare

Major Changes

  • #4064 by @felixfeng33 – Note: This plugin is currently in an experimental phase and breaking changes may be introduced without a major version bump.

    • Add Suggestion UI
    • Remove: findSuggestionNode use findSuggestionProps.ts instead
    • Remove addSuggestionMark.ts
    • Remove useHooksSuggestion.ts as we've updated the activeId logic to no longer depend on useEditorSelector

@udecode/plate-docx@45.0.0

19 Feb 00:43
91f7702
Compare
Choose a tag to compare
@udecode/plate-docx@45.0.0

@udecode/plate-csv@45.0.0

19 Feb 00:43
91f7702
Compare
Choose a tag to compare
@udecode/plate-csv@45.0.0

@udecode/plate-core@45.0.1

19 Feb 01:45
e764d84
Compare
Choose a tag to compare

Patch Changes

@udecode/plate-comments@45.0.0

19 Feb 00:43
91f7702
Compare
Choose a tag to compare

Major Changes

  • #4064 by @felixfeng33 – This is a rewrite of the comments plugin removing UI logic (headless).

    Plugin Options

    • Removed configuration options from plugin options in favor of component-level control:
      • options.comments
      • options.myUserId
      • options.users

    Components

    • Removed legacy components:
      • CommentDeleteButton
      • CommentEditActions
      • CommentEditButton
      • CommentEditCancelButton
      • CommentEditSaveButton
      • CommentEditTextarea
      • CommentNewSubmitButton
      • CommentNewTextarea
      • CommentResolveButton
      • CommentsPositioner
      • CommentUserName

    API

    • Removed functions in favor of new API methods:
      • findCommentNodeapi.comment.node()
      • findCommentNodeByIdapi.comment.node({ id })
      • getCommentNodeEntriesapi.comment.nodes()
      • getCommentNodesByIdapi.comment.nodes({ id })
      • removeCommentMarktf.comment.remove()
      • unsetCommentNodesByIdtf.comment.unsetMark({ id })
    • Removed unused functions:
      • getCommentFragment
      • getCommentUrl
      • getElementAbsolutePosition
      • getCommentPosition
    • Updated getCommentCount to exclude draft comments

    State Management

    • Removed CommentProvider - users should implement their own state management – block-discussion.tsx
    • Moved useHooksComments to UI registry – comments-plugin.tsx
    • Removed hooks no longer needed with new UI:
      • useActiveCommentNode
      • useCommentsResolved
      • useCommentAddButton
      • useCommentItemContent
      • useCommentLeaf
      • useCommentsShowResolvedButton
      • useFloatingCommentsContentState
      • useFloatingCommentsState

    Types

    • Removed CommentUser
    • Moved TComment to UI registry – comment.tsx

@udecode/plate-basic-marks@45.0.0

19 Feb 00:43
91f7702
Compare
Choose a tag to compare

Patch Changes

@udecode/plate@44.0.7

18 Feb 13:27
b99092a
Compare
Choose a tag to compare
@udecode/plate@44.0.7