github udecode/plate @udecode/plate-core@30.0.0

latest releases: @udecode/plate-menu@39.1.0, @udecode/plate-ai@39.1.0, @udecode/plate-csv@39.0.1...
8 months ago

Minor Changes

  • #2867 by @12joan – Export atom from jotai

  • #2859 by @12joan

    • Introduce PlateController as a way of accessing the active editor from an ancestor or sibling of Plate (see Accessing the Editor).
    • Add primary prop to Plate (default true)
    • Add isFallback to editor instance (default false)
    • The following hooks now throw a runtime error when used outside of either a Plate or PlateController, and accept a debugHookName option to customize this error message:
      • useIncrementVersion
      • useRedecorate
      • useReplaceEditor
      • useEditorMounted (new)
      • useEditorReadOnly
      • useEditorRef
      • useEdtiorSelection
      • useEditorSelector
      • useEditorState
      • useEditorVersion
      • useSelectionVersion
    • Change the default id of a Plate editor from 'plate' to a random value generated with nanoid/non-secure

Don't miss a new plate release

NewReleases is sending notifications on new releases.