Table control improvements
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user