File tree Expand file tree Collapse file tree
examples/ui-playground/src/app/playground/shadcn Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const navigationItems = [
3838 { href : '#toggle-group' , label : 'Toggle Group' } ,
3939 { href : '#textarea' , label : 'Textarea' } ,
4040 { href : '#toast' , label : 'Toast' } ,
41+ { href : '#rich-text-editor' , label : 'Rich Text Editor' } ,
4142 { href : '/playground/shadcn/sidebar' , label : 'Sidebar' } ,
4243]
4344
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import { LinkSection } from './link-section'
1818import PageSidebar from './page-sidebar'
1919import { PaginationSection } from './pagination-section'
2020import { ProgressSection } from './progress-section'
21+ import { RichTextSection } from './rich-text-section'
2122import { SelectSection } from './select-section'
2223import { SliderSection } from './slider-section'
2324import { SwitchSection } from './switch-section'
@@ -128,6 +129,10 @@ export default function ComboboxPage() {
128129 Toast
129130 </ Typography >
130131 < ToastSection />
132+ < Typography type = "h2" weight = "bold" id = "rich-text-editor" >
133+ Rich Text Editor
134+ </ Typography >
135+ < RichTextSection />
131136 </ div >
132137 < React . Suspense fallback = { null } >
133138 < PageSidebar />
Original file line number Diff line number Diff line change 1+ import { RichTextEditor } from '@genseki/react/v2'
2+
3+ import { PlaygroundCard } from '../../../components/card'
4+ import { editorProviderProps } from '../../../components/slot-before'
5+
6+ export const RichTextSection = ( ) => {
7+ return (
8+ < PlaygroundCard title = "Basic RichtextEditor" categoryTitle = "Component" >
9+ < RichTextEditor editorProviderProps = { editorProviderProps } />
10+ </ PlaygroundCard >
11+ )
12+ }
You can’t perform that action at this time.
0 commit comments