From 916618be31b7240aa155d8cd0425b3e24883bb9e Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Sat, 16 Jul 2022 09:30:23 -0700 Subject: [PATCH] Disable quotation marks in quotes --- web/components/editor.tsx | 4 ++-- web/tailwind.config.js | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/web/components/editor.tsx b/web/components/editor.tsx index 4b3e2cce..9adc0c9f 100644 --- a/web/components/editor.tsx +++ b/web/components/editor.tsx @@ -21,7 +21,7 @@ import { FileUploadButton } from './file-upload-button' import { linkClass } from './site-link' const proseClass = clsx( - 'prose prose-sm prose-p:my-0 prose-li:my-0 prose-blockquote:not-italic max-w-none' + 'prose prose-sm prose-p:my-0 prose-li:my-0 prose-blockquote:not-italic max-w-none prose-quoteless' ) export function useTextEditor(props: { @@ -94,7 +94,7 @@ export function TextEditor(props: { return ( <> {/* hide placeholder when focused */} -
+
{editor && (