tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
291
fork
atom
a tool for shared writing and social publishing
291
fork
atom
overview
issues
27
pulls
pipelines
clear comment on send
awarm.space
6 months ago
d2f41ebb
03f236ed
+7
1 changed file
expand all
collapse all
unified
split
app
lish
[did]
[publication]
[rkey]
Interactions
Comments
CommentBox.tsx
+7
app/lish/[did]/[publication]/[rkey]/Interactions/Comments/CommentBox.tsx
···
189
189
},
190
190
});
191
191
192
192
+
let tr = editorState.tr;
193
193
+
tr = tr.replaceWith(
194
194
+
0,
195
195
+
editorState.doc.content.size,
196
196
+
multiBlockSchema.nodes.paragraph.createAndFill()!,
197
197
+
);
198
198
+
view.current?.dispatch(tr);
192
199
setLoading(false);
193
200
props.onSubmit?.();
194
201
useInteractionState.setState((s) => ({