Skip to content

Releases: udecode/plate

@udecode/plate-utils@46.0.2

02 Mar 14:03
d10e161
Compare
Choose a tag to compare
@udecode/plate-utils@46.0.2

@udecode/plate-suggestion@46.0.1

02 Mar 13:22
74beca0
Compare
Choose a tag to compare

Patch Changes

  • #4124 by @felixfeng33 – Fix diffToSuggestions to adapt to the new suggestion structure.

@udecode/plate-core@46.0.2

02 Mar 14:03
d10e161
Compare
Choose a tag to compare

Patch Changes

  • 50338ca by @zbeyens – Fix error throwing after a large amount of nodes/re-rendering

@udecode/plate-code-block@46.0.0

02 Mar 07:06
1b2a504
Compare
Choose a tag to compare

Major Changes

  • #4122 by @zbeyens – Migrated from prismjs to highlight.js + lowlight for syntax highlighting.

    • Fix highlighting multi-lines tokens. Before, line tokens were computed line by line. Now, it's computed once for the whole block.
    • Bundle size much lower.
    • CodeBlockPlugin: remove prism option. Use lowlight option instead:
    import { all, createLowlight } from 'lowlight';
    
    const lowlight = createLowlight(all);
    
    CodeBlockPlugin.configure({
      options: {
        lowlight,
      },
    });
    • New option: defaultLanguage
    • Remove syntax option. Just omit lowlight option to disable syntax highlighting.
    • Remove syntaxPopularFirst option. Control this behavior in your own components.
    • Fix pasting code inside code blocks.
    • Remove useCodeBlockCombobox, useCodeBlockElement, useCodeSyntaxLeaf, useToggleCodeBlockButton. The logic has been moved to the components.

@udecode/plate-basic-elements@46.0.0

02 Mar 07:06
1b2a504
Compare
Choose a tag to compare
@udecode/plate-basic-elements@46.0.0

@udecode/plate-selection@45.1.0

27 Feb 18:41
9b1cc8b
Compare
Choose a tag to compare

Minor Changes

  • #4118 by @zbeyens
    • Fix block selection when pasting blocks
    • Block selection > Backspace now selects the previous block
    • Block selection > Delete now selects the next block

@udecode/plate-ai@45.1.0

27 Feb 18:41
9b1cc8b
Compare
Choose a tag to compare
@udecode/plate-ai@45.1.0

@udecode/plate@45.0.9

26 Feb 19:43
f3afaca
Compare
Choose a tag to compare
@udecode/plate@45.0.9

@udecode/plate@45.0.8

26 Feb 06:38
d9e253f
Compare
Choose a tag to compare
@udecode/plate@45.0.8

@udecode/plate@45.0.7

26 Feb 05:49
6bc2001
Compare
Choose a tag to compare
@udecode/plate@45.0.7