From 68213ffb68a9d4963c135e76c692e1e68938ed4b Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Tue, 9 Aug 2022 16:44:41 -0700 Subject: [PATCH] Remove "Type *markdown*" placeholder it's a little misleading (can't do markdown links) and messes with focus to be replaced with a highlight menu in the future --- web/components/editor.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/web/components/editor.tsx b/web/components/editor.tsx index 04a8e761..cef1aa36 100644 --- a/web/components/editor.tsx +++ b/web/components/editor.tsx @@ -3,7 +3,6 @@ import Placeholder from '@tiptap/extension-placeholder' import { useEditor, EditorContent, - FloatingMenu, JSONContent, Content, Editor, @@ -138,14 +137,6 @@ export function TextEditor(props: { <> {/* hide placeholder when focused */}
- {editor && ( - - Type *markdown* - - )}
{/* Toolbar, with buttons for images and embeds */}