Skip to content

Releases: pemedia/payload-visual-editor

2.0.5

23 Feb 06:53
Compare
Choose a tag to compare

Bug Fixes

  • Fixed parsing presentational fields in block
  • Fixed bundling styles with vite
  • Fixed handling of undefined richText fields

2.0.1

19 Nov 08:35
1f78b95
Compare
Choose a tag to compare

Features

  • Plugin is now available for Payload 2.x.x
  • The preview can now be opened in a separate window and in an iframe.

Breaking Changes

  • Changed options.showPreview to options.defaultPreviewMode.
  • To fetch the current document state on first render, you have to send a ready event to the cms (s. Frontend Integration in React / Next.js).

0.1.4

27 Jul 07:32
ed77d78
Compare
Choose a tag to compare

Bug Fixes

  • Fixed parsing block fields while values are undefined (#20)

0.1.3

26 Jul 06:45
9ad977c
Compare
Choose a tag to compare

Bug Fixes

  • Passing API path set in config to fetch relations (#18)

0.1.2

16 Jul 17:54
Compare
Choose a tag to compare

Bug Fixes

  • Added missing react-i18next peer dependency (#17)

0.1.1

16 Jul 14:27
Compare
Choose a tag to compare

Features

  • Configuration option to hide preview by default (#11)
  • New logic to generate the preview data, now handling all Payload field types

Bug Fixes

  • Fixed layout for collections and globals using versioning and drafts (#14)
  • Showing versions and timestamps in sidebar, when versioning is enabled
  • Correct API url and link for globals in the sidebar area (#13)

0.1.0

28 Jun 17:32
7b30b98
Compare
Choose a tag to compare

Features

  • 'previewUrl' localization: Added the option to create a custom locale based previewUrl.
  • fields from the {admin: {position:'sidebar'}} will be placed in an extra tab called "More", if tabs are beeing used in a collection or global.
  • Little styling adjustments to make the preview frame visually more present.

Breaking Changes

  • The previewUrl option is now a string returning function instead of a string.

0.0.5

19 Jun 15:41
eadba6d
Compare
Choose a tag to compare

Features

  • fields from the {admin: {position:'sidebar'}} are now useable. (in the main fields area)

0.0.4

18 Jun 05:19
Compare
Choose a tag to compare

Bug Fixes

  • Get all fields recursively to allow nested presentational fields (#6)

0.0.3

16 Jun 16:59
Compare
Choose a tag to compare

Bug Fixes

  • Flatten all presenational only fields (#4)