diff --git a/src/App.tsx b/src/App.tsx index 0fe7105..345b2d3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -64,7 +64,7 @@ const ExampleForm = () => { className={cn('w-full', { 'border-destructive focus-within:border-destructive': form.formState.errors.description })} - editorContentClassName="p-5" + editorContentClassName="some-class" output="html" placeholder="Type your description here..." autofocus={true} @@ -72,7 +72,7 @@ const ExampleForm = () => { editable={true} injectCSS={true} shouldRerenderOnTransaction={false} - editorClassName="focus:outline-none" + editorClassName="focus:outline-none p-5" /> diff --git a/src/components/minimal-tiptap/components/shortcut-key.tsx b/src/components/minimal-tiptap/components/shortcut-key.tsx index ee282ed..2691528 100644 --- a/src/components/minimal-tiptap/components/shortcut-key.tsx +++ b/src/components/minimal-tiptap/components/shortcut-key.tsx @@ -14,6 +14,7 @@ export const ShortcutKey = React.forwardRef(( {modifiedKeys.map(shortcut => (
- +