From adff7a14f6d6190036f79eadf560c31a9b1c1779 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Sun, 12 Oct 2025 08:05:26 -0400 Subject: [PATCH] add iosbs and focus editor on placeholder click --- app/[leaflet_id]/publish/BskyPostEditorProsemirror.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/[leaflet_id]/publish/BskyPostEditorProsemirror.tsx b/app/[leaflet_id]/publish/BskyPostEditorProsemirror.tsx index 60dc4c5c..ff69b158 100644 --- a/app/[leaflet_id]/publish/BskyPostEditorProsemirror.tsx +++ b/app/[leaflet_id]/publish/BskyPostEditorProsemirror.tsx @@ -18,6 +18,7 @@ import { keymap } from "prosemirror-keymap"; import { history, undo, redo } from "prosemirror-history"; import { inputRules, InputRule } from "prosemirror-inputrules"; import { autolink } from "components/Blocks/TextBlock/autolink-plugin"; +import { IOSBS } from "app/lish/[did]/[publication]/[rkey]/Interactions/Comments/CommentBox"; // Schema with only links, mentions, and hashtags marks const bskyPostSchema = new Schema({ @@ -258,7 +259,7 @@ export function BlueskyPostEditorProsemirror(props: { }, [handleMentionSelect]); return ( -
+
{editorState && ( )} {editorState?.doc.textContent.length === 0 && ( -
+
Write a post to share your writing!
)} @@ -282,6 +283,7 @@ export function BlueskyPostEditorProsemirror(props: { overflowWrap: "break-word", }} /> +
); } -- 2.51.2