diff --git a/package.json b/package.json index 63100b7..8070c23 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "publisher": "oeyoews", "name": "usewiki2", "displayName": "usewiki2", - "version": "0.8.5", + "version": "0.9.0", "private": true, "packageManager": "pnpm@9.0.6", "description": "", diff --git a/packages/react/src/App.tsx b/packages/react/src/App.tsx index ffbe7a5..4fd3c5c 100644 --- a/packages/react/src/App.tsx +++ b/packages/react/src/App.tsx @@ -6,12 +6,12 @@ import { ContextMenuItem, ContextMenuTrigger, } from '@/components/ui/context-menu'; -import { Input } from '@/components/ui/input'; import { Button } from '@/components/ui/button'; +import { Textarea } from './components/ui/textarea'; function App() { const [inputValue, setInputValue] = useState(''); - const inputRef = useRef(null); + const inputRef = useRef(null); const [vscode, setVscode] = useState(null); useEffect(() => { @@ -25,7 +25,7 @@ function App() { }, []); // support ctrl enter to save - function handleInputBoxSave(e: KeyboardEvent) { + function handleInputBoxSave(e: KeyboardEvent) { if (e.ctrlKey && e.key === 'Enter') { submitInput(); } @@ -41,29 +41,30 @@ function App() { return ( // vscode-dark -
+

TiddlyWiki5

- + More Coming -
- +