Table control improvements

This commit is contained in:
2026-03-13 14:27:29 -05:00
parent ee2706df99
commit 3bfb4cd40a
2 changed files with 191 additions and 0 deletions
+4
View File
@@ -35,6 +35,7 @@ import { Video } from "@/lib/extensions/video";
import { VideoUpload } from "@/lib/extensions/video-upload";
import { FileAttachment } from "@/lib/extensions/file-attachment";
import { FileUpload } from "@/lib/extensions/file-upload";
import { TableBubbleMenu } from "./TableBubbleMenu";
interface TaskEditorProps {
content?: string;
@@ -335,6 +336,9 @@ export const TaskEditor: Component<TaskEditorProps> = (props) => {
Click to insert newline above
</span>
</div>
<Show when={editor()}>
{(e) => <TableBubbleMenu editor={e()} />}
</Show>
<div
ref={editorRef}
class="w-full flex-1 cursor-text"