File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed
Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ export function getLocaleConfig(lang: string) {
5252 text : `v${ version } ` ,
5353 items : VERSIONS ,
5454 } ,
55+ {
56+ text : 'llmstxt' ,
57+ link : 'https://reactjs-tiptap-editor.vercel.app/llms-full.txt' ,
58+ } ,
5559 ] ;
5660
5761 const sidebar : DefaultTheme . SidebarItem [ ] = [
Original file line number Diff line number Diff line change 1212
1313## Usage
1414
15+ - First Install ` prism-code-editor-lightweight ` package:
16+
17+ ``` bash
18+ npm install prism-code-editor-lightweight
19+ # or
20+ yarn add prism-code-editor-lightweight
21+ or
22+ pnpm install prism-code-editor-lightweight
23+ ```
24+
1525
1626``` tsx
1727import { RichTextProvider } from ' reactjs-tiptap-editor'
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import { TextStyle } from '@tiptap/extension-text-style';
2828import { ListItem } from ' @tiptap/extension-list' ;
2929
3030// Extension
31- import { TextAlign , RichTextTextAlign } from ' reactjs-tiptap-editor/textalign' ; // [!code ++]
31+ import { TextAlign , RichTextAlign } from ' reactjs-tiptap-editor/textalign' ; // [!code ++]
3232// ... other extensions
3333
3434
@@ -58,7 +58,7 @@ const extensions = [
5858const RichTextToolbar = () => {
5959 return (
6060 <div className = " flex items-center gap-2 flex-wrap border-b border-solid" >
61- <RichTextTextAlign /> { /* [!code ++] */ }
61+ <RichTextAlign /> { /* [!code ++] */ }
6262 </div >
6363 )
6464}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import { TextStyle } from '@tiptap/extension-text-style';
2828import { ListItem } from ' @tiptap/extension-list' ;
2929
3030// Extension
31- import { TextUnderline , RichTextTextUnderline } from ' reactjs-tiptap-editor/textunderline' ; // [!code ++]
31+ import { TextUnderline , RichTextUnderline } from ' reactjs-tiptap-editor/textunderline' ; // [!code ++]
3232// ... other extensions
3333
3434
@@ -58,7 +58,7 @@ const extensions = [
5858const RichTextToolbar = () => {
5959 return (
6060 <div className = " flex items-center gap-2 flex-wrap border-b border-solid" >
61- <RichTextTextUnderline /> { /* [!code ++] */ }
61+ <RichTextUnderline /> { /* [!code ++] */ }
6262 </div >
6363 )
6464}
You can’t perform that action at this time.
0 commit comments