@od-labs/payloadcms-dynamic-value-richtext 1.0.0 → 1.0.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.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,9 +14,9 @@ A powerful [Payload CMS](https://payloadcms.com) plugin for the Lexical editor t
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
pnpm add @
|
|
17
|
+
pnpm add @od-labs/payloadcms-dynamic-value-richtext
|
|
18
18
|
# or
|
|
19
|
-
npm install @
|
|
19
|
+
npm install @od-labs/payloadcms-dynamic-value-richtext
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Basic Setup
|
|
@@ -25,7 +25,7 @@ Add the plugin to your `payload.config.ts`:
|
|
|
25
25
|
|
|
26
26
|
```typescript
|
|
27
27
|
import { buildConfig } from 'payload'
|
|
28
|
-
import { dynamicValuePlugin } from '@
|
|
28
|
+
import { dynamicValuePlugin } from '@od-labs/payloadcms-dynamic-value-richtext'
|
|
29
29
|
|
|
30
30
|
export default buildConfig({
|
|
31
31
|
plugins: [
|
|
@@ -44,7 +44,7 @@ export default buildConfig({
|
|
|
44
44
|
In your Lexical editor configuration, add the `DynamicValueFeature` to your list of features:
|
|
45
45
|
|
|
46
46
|
```typescript
|
|
47
|
-
import { DynamicValueFeature } from '@
|
|
47
|
+
import { DynamicValueFeature } from '@od-labs/payloadcms-dynamic-value-richtext'
|
|
48
48
|
|
|
49
49
|
// In your collection/global field definition:
|
|
50
50
|
{
|