Releases: pemedia/payload-visual-editor
Releases · pemedia/payload-visual-editor
2.0.5
2.0.1
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
0.1.3
0.1.2
0.1.1
Features
- Configuration option to hide preview by default (#11)
- New logic to generate the preview data, now handling all Payload field types
Bug Fixes
0.1.0
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.