Add keyboard activation to the interactive elements and use stable keys. [skip build]
Checks / checks (push) Successful in 2m8s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-01 21:32:32 +11:00
parent 664b7eb739
commit eaa9ac00dd
8 changed files with 54 additions and 30 deletions
@@ -3,7 +3,6 @@ import { isKeyHotkey } from 'is-hotkey';
import { Editor } from 'slate';
import { IconButton, Line, PopOut } from 'folds';
import { useAtomValue } from 'jotai';
import { Room } from 'matrix-js-sdk';
import { Icon, Icons } from '../../components/icons';
import {
CustomEditor,
@@ -28,7 +27,6 @@ import { PluginButtonSlot } from '../settings/plugins/PluginButtonSlot';
type ForumChatComposerProps = {
editor: Editor;
roomId: string;
room: Room;
placeholder?: string;
onSend?: () => void;
showAttachButton?: boolean;
@@ -39,7 +37,6 @@ type ForumChatComposerProps = {
export function ForumChatComposer({
editor,
roomId,
room,
placeholder = 'Send a message…',
onSend,
showAttachButton = false,