@npm-questionpro/wick-ui-editor 2.0.0-next.7 → 2.0.0
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 +61 -23
- package/dist/html.d.ts +1 -0
- package/dist/sanitize-BZ0U7q7z.js +213 -0
- package/dist/style.css +1 -1
- package/dist/wick-ui-editor/es/html.js +88 -0
- package/dist/wick-ui-editor/es/index.js +803 -845
- package/package.json +17 -24
- package/dist/html-Ccb8eKR4.js +0 -7158
- package/dist/standalone-DSxjHhed.js +0 -3574
- package/llms.txt +0 -31
package/llms.txt
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# @npm-questionpro/wick-ui-editor
|
|
2
|
-
|
|
3
|
-
> Wick Editor is a powerful and intuitive content editing component built with React. It provides a rich set of features for creating and managing content, making it ideal for applications that require dynamic and interactive content creation.
|
|
4
|
-
|
|
5
|
-
Version: 2.0.0-next.7
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
```
|
|
9
|
-
pnpm add @npm-questionpro/wick-ui-editor
|
|
10
|
-
# Peer dependencies:
|
|
11
|
-
pnpm add react react-dom @npm-questionpro/wick-ui-icon @npm-questionpro/wick-ui-lib @radix-ui/react-dropdown-menu @tiptap/extension-image @tiptap/extension-list @tiptap/extension-subscript @tiptap/extension-superscript @tiptap/extension-table @tiptap/extension-text-align @tiptap/extension-text-style @tiptap/pm @tiptap/react @tiptap/starter-kit clsx dompurify shiki
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Quick start
|
|
15
|
-
```tsx
|
|
16
|
-
import {WuContentEditor} from '@npm-questionpro/wick-ui-editor'
|
|
17
|
-
|
|
18
|
-
function App() {
|
|
19
|
-
return (
|
|
20
|
-
<WuContentEditor
|
|
21
|
-
defaultValue="<p>Start typing...</p>"
|
|
22
|
-
onUpdate={html => console.log(html)}
|
|
23
|
-
/>
|
|
24
|
-
)
|
|
25
|
-
}
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Links
|
|
29
|
-
- npm: https://npmjs.com/package/@npm-questionpro/wick-ui-editor
|
|
30
|
-
- llms.txt (unpkg): https://unpkg.com/@npm-questionpro/wick-ui-editor/llms.txt
|
|
31
|
-
- llms.txt (jsDelivr): https://cdn.jsdelivr.net/npm/@npm-questionpro/wick-ui-editor/llms.txt
|