Tweak placeholder copy

This commit is contained in:
Austin Chen 2022-07-16 10:19:53 -07:00
parent 349772a2f9
commit 1bc49dc0a2

View File

@ -98,15 +98,16 @@ export function TextEditor(props: {
{editor && ( {editor && (
<FloatingMenu <FloatingMenu
editor={editor} editor={editor}
className="w-full text-sm text-slate-300" className="-ml-2 mr-2 w-full text-sm text-slate-300"
> >
Type <em>*anything*</em> or even paste or{' '} Type <em>*markdown*</em>. Paste or{' '}
<FileUploadButton <FileUploadButton
className="link text-blue-300" className="link text-blue-300"
onFiles={upload.mutate} onFiles={upload.mutate}
> >
upload an image upload
</FileUploadButton> </FileUploadButton>{' '}
images!
</FloatingMenu> </FloatingMenu>
)} )}
<EditorContent editor={editor} /> <EditorContent editor={editor} />