@pubwave/editor 0.1.1-alpha.1 → 0.1.1
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 +3 -3
- package/dist/index.cjs +4502 -4449
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +2 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +4502 -4449
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ pnpm add @pubwave/editor
|
|
|
39
39
|
|
|
40
40
|
```tsx
|
|
41
41
|
import { PubwaveEditor } from '@pubwave/editor';
|
|
42
|
-
import '@pubwave/editor/
|
|
42
|
+
import '@pubwave/editor/style.css';
|
|
43
43
|
|
|
44
44
|
function MyEditor() {
|
|
45
45
|
const [content, setContent] = useState({
|
|
@@ -608,7 +608,7 @@ The library is SSR-safe and can be imported server-side without errors. The edit
|
|
|
608
608
|
'use client';
|
|
609
609
|
|
|
610
610
|
import { PubwaveEditor } from '@pubwave/editor';
|
|
611
|
-
import '@pubwave/editor/
|
|
611
|
+
import '@pubwave/editor/style.css';
|
|
612
612
|
|
|
613
613
|
export default function EditorComponent() {
|
|
614
614
|
return <PubwaveEditor />;
|
|
@@ -627,7 +627,7 @@ export default function EditorComponent() {
|
|
|
627
627
|
- Ensure the component is marked as a client component
|
|
628
628
|
|
|
629
629
|
**Q: Styles are not applied**
|
|
630
|
-
- Ensure you've imported the CSS: `import '@pubwave/editor/
|
|
630
|
+
- Ensure you've imported the CSS: `import '@pubwave/editor/style.css'`
|
|
631
631
|
- Check that CSS custom properties are defined
|
|
632
632
|
|
|
633
633
|
**Q: Slash commands don't work**
|