Skip to content

Latest commit

 

History

History
289 lines (179 loc) · 8.95 KB

CHANGELOG.md

File metadata and controls

289 lines (179 loc) · 8.95 KB

@udecode/plate-alignment

7.0.2

7.0.1

7.0.0

Major Changes

  • #1190 by @zbeyens
    • setAlign: option align renamed to value
    • removed getAlignOverrideProps() in favor of getOverrideProps(KEY_ALIGN)

6.4.1

6.4.0

Patch Changes

  • #1184 by @ghingis – now uses getElementOverrideProps / getLeafOverrideProps

6.3.0

6.2.0

6.1.0

6.0.0

Major Changes

  • #1154 by @zbeyens

    • createAlignPlugin:
      • this plugin is no longer wrapping a block, but instead setting an align field to an existing block
      • removed pluginKeys, renderElement and deserialize
    • removed:
      • ELEMENT_ALIGN_LEFT
      • ELEMENT_ALIGN_CENTER
      • ELEMENT_ALIGN_RIGHT
      • ELEMENT_ALIGN_JUSTIFY
      • KEYS_ALIGN in favor of KEY_ALIGN
      • getAlignDeserialize
      • upsertAlign in favor of setAlign

    Migration (normalizer):

    • for each node:
      • run parent = getParent(editor, path), if parent[0].type is one of the alignment values:
        • run setAlign(editor, { align }, { at: path })
        • run unwrapNodes(editor, { at: path })

Minor Changes

  • #1154 by @zbeyens
    • KEY_ALIGNMENT
    • DEFAULT_ALIGNMENTS
    • DEFAULT_ALIGNMENT
    • getAlignOverrideProps
    • setAlign
    • types:
      • AlignPluginOptions

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

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