diff --git a/client/src/components/Forms/Form.css b/client/src/components/Forms/Form.css new file mode 100644 index 0000000..e83d125 --- /dev/null +++ b/client/src/components/Forms/Form.css @@ -0,0 +1,3 @@ +textarea { + caret-color: rgb(0, 38, 255); +} \ No newline at end of file diff --git a/client/src/components/Forms/PostFormCard.tsx b/client/src/components/Forms/PostFormCard.tsx index e22a397..02420c0 100644 --- a/client/src/components/Forms/PostFormCard.tsx +++ b/client/src/components/Forms/PostFormCard.tsx @@ -11,6 +11,7 @@ import { renderMedia, attachFile } from "../../utils/FileUpload"; import { EmojiPicker } from "./Emojis/emoji-picker"; import customEmojis from './custom_emojis.json'; import { useSubmitForm } from "./handleSubmit"; +import "./Form.css"; interface FormProps { refEvent?: NostrEvent; @@ -48,9 +49,8 @@ const NewNoteCard = ({ if (tags) { tags.forEach(tag => unsigned.tags.push([tag, refEvent[tag === 'p' ? 'pubkey' : 'id']])); } - if (tagType === 'Quote') { - setComment(comment + ' nostr:' + nip19.noteEncode(refEvent.id)); + setComment(comment + '\nnostr:' + nip19.noteEncode(refEvent.id)); } } @@ -135,11 +135,11 @@ const NewNoteCard = ({ >