Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens committed Dec 14, 2021
1 parent 5f750a6 commit 50c6870
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions BREAKING_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
# 9.0.0

## @udecode/plate-core@9.0.0

- [#1303](https://github.com/udecode/plate/pull/1303) by [@zbeyens](https://github.com/zbeyens)
- `Plate`
- `editor` prop can now be fully controlled: Plate is not applying `withPlate` on it anymore
- `PlatePlugin.deserializeHtml`
- can't be an array anymore
- moved `validAttribute`, `validClassName`, `validNodeName`, `validStyle` to `deserializeHtml.rules` property
- renamed `plateStore` to `platesStore`
- `platesStore` is now a zustood store
- `eventEditorStore` is now a zustood store
- `getPlateId` now gets the last editor id if not focused or blurred
- used by `usePlateEditorRef` and `usePlateEditorState`
- removed:
- `usePlateEnabled` for `usePlateSelectors(id).enabled()`
- `usePlateValue` for `usePlateSelectors(id).value()`
- `usePlateActions`:
- `resetEditor` for `getPlateActions(id).resetEditor()`
- `clearState` for `platesActions.unset()`
- `setInitialState` for `platesActions.set(id)`
- `setEditor` for `getPlateActions(id).editor(value)`
- `setEnabled` for `getPlateActions(id).enabled(value)`
- `setValue` for `getPlateActions(id).value(value)`
- `getPlateState`
- `usePlateState`
- `usePlateKey`

## @udecode/plate@9.0.0

- [#1303](https://github.com/udecode/plate/pull/1303) by [@zbeyens](https://github.com/zbeyens)
- renamed `plate-x-ui` to `plate-ui-x`: all packages depending on `styled-components` has `plate-ui` prefix
- renamed `plate-x-serializer` to `plate-serializer-x`
- is now exporting only these (new) packages:
- `@udecode/plate-headless`: all unstyled packages
- `@udecode/plate-ui`: all styled packages

# 8.0.0

## @udecode/plate-indent-list@8.0.0
Expand Down

1 comment on commit 50c6870

@vercel
Copy link

@vercel vercel bot commented on 50c6870 Dec 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.