@payload-onpage/plugin 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +15 -4
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  The Payload side: endpoints (enter/mode/exit/preview links/schema), access through Payload's own `docAccessOperation`, the editor schema, marker hooks, a stale-write guard, and **Edit on page** / **Copy preview link** in the admin.
4
4
 
5
+ ![Editing a Payload CMS page in place: click the heading, type, and it autosaves as a draft](https://raw.githubusercontent.com/jellologic/payload-onpage/main/docs/media/edit-text.gif)
6
+
7
+ ![Edit on page and Copy preview link in the Payload admin](https://raw.githubusercontent.com/jellologic/payload-onpage/main/docs/media/admin-controls.png)
8
+
5
9
  ```ts
6
10
  import { onpage } from '@payload-onpage/plugin'
7
11
  import { nextSession } from '@payload-onpage/next/session'
@@ -14,3 +18,5 @@ Options: `collections`, `globals` (with per-document `fields` and `url`), `acces
14
18
  Part of [**payload-onpage**](https://github.com/jellologic/payload-onpage): on-page editing and draft previews for Payload CMS + Next.js. Start with the [getting started guide](https://github.com/jellologic/payload-onpage/blob/main/docs/getting-started.md).
15
19
 
16
20
  MIT licensed.
21
+
22
+ See the **[tour](https://github.com/jellologic/payload-onpage/blob/main/docs/tour.md)** and **[getting started](https://github.com/jellologic/payload-onpage/blob/main/docs/getting-started.md)**.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payload-onpage/plugin",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "payload-onpage for Payload CMS: on-page editing endpoints, auto-mapping, preview links and admin controls.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -15,12 +15,23 @@
15
15
  "keywords": [
16
16
  "payload",
17
17
  "payloadcms",
18
+ "payload-cms",
18
19
  "payload-plugin",
19
20
  "nextjs",
21
+ "next.js",
22
+ "app-router",
20
23
  "visual-editing",
21
- "live-preview",
24
+ "visual-editor",
22
25
  "inline-editing",
23
- "cms"
26
+ "front-end-editing",
27
+ "live-preview",
28
+ "draft-preview",
29
+ "preview-links",
30
+ "page-builder",
31
+ "wysiwyg",
32
+ "headless-cms",
33
+ "cms",
34
+ "react"
24
35
  ],
25
36
  "exports": {
26
37
  ".": {
@@ -53,7 +64,7 @@
53
64
  "provenance": true
54
65
  },
55
66
  "dependencies": {
56
- "@payload-onpage/core": "0.3.0"
67
+ "@payload-onpage/core": "0.3.2"
57
68
  },
58
69
  "peerDependencies": {
59
70
  "payload": "^3.90.2",