0.12.0 • Published 8 months ago
@tohuhono/puck-rich-text v0.12.0
Puck Rich Text Component
A rich text component with inline editor for use with Puck
Demo
Visit https://puck-rich-text.tohuhono.com to try the demo.
Documentation
This is it! Visit https://puckeditor.com to view the full Puck documentation.
Install
npm i @tohuhono/puck-rich-text --save
Next.js 14
In your Puck config:
// Puck.config.tsx
import type { Config } from "@measured/puck"
import { PuckRichText, PuckRichTextProps } from "@tohuhono/puck-rich-text"
export const config: Config<{
PuckRichText: PuckRichTextProps
}> = {
components: {
PuckRichText
}
}
Next.js 13
To avoid nextjs import the incorrect render library you need to use the legacy import
// Puck.config.tsx
import type { Config } from "@measured/puck"
import { PuckRichText, PuckRichTextProps } from "@tohuhono/puck-rich-text/legacy"
export const config: Config<{
PuckRichText: PuckRichTextProps
}> = {
components: {
PuckRichText
}
}
License
MIT © Tohuhono ltd
0.12.0
8 months ago
0.11.0
8 months ago
0.10.0
1 year ago
0.9.0
1 year ago
0.8.1
1 year ago
0.7.2
1 year ago
0.8.0
1 year ago
0.7.1
1 year ago
0.9.1
1 year ago
0.8.2
1 year ago
0.7.0
1 year ago
0.6.0
1 year ago
0.5.0
1 year ago
0.4.0
1 year ago
0.3.1
1 year ago
0.3.0
1 year ago
0.2.0
1 year ago
0.1.0
1 year ago
0.0.9
1 year ago
0.0.7
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.1
1 year ago