Skip to content

Releases: udecode/plate

@udecode/[email protected]

13 Jan 02:44
fefc6f4

Choose a tag to compare

@udecode/[email protected]

13 Jan 02:57
dbd03ca

Choose a tag to compare

@udecode/[email protected]

13 Jan 02:44
fefc6f4

Choose a tag to compare

@udecode/[email protected]

13 Jan 02:44
fefc6f4

Choose a tag to compare

@udecode/[email protected]

13 Jan 02:44
fefc6f4

Choose a tag to compare

Patch Changes

  • #3952 by @zbeyens
    • Fix: after deleting all blocks using block selection, focus the empty editor.
    • Feature: shift+up/down block selection to expand/shrink selection. Supports nested blocks.
    • Feature: up/down support nested blocks

@udecode/[email protected]

13 Jan 02:44
fefc6f4

Choose a tag to compare

Patch Changes

  • #3952 by @zbeyens
    • editor.api.markdown.deserialize:
      • Improve support for indented lists: nested lists, mixed ordered and unordered lists
      • Fix: markdown codeblock without language should not set lang: undefined to the node
      • Add options:
        • memoize: Enable block-level memoization with _memo property, so it is compatible with PlateStatic memoization.
        • parse: Filter out specific markdown token types (e.g. 'space')
        • processor: Customize the markdown processor
    • Add parseMarkdownBlocks: Extract and filter markdown tokens using marked lexer
    • Fix editor.api.markdown.serialize indenting should be 3 spaces instead of 2.

@udecode/[email protected]

13 Jan 02:57
dbd03ca

Choose a tag to compare

Patch Changes

@udecode/[email protected]

13 Jan 02:44
fefc6f4

Choose a tag to compare

Patch Changes

  • #3952 by @zbeyens
    • Fix tf.reset missing options argument. Fixes editor reset on select all > backspace using ResetNodePlugin.
    • PlateStatic element and leaf rendering is now memoized with React.memo so you can safely update editor.children. For elements, it compares the element reference or element._memo value. The latter can be used to memoize based on the markdown string instead of the element reference. For example, deserializeMd with memoize: true will set element._memo for that purpose.

@udecode/[email protected]

13 Jan 02:44
fefc6f4

Choose a tag to compare

Patch Changes

  • #3952 by @zbeyens
    • Fix insertComment - it should not deselect the editor after inserting a comment.

@udecode/[email protected]

13 Jan 02:44
fefc6f4

Choose a tag to compare

Patch Changes

  • #3952 by @zbeyens – Breaking changes (experimental):

    • AIChatPlugin: Remove createAIEditor option
    • Fix editor.tf.replaceSelection:
      • Improved single block selection case with full range check
      • Fixed text properties inheritance when replacing selection
      • In block selection mode, select the replaced blocks
    • Add useAIChatEditor: Creates an editor, registers in the AI chat plugin, and deserializes the
      content into editor.children with block-level memoization.