contentful / field-editors

React components and extensions for building Contentful entry editor
https://contentful-field-editors.netlify.app/
MIT License
151 stars 116 forks source link

chore: bump @udecode/plate-core from 36.5.9 to 39.1.4 #1779

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps @udecode/plate-core from 36.5.9 to 39.1.4.

Release notes

Sourced from @​udecode/plate-core's releases.

@​udecode/plate-core@​39.1.4

Patch Changes

  • #3616 by @​zbeyensPlateContent:

    • When disabled=true, readOnly should be true
    • Add prop aria-disabled=true and data-readonly=true when readOnly=true
    • Add class slate-editor, ignore-click-outside/toolbar (used by floating toolbar)

@​udecode/plate-core@​39.1.3

Patch Changes

@​udecode/plate-core@​39.0.0

Patch Changes

  • #3597 by @​zbeyensuseOptions, useOption missing plugins now warn instead of erroring.
Changelog

Sourced from @​udecode/plate-core's changelog.

39.1.4

Patch Changes

  • #3616 by @​zbeyensPlateContent:

    • When disabled=true, readOnly should be true
    • Add prop aria-disabled=true and data-readonly=true when readOnly=true
    • Add class slate-editor, ignore-click-outside/toolbar (used by floating toolbar)

39.1.3

Patch Changes

39.0.0

Patch Changes

  • #3597 by @​zbeyensuseOptions, useOption missing plugins now warn instead of erroring.

38.0.6

Patch Changes

  • d30471cb19577e53c20944ab66eab2a7ef3b3ad2 by @​12joan – Mitigate XSS in element.attributes by requiring all attribute names to be allowlisted in the node.dangerouslyAllowAttributes plugin configuration option.

    Migration:

    For each plugin that needs to support passing DOM attributes using element.attributes, add the list of allowed attributes to the node.dangerouslyAllowAttributes option of the plugin.

    const ImagePlugin = createPlatePlugin({
      key: 'image',
      node: {
        isElement: true,
        isVoid: true,
        dangerouslyAllowAttributes: ['alt'],
      },
    });
    

    To modify existing plugins, use the extend method as follows:

    const MyImagePlugin = ImagePlugin.extend({
      node: {
        dangerouslyAllowAttributes: ['alt'],
      },
    

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 month ago

Superseded by #1785.