Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

feat(web): add code blocks, a slash menu and image picking to the issue editor (#40)

Croffdb52b5e069a7
diff --git a/apps/web/package.json b/apps/web/package.json
index c6b66a1d..026cb126 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -34,15 +34,17 @@
"@shadcn/react": "^0.2.1",
"@tanstack/react-query": "^5.66.0",
"@tanstack/react-virtual": "^3.14.5",
- "@tiptap/core": "^3.27.3",
- "@tiptap/extension-image": "^3.27.3",
- "@tiptap/extension-link": "^3.27.3",
- "@tiptap/extension-placeholder": "^3.27.3",
- "@tiptap/extension-task-item": "^3.27.3",
- "@tiptap/extension-task-list": "^3.27.3",
- "@tiptap/pm": "^3.27.3",
- "@tiptap/react": "^3.27.3",
- "@tiptap/starter-kit": "^3.27.3",
+ "@tiptap/core": "^3.29.1",
+ "@tiptap/extension-code-block-lowlight": "^3.29.1",
+ "@tiptap/extension-image": "^3.29.1",
+ "@tiptap/extension-link": "^3.29.1",
+ "@tiptap/extension-placeholder": "^3.29.1",
+ "@tiptap/extension-task-item": "^3.29.1",
+ "@tiptap/extension-task-list": "^3.29.1",
+ "@tiptap/pm": "^3.29.1",
+ "@tiptap/react": "^3.29.1",
+ "@tiptap/starter-kit": "^3.29.1",
+ "@tiptap/suggestion": "^3.29.1",
"@uiw/react-color": "^2.10.3",
"@xyflow/react": "^12.11.2",
"better-auth": "^1.3.4",
@@ -51,6 +53,7 @@
"cmdk": "^1.1.1",
"date-fns": "^4.4.0",
"isomorphic-dompurify": "^3.19.0",
+ "lowlight": "^3.3.0",
"lucide-react": "^0.474.0",
"marked": "^18.0.5",
"next": "^15.1.6",
diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css
index 9d534516..418d029d 100644
--- a/apps/web/src/app/globals.css
+++ b/apps/web/src/app/globals.css
@@ -253,6 +253,104 @@
background: none;
padding: 0;
}
+/* Token colors for the hljs-* classes lowlight emits, taken from highlight.js's
+ GitHub light and dark themes. Their background and base text color are dropped:
+ the block already gets them from .md-content pre above. */
+.md-content {
+ --hljs-keyword: #d73a49;
+ --hljs-title: #6f42c1;
+ --hljs-attr: #005cc5;
+ --hljs-string: #032f62;
+ --hljs-built-in: #e36209;
+ --hljs-comment: #6a737d;
+ --hljs-name: #22863a;
+ --hljs-section: #005cc5;
+ --hljs-bullet: #735c0f;
+ --hljs-addition: #22863a;
+ --hljs-addition-bg: #f0fff4;
+ --hljs-deletion: #b31d28;
+ --hljs-deletion-bg: #ffeef0;
+}
+.dark .md-content {
+ --hljs-keyword: #ff7b72;
+ --hljs-title: #d2a8ff;
+ --hljs-attr: #79c0ff;
+ --hljs-string: #a5d6ff;
+ --hljs-built-in: #ffa657;
+ --hljs-comment: #8b949e;
+ --hljs-name: #7ee787;
+ --hljs-section: #1f6feb;
+ --hljs-bullet: #f2cc60;
+ --hljs-addition: #aff5b4;
+ --hljs-addition-bg: #033a16;
+ --hljs-deletion: #ffdcd7;
+ --hljs-deletion-bg: #67060c;
+}
+.md-content .hljs-doctag,
+.md-content .hljs-keyword,
+.md-content .hljs-meta .hljs-keyword,
+.md-content .hljs-template-tag,
+.md-content .hljs-template-variable,
+.md-content .hljs-type,
+.md-content .hljs-variable.language_ {
+ color: var(--hljs-keyword);
+}
+.md-content .hljs-title {
+ color: var(--hljs-title);
+}
+.md-content .hljs-attr,
+.md-content .hljs-attribute,
+.md-content .hljs-literal,
+.md-content .hljs-meta,
+.md-content .hljs-number,
+.md-content .hljs-operator,
+.md-content .hljs-selector-attr,
+.md-content .hljs-selector-class,
+.md-content .hljs-selector-id,
+.md-content .hljs-variable {
+ color: var(--hljs-attr);
+}
+.md-content .hljs-meta .hljs-string,
+.md-content .hljs-regexp,
+.md-content .hljs-string {
+ color: var(--hljs-string);
+}
+.md-content .hljs-built_in,
+.md-content .hljs-symbol {
+ color: var(--hljs-built-in);
+}
+.md-content .hljs-code,
+.md-content .hljs-comment,
+.md-content .hljs-formula {
+ color: var(--hljs-comment);
+}
+.md-content .hljs-name,
+.md-content .hljs-quote,
+.md-content .hljs-selector-pseudo,
+.md-content .hljs-selector-tag {
+ color: var(--hljs-name);
+}
+.md-content .hljs-section {
+ color: var(--hljs-section);
+ font-weight: 700;
+}
+.md-content .hljs-bullet {
+ color: var(--hljs-bullet);
+}
+.md-content .hljs-emphasis {
+ font-style: italic;
+}
+.md-content .hljs-strong {
+ font-weight: 700;
+}
+.md-content .hljs-addition {
+ color: var(--hljs-addition);
+ background-color: var(--hljs-addition-bg);
+}
+.md-content .hljs-deletion {
+ color: var(--hljs-deletion);
+ background-color: var(--hljs-deletion-bg);
+}
.md-content blockquote {
border-left: 2px solid var(--border);
padding-left: 0.75em;
diff --git a/apps/web/src/features/issue/components/detail/IssueDetailContent.tsx b/apps/web/src/features/issue/components/detail/IssueDetailContent.tsx
index b048d1da..ba0662dc 100644
--- a/apps/web/src/features/issue/components/detail/IssueDetailContent.tsx
+++ b/apps/web/src/features/issue/components/detail/IssueDetailContent.tsx
@@ -40,6 +40,7 @@ export default function IssueDetailContent({
toggleLabel,
insertAttachment,
uploadFile,
+ imageAttachments,
setDescEditor,
} = useIssueDetail(project, issueId, onIssueLoaded);
@@ -77,6 +78,7 @@ export default function IssueDetailContent({
key={`desc-${issue.updatedAt}`}
onReady={setDescEditor}
uploadFile={uploadFile}
+ imageAttachments={imageAttachments}
onBlur={(md) => {
if (md !== issue.description) patch({ description: md });
}}
@@ -93,6 +95,7 @@ export default function IssueDetailContent({
current={issue.fields.find((f) => f.fieldId === def.id)}
saveKey={`${def.id}-${issue.updatedAt}`}
uploadFile={uploadFile}
+ imageAttachments={imageAttachments}
onSetField={setField}
/>
))}
@@ -110,6 +113,7 @@ export default function IssueDetailContent({
onSetField={setField}
onToggleLabel={toggleLabel}
uploadFile={uploadFile}
+ imageAttachments={imageAttachments}
hasSidebar={hasSidebar}
/>
);
diff --git a/apps/web/src/features/issue/components/detail/IssueProperties.tsx b/apps/web/src/features/issue/components/detail/IssueProperties.tsx
index 90822646..ba76f201 100644
--- a/apps/web/src/features/issue/components/detail/IssueProperties.tsx
+++ b/apps/web/src/features/issue/components/detail/IssueProperties.tsx
@@ -19,6 +19,7 @@ import TypeSelect from '@/components/common/fields/TypeSelect';
import InitiativeSelect from '../fields/InitiativeSelect';
import IssueCustomFieldControl from '../fields/IssueCustomFieldControl';
import IssueCustomFieldBody from '../fields/IssueCustomFieldBody';
+import { type Embeddable } from '../../utils/attachmentEmbed';
// One property row in the two-column list: name on the left, control on the right.
function PropertyRow({ label, children }: { label: string; children: ReactNode }) {
@@ -41,6 +42,7 @@ export default function IssueProperties({
onSetField,
onToggleLabel,
uploadFile,
+ imageAttachments,
hasSidebar,
readOnly,
}: {
@@ -50,7 +52,8 @@ export default function IssueProperties({
onPatch: (fields: IssuePatch) => void;
onSetField: (fieldId: number, value: IssueFieldValueInput) => void;
onToggleLabel: (id: number) => void;
- uploadFile?: (file: File) => Promise<{ url: string; contentType: string; filename: string }>;
+ uploadFile?: (file: File) => Promise<Embeddable>;
+ imageAttachments?: Embeddable[];
hasSidebar: boolean;
// When true every control is a non-interactive display of its value (public
// shared page). The onPatch/onSetField/onToggleLabel callbacks are never called.
@@ -176,6 +179,7 @@ export default function IssueProperties({
current={current}
saveKey={saveKey}
uploadFile={uploadFile}
+ imageAttachments={imageAttachments}
onSetField={onSetField}
readOnly={readOnly}
/>
diff --git a/apps/web/src/features/issue/components/editor/EditorImagePicker.tsx b/apps/web/src/features/issue/components/editor/EditorImagePicker.tsx
new file mode 100644
index 00000000..ca7127a7
--- /dev/null
+++ b/apps/web/src/features/issue/components/editor/EditorImagePicker.tsx
@@ -0,0 +1,61 @@
+import Image from 'next/image';
+import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog';
+import { type Embeddable } from '../../utils/attachmentEmbed';
+
+// Nothing here may take focus: blurring the editor saves the description, and the
+// refetched updatedAt remounts the editor by its key — mid-pick, throwing away the
+// insert.
+export default function EditorImagePicker({
+ open,
+ images,
+ onClose,
+ onPick,
+}: {
+ open: boolean;
+ images: Embeddable[];
+ onClose: () => void;
+ onPick: (image: Embeddable) => void;
+}) {
+ return (
+ <Dialog open={open} onOpenChange={(o) => !o && onClose()}>
+ <DialogContent
+ className="sm:max-w-lg"
+ // Leaving focus in the editor also keeps the cursor the pick inserts at.
+ onOpenAutoFocus={(e) => e.preventDefault()}
+ >
+ <DialogHeader>
+ <DialogTitle>Insert image</DialogTitle>
+ </DialogHeader>
+ {images.length === 0 ? (
+ <p className="text-sm text-muted-foreground">
+ No images attached yet. Upload one from the Attachments panel, or drop it straight onto
+ the editor.
+ </p>
+ ) : (
+ <div className="grid max-h-[60vh] grid-cols-3 gap-2 overflow-y-auto">
+ {images.map((a) => (
+ <button
+ key={a.url}
+ type="button"
+ title={a.filename}
+ aria-label={`Insert ${a.filename}`}
+ onMouseDown={(e) => e.preventDefault()}
+ onClick={() => onPick(a)}
+ className="relative aspect-square overflow-hidden rounded-md border hover:border-primary"
+ >
+ <Image
+ src={a.url}
+ alt={a.filename}
+ fill
+ // A grid cell is at most a third of the dialog's 32rem.
+ sizes="176px"
+ className="object-cover"
+ />
+ </button>
+ ))}
+ </div>
+ )}
+ </DialogContent>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/features/issue/components/editor/EditorResizableImage.tsx b/apps/web/src/features/issue/components/editor/EditorResizableImage.tsx
new file mode 100644
index 00000000..b15a6463
--- /dev/null
+++ b/apps/web/src/features/issue/components/editor/EditorResizableImage.tsx
@@ -0,0 +1,95 @@
+import {
+ useRef,
+ useState,
+ type CSSProperties,
+ type PointerEvent as ReactPointerEvent,
+} from 'react';
+import { NodeViewWrapper, type NodeViewProps } from '@tiptap/react';
+import { cn } from '@/lib/utils';
+
+// Below this an image is too small to grab again.
+const MIN_WIDTH = 60;
+
+// The node's `style` attribute holds raw CSS text; React takes the parsed form.
+function styleObject(css: string | null): CSSProperties {
+ if (!css) return {};
+ return Object.fromEntries(
+ css.split(';').flatMap((declaration) => {
+ const [property, ...rest] = declaration.split(':');
+ const value = rest.join(':').trim();
+ if (!property?.trim() || !value) return [];
+ const camelCased = property
+ .trim()
+ .replaceAll(/-([a-z])/g, (_, letter) => letter.toUpperCase());
+ return [[camelCased, value]];
+ }),
+ );
+}
+
+// Only the width is stored — .md-content img keeps height:auto.
+export default function EditorResizableImage({
+ node,
+ updateAttributes,
+ editor,
+ selected,
+}: NodeViewProps) {
+ const imgRef = useRef<HTMLImageElement>(null);
+ // Set while dragging: no transaction (and no undo step) per pointermove.
+ const [dragWidth, setDragWidth] = useState<number | null>(null);
+
+ const width = dragWidth ?? (node.attrs.width as number | null);
+
+ function startResize(event: ReactPointerEvent) {
+ const img = imgRef.current;
+ if (!img) return;
+ // Otherwise the pointerdown selects the node and starts a native drag.
+ event.preventDefault();
+
+ const startX = event.clientX;
+ const startWidth = img.getBoundingClientRect().width;
+ // Wider than the editor is not reachable on screen, so do not store it.
+ const maxWidth = editor.view.dom.clientWidth;
+ const widthAt = (clientX: number) =>
+ Math.round(Math.min(maxWidth, Math.max(MIN_WIDTH, startWidth + clientX - startX)));
+
+ const onMove = (move: globalThis.PointerEvent) => setDragWidth(widthAt(move.clientX));
+ const onUp = (up: globalThis.PointerEvent) => {
+ document.removeEventListener('pointermove', onMove);
+ document.removeEventListener('pointerup', onUp);
+ setDragWidth(null);
+ updateAttributes({ width: widthAt(up.clientX) });
+ // The width saves on blur, and a drag alone leaves the editor unfocused.
+ editor.commands.focus();
+ };
+ document.addEventListener('pointermove', onMove);
+ document.addEventListener('pointerup', onUp);
+ }
+
+ return (
+ <NodeViewWrapper className="group relative inline-block max-w-full leading-none">
+ {/* next/image needs intrinsic dimensions, which markdown does not carry. */}
+ {/* eslint-disable-next-line @next/next/no-img-element */}
+ <img
+ ref={imgRef}
+ src={node.attrs.src as string}
+ alt={(node.attrs.alt as string | null) ?? ''}
+ title={(node.attrs.title as string | null) ?? undefined}
+ // The dragged width wins over the embed's own sizing.
+ style={{ ...styleObject(node.attrs.style as string | null), ...(width ? { width } : {}) }}
+ // A node view has no drag handle of its own; without one the image is stuck.
+ data-drag-handle
+ />
+ {editor.isEditable && (
+ <span
+ role="presentation"
+ onPointerDown={startResize}
+ className={cn(
+ 'absolute right-1 bottom-1 size-3 cursor-nwse-resize rounded-sm border border-background bg-primary opacity-0 transition-opacity group-hover:opacity-100',
+ // Touch has no hover: tapping selects the node, the only way in there.
+ selected && 'opacity-100',
+ )}
+ />
+ )}
+ </NodeViewWrapper>
+ );
+}
diff --git a/apps/web/src/features/issue/components/editor/EditorSelectionMenu.tsx b/apps/web/src/features/issue/components/editor/EditorSelectionMenu.tsx
new file mode 100644
index 00000000..e176c090
--- /dev/null
+++ b/apps/web/src/features/issue/components/editor/EditorSelectionMenu.tsx
@@ -0,0 +1,75 @@
+import { type Editor } from '@tiptap/react';
+import { BubbleMenu } from '@tiptap/react/menus';
+import {
+ Bold,
+ Code,
+ Italic,
+ Link as LinkIcon,
+ List,
+ ListOrdered,
+ Quote,
+ SquareCode,
+ Strikethrough,
+ type LucideIcon,
+} from 'lucide-react';
+import EditorToolbarButton from './EditorToolbarButton';
+
+function setLink(editor: Editor) {
+ const url = window.prompt('Link URL', editor.getAttributes('link').href ?? '');
+ if (url === null) return;
+ if (url === '') editor.chain().focus().unsetLink().run();
+ else editor.chain().focus().setLink({ href: url }).run();
+}
+
+// `name` is the mark or node the button toggles, which is also what lights it up.
+const ITEMS: { name: string; icon: LucideIcon; run: (editor: Editor) => void }[] = [
+ { name: 'bold', icon: Bold, run: (editor) => editor.chain().focus().toggleBold().run() },
+ { name: 'italic', icon: Italic, run: (editor) => editor.chain().focus().toggleItalic().run() },
+ {
+ name: 'strike',
+ icon: Strikethrough,
+ run: (editor) => editor.chain().focus().toggleStrike().run(),
+ },
+ { name: 'code', icon: Code, run: (editor) => editor.chain().focus().toggleCode().run() },
+ {
+ name: 'codeBlock',
+ icon: SquareCode,
+ run: (editor) => editor.chain().focus().toggleCodeBlock().run(),
+ },
+ { name: 'link', icon: LinkIcon, run: setLink },
+ {
+ name: 'blockquote',
+ icon: Quote,
+ run: (editor) => editor.chain().focus().toggleBlockquote().run(),
+ },
+ {
+ name: 'bulletList',
+ icon: List,
+ run: (editor) => editor.chain().focus().toggleBulletList().run(),
+ },
+ {
+ name: 'orderedList',
+ icon: ListOrdered,
+ run: (editor) => editor.chain().focus().toggleOrderedList().run(),
+ },
+];
+
+export default function EditorSelectionMenu({ editor }: { editor: Editor }) {
+ return (
+ <BubbleMenu
+ editor={editor}
+ options={{ placement: 'top' }}
+ className="flex items-center gap-0.5 rounded-md border bg-popover p-1 shadow-md"
+ >
+ {ITEMS.map((item) => (
+ <EditorToolbarButton
+ key={item.name}
+ active={editor.isActive(item.name)}
+ onClick={() => item.run(editor)}
+ >
+ <item.icon />
+ </EditorToolbarButton>
+ ))}
+ </BubbleMenu>
+ );
+}
diff --git a/apps/web/src/features/issue/components/editor/EditorSlashMenu.tsx b/apps/web/src/features/issue/components/editor/EditorSlashMenu.tsx
new file mode 100644
index 00000000..d39e4d24
--- /dev/null
+++ b/apps/web/src/features/issue/components/editor/EditorSlashMenu.tsx
@@ -0,0 +1,66 @@
+import { useEffect, useImperativeHandle, useState, type Ref } from 'react';
+import { cn } from '@/lib/utils';
+import { type SlashItem } from '../../utils/tiptap-slash-command';
+
+export type SlashMenuRef = { onKeyDown: (props: { event: KeyboardEvent }) => boolean };
+
+// The list shown after typing "/". Escape is handled by the suggestion plugin.
+export default function EditorSlashMenu({
+ items,
+ command,
+ ref,
+}: {
+ items: SlashItem[];
+ command: (item: SlashItem) => void;
+ ref?: Ref<SlashMenuRef>;
+}) {
+ const [activeIndex, setActiveIndex] = useState(0);
+
+ // Typing narrows the list, which can leave the highlight past its end.
+ useEffect(() => setActiveIndex(0), [items]);
+
+ useImperativeHandle(ref, () => ({
+ onKeyDown: ({ event }) => {
+ if (items.length === 0) return false;
+ switch (event.key) {
+ case 'ArrowDown':
+ setActiveIndex((index) => (index + 1) % items.length);
+ return true;
+ case 'ArrowUp':
+ setActiveIndex((index) => (index - 1 + items.length) % items.length);
+ return true;
+ case 'Enter': {
+ const item = items[activeIndex];
+ if (item) command(item);
+ return true;
+ }
+ default:
+ return false;
+ }
+ },
+ }));
+
+ if (items.length === 0) return null;
+
+ return (
+ <div className="w-44 overflow-hidden rounded-md border bg-popover p-1 shadow-md">
+ {items.map((item, index) => (
+ <button
+ key={item.title}
+ type="button"
+ // The caret must stay in the typed "/query": the command deletes it.
+ onMouseDown={(e) => e.preventDefault()}
+ onClick={() => command(item)}
+ onMouseEnter={() => setActiveIndex(index)}
+ className={cn(
+ 'flex w-full items-center gap-2 rounded px-2 py-1.5 text-left text-sm [&_svg]:size-4 [&_svg]:text-muted-foreground',
+ index === activeIndex && 'bg-accent text-accent-foreground',
+ )}
+ >
+ <item.icon />
+ {item.title}
+ </button>
+ ))}
+ </div>
+ );
+}
diff --git a/apps/web/src/features/issue/components/editor/EditorToolbarButton.tsx b/apps/web/src/features/issue/components/editor/EditorToolbarButton.tsx
new file mode 100644
index 00000000..3e7d7439
--- /dev/null
+++ b/apps/web/src/features/issue/components/editor/EditorToolbarButton.tsx
@@ -0,0 +1,27 @@
+import { cn } from '@/lib/utils';
+
+export default function EditorToolbarButton({
+ active,
+ onClick,
+ children,
+}: {
+ active?: boolean;
+ onClick: () => void;
+ children: React.ReactNode;
+}) {
+ return (
+ <button
+ type="button"
+ // Selection collapses on mousedown-then-click otherwise — the bubble
+ // menu would disappear before the command runs.
+ onMouseDown={(e) => e.preventDefault()}
+ onClick={onClick}
+ className={cn(
+ 'flex size-7 items-center justify-center rounded text-muted-foreground hover:bg-accent hover:text-accent-foreground [&_svg]:size-3.5',
+ active && 'bg-accent text-accent-foreground',
+ )}
+ >
+ {children}
+ </button>
+ );
+}
diff --git a/apps/web/src/features/issue/components/editor/IssueMarkdownEditor.tsx b/apps/web/src/features/issue/components/editor/IssueMarkdownEditor.tsx
index f4b6cc51..3f01c075 100644
--- a/apps/web/src/features/issue/components/editor/IssueMarkdownEditor.tsx
+++ b/apps/web/src/features/issue/components/editor/IssueMarkdownEditor.tsx
@@ -1,56 +1,26 @@
-import { useEffect, useRef } from 'react';
+import { useEffect, useRef, useState } from 'react';
import { useEditor, EditorContent, type Editor } from '@tiptap/react';
-import { BubbleMenu } from '@tiptap/react/menus';
import StarterKit from '@tiptap/starter-kit';
+import CodeBlockLowlight from '@tiptap/extension-code-block-lowlight';
import Placeholder from '@tiptap/extension-placeholder';
import Link from '@tiptap/extension-link';
-import Image from '@tiptap/extension-image';
+import { common, createLowlight } from 'lowlight';
import { Markdown } from 'tiptap-markdown';
+import { ResizableImage } from '../../utils/tiptap-image';
+import { SlashCommand } from '../../utils/tiptap-slash-command';
import { Video } from '../../utils/tiptap-video';
-import { attachmentHtml } from '../../utils/attachmentEmbed';
-import {
- Bold,
- Italic,
- Strikethrough,
- Code,
- Link as LinkIcon,
- List,
- ListOrdered,
- Quote,
-} from 'lucide-react';
-import { cn } from '@/lib/utils';
+import { attachmentHtml, type Embeddable } from '../../utils/attachmentEmbed';
+import EditorImagePicker from './EditorImagePicker';
+import EditorSelectionMenu from './EditorSelectionMenu';
-// A minimal WYSIWYG editor over markdown text — no persistent toolbar, just a
-// floating bubble menu on selection (Linear/Notion-style). Content in and out
-// is plain markdown (via tiptap-markdown), matching how descriptions are
-// stored everywhere else in the pipeline.
-
-function ToolbarButton({
- active,
- onClick,
- children,
-}: {
- active?: boolean;
- onClick: () => void;
- children: React.ReactNode;
-}) {
- return (
- <button
- type="button"
- // Selection collapses on mousedown-then-click otherwise — the bubble
- // menu would disappear before the command runs.
- onMouseDown={(e) => e.preventDefault()}
- onClick={onClick}
- className={cn(
- 'flex size-7 items-center justify-center rounded text-muted-foreground hover:bg-accent hover:text-accent-foreground [&_svg]:size-3.5',
- active && 'bg-accent text-accent-foreground',
- )}
- >
- {children}
- </button>
- );
-}
+// Shared by every editor instance. A block with no language is detected by
+// highlightAuto, so there is no language picker.
+const lowlight = createLowlight(common);
+// A minimal WYSIWYG editor over markdown text — no persistent toolbar, just a
+// bubble menu on selection and a "/" command list (Linear/Notion-style). Content
+// in and out is plain markdown (via tiptap-markdown), matching how descriptions
+// are stored everywhere else in the pipeline.
export default function IssueMarkdownEditor({
defaultValue,
onChange,
@@ -60,6 +30,7 @@ export default function IssueMarkdownEditor({
className,
editable = true,
uploadFile,
+ imageAttachments,
}: {
defaultValue: string;
onChange?: (markdown: string) => void;
@@ -73,11 +44,14 @@ export default function IssueMarkdownEditor({
// render comment bodies as markdown.
editable?: boolean;
// When set, files dropped onto the editor are uploaded and inserted at the
- // drop position (image/video inline, other files as a link). The uploaded
- // shape mirrors the Attachment DTO.
- uploadFile?: (file: File) => Promise<{ url: string; contentType: string; filename: string }>;
+ // drop position (image/video inline, other files as a link).
+ uploadFile?: (file: File) => Promise<Embeddable>;
+ // Offered in a picker, to embed an upload again. Omitted where there is no
+ // issue to read them from yet (the create modal), which drops the picker.
+ imageAttachments?: Embeddable[];
}) {
const editorRef = useRef<Editor | null>(null);
+ const [imagePickerOpen, setImagePickerOpen] = useState(false);
// Upload each file and insert it (image/video inline, other files as a link)
// starting at `pos`, advancing past each insertion. Shared by drop and paste.
@@ -96,20 +70,18 @@ export default function IssueMarkdownEditor({
const editor = useEditor({
editable,
extensions: [
- StarterKit,
+ // Replaces StarterKit's plain code block, keeping the node name codeBlock.
+ StarterKit.configure({ codeBlock: false }),
+ CodeBlockLowlight.configure({ lowlight }),
Placeholder.configure({ placeholder }),
Link.configure({ openOnClick: false, autolink: true }),
- // Renders ![](url) markdown inline. Attachments are embedded this way from
- // the issue's Attachments panel. `style` is preserved so a raw
- // <img style="max-width:50%"> (used to embed Instagram photos at half size)
- // keeps its sizing; plain markdown images carry no style and render full width.
- Image.extend({
- addAttributes() {
- return { ...this.parent?.(), style: { default: null } };
- },
- }),
+ // Renders ![](url) markdown inline.
+ ResizableImage,
// Renders video attachments as an inline <video> player.
Video,
+ SlashCommand.configure({
+ onPickImage: imageAttachments ? () => setImagePickerOpen(true) : undefined,
+ }),
// html:true so the custom <video> tag survives the markdown round-trip.
// tiptap only instantiates nodes declared in its schema (there is no
// script/iframe node), so this does not allow arbitrary HTML to execute.
@@ -161,68 +133,19 @@ export default function IssueMarkdownEditor({
return (
<div className={className}>
- {editable && (
- <BubbleMenu
- editor={editor}
- options={{ placement: 'top' }}
- className="flex items-center gap-0.5 rounded-md border bg-popover p-1 shadow-md"
- >
- <ToolbarButton
- active={editor.isActive('bold')}
- onClick={() => editor.chain().focus().toggleBold().run()}
- >
- <Bold />
- </ToolbarButton>
- <ToolbarButton
- active={editor.isActive('italic')}
- onClick={() => editor.chain().focus().toggleItalic().run()}
- >
- <Italic />
- </ToolbarButton>
- <ToolbarButton
- active={editor.isActive('strike')}
- onClick={() => editor.chain().focus().toggleStrike().run()}
- >
- <Strikethrough />
- </ToolbarButton>
- <ToolbarButton
- active={editor.isActive('code')}
- onClick={() => editor.chain().focus().toggleCode().run()}
- >
- <Code />
- </ToolbarButton>
- <ToolbarButton
- active={editor.isActive('link')}
- onClick={() => {
- const url = window.prompt('Link URL', editor.getAttributes('link').href ?? '');
- if (url === null) return;
- if (url === '') editor.chain().focus().unsetLink().run();
- else editor.chain().focus().setLink({ href: url }).run();
- }}
- >
- <LinkIcon />
- </ToolbarButton>
- <ToolbarButton
- active={editor.isActive('blockquote')}
- onClick={() => editor.chain().focus().toggleBlockquote().run()}
- >
- <Quote />
- </ToolbarButton>
- <ToolbarButton
- active={editor.isActive('bulletList')}
- onClick={() => editor.chain().focus().toggleBulletList().run()}
- >
- <List />
- </ToolbarButton>
- <ToolbarButton
- active={editor.isActive('orderedList')}
- onClick={() => editor.chain().focus().toggleOrderedList().run()}
- >
- <ListOrdered />
- </ToolbarButton>
- </BubbleMenu>
- )}
+ {editable && <EditorSelectionMenu editor={editor} />}
<EditorContent editor={editor} />
+ {imageAttachments && (
+ <EditorImagePicker
+ open={imagePickerOpen}
+ images={imageAttachments}
+ onClose={() => setImagePickerOpen(false)}
+ onPick={(a) => {
+ setImagePickerOpen(false);
+ editor.chain().focus().insertContent(attachmentHtml(a)).run();
+ }}
+ />
+ )}
</div>
);
}
diff --git a/apps/web/src/features/issue/components/fields/IssueCustomFieldBody.tsx b/apps/web/src/features/issue/components/fields/IssueCustomFieldBody.tsx
index b1d3c236..3665beb2 100644
--- a/apps/web/src/features/issue/components/fields/IssueCustomFieldBody.tsx
+++ b/apps/web/src/features/issue/components/fields/IssueCustomFieldBody.tsx
@@ -1,5 +1,6 @@
import { type CustomField, type IssueFieldValue, type IssueFieldValueInput } from '@/lib/api';
import IssueMarkdownEditor from '../editor/IssueMarkdownEditor';
+import { type Embeddable } from '../../utils/attachmentEmbed';
import IssueCustomFieldControl from './IssueCustomFieldControl';
// One custom field rendered in the issue body (under the description) rather than
@@ -11,13 +12,15 @@ export default function IssueCustomFieldBody({
current,
saveKey,
uploadFile,
+ imageAttachments,
onSetField,
readOnly,
}: {
def: CustomField;
current: IssueFieldValue | undefined;
saveKey: string;
- uploadFile?: (file: File) => Promise<{ url: string; contentType: string; filename: string }>;
+ uploadFile?: (file: File) => Promise<Embeddable>;
+ imageAttachments?: Embeddable[];
onSetField: (fieldId: number, value: IssueFieldValueInput) => void;
readOnly?: boolean;
}) {
@@ -33,6 +36,7 @@ export default function IssueCustomFieldBody({
placeholder="Empty"
editable={!readOnly}
uploadFile={uploadFile}
+ imageAttachments={imageAttachments}
onBlur={(md) => {
const next = md.trim() === '' ? null : md;
if (next !== ((current?.value as string | null) ?? null))
diff --git a/apps/web/src/features/issue/hooks/useIssueDetail.ts b/apps/web/src/features/issue/hooks/useIssueDetail.ts
index 03a14a8a..aca3ffed 100644
--- a/apps/web/src/features/issue/hooks/useIssueDetail.ts
+++ b/apps/web/src/features/issue/hooks/useIssueDetail.ts
@@ -13,7 +13,7 @@ import { useLiveRefresh } from '@/hooks/useLiveRefresh';
import { qk } from '@/services/queryKeys';
import { useAttachmentsQuery, useUploadAttachment } from '../services/attachments.service';
import { useFeedQuery, useTimelineQuery } from '../services/comments.service';
-import { attachmentMarkdown } from '../utils/attachmentEmbed';
+import { attachmentMarkdown, isImage } from '../utils/attachmentEmbed';
import { fieldDefsForType } from '../utils/fieldDefs';
// Loads one issue and exposes the edit operations for the detail surfaces.
@@ -29,10 +29,13 @@ export function useIssueDetail(
// Started here, not in the components that read them: those mount only after the
// issue arrives, which would put these reads in a second wave after it.
- useAttachmentsQuery(issueId);
+ const attachmentsQuery = useAttachmentsQuery(issueId);
useTimelineQuery(issueId);
useFeedQuery(issueId);
+ // What the markdown editors' image picker offers.
+ const imageAttachments = (attachmentsQuery.data ?? []).filter(isImage);
+
const updateIssue = useUpdateIssue(project.project.key);
const setFieldValue = useSetFieldValue(project.project.key);
const uploadAttachment = useUploadAttachment();
@@ -92,6 +95,7 @@ export function useIssueDetail(
toggleLabel,
insertAttachment,
uploadFile,
+ imageAttachments,
setDescEditor,
};
}
diff --git a/apps/web/src/features/issue/utils/attachmentEmbed.ts b/apps/web/src/features/issue/utils/attachmentEmbed.ts
index 6a7186f0..cdc3e0d8 100644
--- a/apps/web/src/features/issue/utils/attachmentEmbed.ts
+++ b/apps/web/src/features/issue/utils/attachmentEmbed.ts
@@ -1,6 +1,6 @@
// Embedding an attachment into a description. Both a stored Attachment and a
// fresh upload response satisfy this shape.
-type Embeddable = { url: string; contentType: string; filename: string };
+export type Embeddable = { url: string; contentType: string; filename: string };
export const isImage = (a: Embeddable) => a.contentType.startsWith('image/');
export const isVideo = (a: Embeddable) => a.contentType.startsWith('video/');
diff --git a/apps/web/src/features/issue/utils/tiptap-image.ts b/apps/web/src/features/issue/utils/tiptap-image.ts
new file mode 100644
index 00000000..f9c3a68e
--- /dev/null
+++ b/apps/web/src/features/issue/utils/tiptap-image.ts
@@ -0,0 +1,69 @@
+import Image from '@tiptap/extension-image';
+import { ReactNodeViewRenderer } from '@tiptap/react';
+import EditorResizableImage from '../components/editor/EditorResizableImage';
+
+// Safe inside a double-quoted HTML attribute: a filename may hold any of these.
+const escapeAttribute = (value: string) =>
+ value.replaceAll('&', '&amp;').replaceAll('"', '&quot;').replaceAll('<', '&lt;');
+
+// The backslash is escaped alongside the delimiters: without it `a\)b` serializes
+// as `a\\)b`, where the `)` is no longer escaped and ends the URL early.
+function markdownImage(src: string, alt: string, title: string | null): string {
+ const escapedAlt = alt.replaceAll(/[[\]\\]/g, '\\$&');
+ const escapedSrc = src.replaceAll(/[\\()]/g, '\\$&');
+ const escapedTitle = title ? ` "${title.replaceAll(/["\\]/g, '\\$&')}"` : '';
+ return `![${escapedAlt}](${escapedSrc}${escapedTitle})`;
+}
+
+// Neither the width nor an embed's `style` fits `![](url)` syntax, so an image
+// carrying either serializes as a raw <img> tag (tiptap-markdown runs html:true).
+export const ResizableImage = Image.extend({
+ addAttributes() {
+ return {
+ ...this.parent?.(),
+ // Kept so a raw <img style="max-width:50%"> keeps its sizing.
+ style: { default: null },
+ width: {
+ default: null,
+ parseHTML: (element) => {
+ const width = Number.parseInt(element.getAttribute('width') ?? '', 10);
+ return Number.isNaN(width) ? null : width;
+ },
+ renderHTML: (attributes) => (attributes.width ? { width: attributes.width } : {}),
+ },
+ };
+ },
+
+ addNodeView() {
+ return ReactNodeViewRenderer(EditorResizableImage);
+ },
+
+ addStorage() {
+ return {
+ markdown: {
+ serialize(
+ state: { write: (text: string) => void },
+ node: {
+ attrs: { src?: string; alt?: string; title?: string; width?: number; style?: string };
+ },
+ ) {
+ const src = node.attrs.src ?? '';
+ const alt = node.attrs.alt ?? '';
+ const title = node.attrs.title ?? null;
+ const { width, style } = node.attrs;
+ if (!width && !style) {
+ state.write(markdownImage(src, alt, title));
+ return;
+ }
+ const titleAttribute = title ? ` title="${escapeAttribute(title)}"` : '';
+ const widthAttribute = width ? ` width="${width}"` : '';
+ const styleAttribute = style ? ` style="${escapeAttribute(style)}"` : '';
+ state.write(
+ `<img src="${escapeAttribute(src)}" alt="${escapeAttribute(alt)}"${titleAttribute}${widthAttribute}${styleAttribute}>`,
+ );
+ },
+ parse: {},
+ },
+ };
+ },
+});
diff --git a/apps/web/src/features/issue/utils/tiptap-slash-command.ts b/apps/web/src/features/issue/utils/tiptap-slash-command.ts
new file mode 100644
index 00000000..bcd146e7
--- /dev/null
+++ b/apps/web/src/features/issue/utils/tiptap-slash-command.ts
@@ -0,0 +1,84 @@
+import { Extension, type Editor, type Range } from '@tiptap/core';
+import { ReactRenderer } from '@tiptap/react';
+import Suggestion from '@tiptap/suggestion';
+import { Image as ImageIcon, SquareCode, type LucideIcon } from 'lucide-react';
+import EditorSlashMenu, { type SlashMenuRef } from '../components/editor/EditorSlashMenu';
+
+export type SlashItem = {
+ title: string;
+ icon: LucideIcon;
+ // The range covers the typed "/query", which the command removes before acting.
+ run: (props: { editor: Editor; range: Range }) => void;
+};
+
+export type SlashCommandOptions = {
+ // Omitted where there is nothing to pick from, which drops the Image item.
+ onPickImage?: () => void;
+};
+
+// Typing "/" opens a list of blocks to insert — how they are reached with nothing
+// selected, where the bubble menu has nothing to hang off.
+export const SlashCommand = Extension.create<SlashCommandOptions>({
+ name: 'slashCommand',
+
+ addProseMirrorPlugins() {
+ const { onPickImage } = this.options;
+
+ return [
+ Suggestion<SlashItem, SlashItem>({
+ editor: this.editor,
+ char: '/',
+ // In a dialog the list must mount inside it — Radix makes the rest of the
+ // page inert. Falls back to document.body when no dialog is open.
+ container: '[data-slot="dialog-content"]',
+ items: ({ query }) => {
+ const items: SlashItem[] = [
+ {
+ title: 'Code block',
+ icon: SquareCode,
+ run: ({ editor, range }) =>
+ editor.chain().focus().deleteRange(range).toggleCodeBlock().run(),
+ },
+ ];
+ if (onPickImage) {
+ items.push({
+ title: 'Image',
+ icon: ImageIcon,
+ run: ({ editor, range }) => {
+ editor.chain().focus().deleteRange(range).run();
+ onPickImage();
+ },
+ });
+ }
+ const needle = query.toLowerCase();
+ return items.filter((item) => item.title.toLowerCase().includes(needle));
+ },
+ command: ({ editor, range, props }) => props.run({ editor, range }),
+ render: () => {
+ let component: ReactRenderer<SlashMenuRef> | null = null;
+ let unmount: (() => void) | null = null;
+
+ return {
+ onStart: (props) => {
+ component = new ReactRenderer(EditorSlashMenu, {
+ props,
+ editor: props.editor,
+ // The plugin sets no stacking order; the side panel below is z-40.
+ className: 'z-50',
+ });
+ unmount = props.mount(component.element);
+ },
+ onUpdate: (props) => component?.updateProps(props),
+ onKeyDown: (props) => component?.ref?.onKeyDown(props) ?? false,
+ onExit: () => {
+ unmount?.();
+ component?.destroy();
+ component = null;
+ unmount = null;
+ },
+ };
+ },
+ }),
+ ];
+ },
+});
diff --git a/bun.lock b/bun.lock
index 1d4f026c..3cf7bd09 100644
--- a/bun.lock
+++ b/bun.lock
@@ -83,15 +83,17 @@
"@shadcn/react": "^0.2.1",
"@tanstack/react-query": "^5.66.0",
"@tanstack/react-virtual": "^3.14.5",
- "@tiptap/core": "^3.27.3",
- "@tiptap/extension-image": "^3.27.3",
- "@tiptap/extension-link": "^3.27.3",
- "@tiptap/extension-placeholder": "^3.27.3",
- "@tiptap/extension-task-item": "^3.27.3",
- "@tiptap/extension-task-list": "^3.27.3",
- "@tiptap/pm": "^3.27.3",
- "@tiptap/react": "^3.27.3",
- "@tiptap/starter-kit": "^3.27.3",
+ "@tiptap/core": "^3.29.1",
+ "@tiptap/extension-code-block-lowlight": "^3.29.1",
+ "@tiptap/extension-image": "^3.29.1",
+ "@tiptap/extension-link": "^3.29.1",
+ "@tiptap/extension-placeholder": "^3.29.1",
+ "@tiptap/extension-task-item": "^3.29.1",
+ "@tiptap/extension-task-list": "^3.29.1",
+ "@tiptap/pm": "^3.29.1",
+ "@tiptap/react": "^3.29.1",
+ "@tiptap/starter-kit": "^3.29.1",
+ "@tiptap/suggestion": "^3.29.1",
"@uiw/react-color": "^2.10.3",
"@xyflow/react": "^12.11.2",
"better-auth": "^1.3.4",
@@ -100,6 +102,7 @@
"cmdk": "^1.1.1",
"date-fns": "^4.4.0",
"isomorphic-dompurify": "^3.19.0",
+ "lowlight": "^3.3.0",
"lucide-react": "^0.474.0",
"marked": "^18.0.5",
"next": "^15.1.6",
@@ -942,69 +945,73 @@
"@tanstack/vue-virtual": ["@tanstack/[email protected]", "", { "dependencies": { "@tanstack/virtual-core": "3.17.4" }, "peerDependencies": { "vue": "^2.7.0 || ^3.0.0" } }, "sha512-E8OCutx7QnwZdvpJijz0Q2PHsYDWBWjnGr3TvgWiqxTU35jB1kVhtkd93scRV7tTFuId2tg3x2iFiw+IE4evjQ=="],
- "@tiptap/core": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/pm": "3.27.3" } }, "sha512-TJj5929M96C1KlH796wS8MywfHDh49RhmakOyzyMMc9pFmRj9UXi1gj0TCXgsZtjEOG7B+m/DRvNOvnuvR9kmg=="],
+ "@tiptap/core": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/pm": "3.29.1" } }, "sha512-aXTluPLRB2cFyEw77KkGKtTcfhQ6Snf1KPRpQnpYNGQm8uAmJenl0Cui7PRl2OxuY0Kb2PQ4XhR8p63lyLyKvw=="],
- "@tiptap/extension-blockquote": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-VGoVMcqcGkkoduzEqQ70ZK5OOHBDn5iYeHJSgkvNoSHzYHl0CaKoWxoDKJjSWC5DAM4mBU+tXTlsiUp3evRMfA=="],
+ "@tiptap/extension-blockquote": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1", "@tiptap/pm": "3.29.1" } }, "sha512-ELA0pvI/mAsIHkZRp7ngzdc1v4j/hmJIwsFKgqwTjsEduYS/BgheCEImhAppeaTb4C2rSic3Bnt7reYWhQv3dw=="],
- "@tiptap/extension-bold": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-pchbycFppBqBmvk+OxrQLIPZLNd3rNbcm7zOa+OTjluphpAcsJ6AmHBmiRhJUYWitV6/SA+0nujcaWxBp5hNcQ=="],
+ "@tiptap/extension-bold": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-2m7Vw4hf8Up/jC4069wmbqAipxd7mHr5UmBXfTcxM6XiVIKoc3HT4qEvLDgRKexvDGZsTN7p4ZppH73Cv7RMgA=="],
- "@tiptap/extension-bubble-menu": ["@tiptap/[email protected]", "", { "dependencies": { "@floating-ui/dom": "^1.0.0" }, "peerDependencies": { "@tiptap/core": "3.27.3", "@tiptap/pm": "3.27.3" } }, "sha512-PKSM9g8BXzO0Lxm2gOin7FAFvxO6T0QvlXTXVke/GJn/sR1tEz7w5ybsvweytUPmSliUc601pfIUOHKEhIVC2Q=="],
+ "@tiptap/extension-bubble-menu": ["@tiptap/[email protected]", "", { "dependencies": { "@floating-ui/dom": "^1.0.0" }, "peerDependencies": { "@tiptap/core": "3.29.1", "@tiptap/pm": "3.29.1" } }, "sha512-Dv7xE9Qhv9RtWynnzTVgp7GN8BGqG3mZ5jf56EVqLEUmnE+jbt5jreN+C/oESlMsJ07FXeYWZxKM0sa3Pz9gfA=="],
- "@tiptap/extension-bullet-list": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.27.3" } }, "sha512-owQW6mcgnYgQU1z5BqmslcjZFBUm1SGM/Ax++4R6XelIt/7ol6uSTjzjAzum+ASW7UlBbuJHuSgRjl8cA+RGkg=="],
+ "@tiptap/extension-bullet-list": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.29.1" } }, "sha512-Z5dXne6mnBOlsOVkmtxBSiTpDJ1MQZ9IDCoRxeabAf9AOXbyrv4h+JcPkgMkbUMflx/xkG3gUVgfrki4EGKn1Q=="],
- "@tiptap/extension-code": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-T7JF10Y3k7fyVujXXLVubdUh7fctgBUoiuxbvjotpltg1U/mPbOcT0UW/uif9j3H8TFvAwNApVw3x8bwwFUakA=="],
+ "@tiptap/extension-code": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-1dCacqr+Il816DWPVlaXzEVJdXMZJHeHs69U2rB137AD85KeqKPMqkPCEw1zb36fY5PdnjKrw1J4TmVIuDjPXQ=="],
"@tiptap/extension-code-block": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3", "@tiptap/pm": "3.27.3" } }, "sha512-3CVnzkpGoqqI5KaXI9l9PMwLkx34SYY63tpeo0I0QjDk4LU+JTAQDTPJFSwB4zTsHZ7ZFMU0jjasFOZ1kZRVgw=="],
- "@tiptap/extension-document": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-PR25MRv56Nm4ETVLwA8nAh/0RrVdvD4D2nxnAC8kUkxz1WOYDaqTfPqqEeSWDoUUTUp1I1xzDkD4x0gEnAlmZA=="],
+ "@tiptap/extension-code-block-lowlight": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1", "@tiptap/extension-code-block": "3.29.1", "@tiptap/pm": "3.29.1", "highlight.js": "^11", "lowlight": "^2 || ^3" } }, "sha512-r0kUI3bUPI+3Q3UQDMEfE5BPJVz1AFAcIZC41chX+dji199+11IjWSDZVVO7PVZ2fBMgtI/SFV9hLRBdG3Awqg=="],
- "@tiptap/extension-dropcursor": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extensions": "3.27.3" } }, "sha512-XsL0Ziual+ynXyx5JgLb0KIOShlMN3MW7+GQvf9PGRb1vOB7IOTRFDxMPrxDWcFIZ6WWMWSrbkCLOKHStt1BWg=="],
+ "@tiptap/extension-document": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-mnBPM8equ1SpxcfD2Mh5IkFPV9QnJ4iKuVd2xT6CDEBRsh1KRhkDuDH/hJKfSNiXja51v23r51UvfVmL+j9KHQ=="],
- "@tiptap/extension-floating-menu": ["@tiptap/[email protected]", "", { "peerDependencies": { "@floating-ui/dom": "^1.0.0", "@tiptap/core": "3.27.3", "@tiptap/pm": "3.27.3" } }, "sha512-qL+g1Z6MqZvYG4mHTPwub9II2fWZY+2I5VFfV8fzqy1HchBOyY6Df0mRKDNb0bmjBdFabIXnswz3iqLx3mDTbw=="],
+ "@tiptap/extension-dropcursor": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extensions": "3.29.1" } }, "sha512-2/Fhyr2DGNZ5HhLWQHlqhOJEzgnW2Wh3+u3/iCO/oYCjLZqsR7k8NoeFSTyRru7Cs1EMvMG/1uID69hPhqU6ng=="],
- "@tiptap/extension-gapcursor": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extensions": "3.27.3" } }, "sha512-MVBqzwYrDOttkn2GOrvvKTDCymfSS2VGSKpahcKKhge5mweSDiqko2X1vBDnMF8aVW3WxIFfDMmO4VMmh8HDZA=="],
+ "@tiptap/extension-floating-menu": ["@tiptap/[email protected]", "", { "peerDependencies": { "@floating-ui/dom": "^1.0.0", "@tiptap/core": "3.29.1", "@tiptap/pm": "3.29.1" } }, "sha512-2huV5pNVtYTVpzQZ6nlJSXycv3jNzEMpfuflOxdmHekFuKbMzUMhxBYfln69xMyMQYe03IIotEyOhkNOeSrKcQ=="],
- "@tiptap/extension-hard-break": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-cySObJITR2CRrWII87mI2LJ12wEETTnxt2p1vvC6ZtUmKnB50fOu+ux8ZEt6KYNocIOtrEZthNFzTOx7R7UtrQ=="],
+ "@tiptap/extension-gapcursor": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extensions": "3.29.1" } }, "sha512-JZkPZjoBZI75gwLqEyh2YhPM4LnrwDjEiLMxb758qHQ96tBze39W6prH0oPC6p06pBf2eloAgMLSkmauqlzScw=="],
- "@tiptap/extension-heading": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-QHXnsNic6iId8pnsFZ8z4PkX5L+HCHa/D7rAi3nNWtPlSIAOxo4nKrALcB5/tHmY+XL8kEXKH3nsNLNEDLCYPg=="],
+ "@tiptap/extension-hard-break": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-GZ5kBS29XWetk0yFmXNbIpL4qI1d9IpHIJI7yGxS8/NCtMlMQoEjI/0qnrHH75FkOZLwK31f0TZSVh8C1m7gZw=="],
- "@tiptap/extension-horizontal-rule": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3", "@tiptap/pm": "3.27.3" } }, "sha512-sNCuo0+Q001B5XTVWY+ULpWXQqtBNRmAqXxAexZl44bx3rDqHG8OzjwT4EM0LIj2+BYVbdqwaJ1vfQbZVEEbig=="],
+ "@tiptap/extension-heading": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-5Lq2rIFOTXHVammrMvBSiTUjy2sc0cJfFNOMJHCypuQLz5rnAnNZ2L3xXCbtm/ZMVh3MiWSR5ay1xnW4BJIOiA=="],
- "@tiptap/extension-image": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-3OVLRH54Xkh9yrI5oGIempuqZkhLG1plyJBRnapx0N8j9IjEImOLF78kPYoAZzaBuU78M3Zk/E7HQZgmnaNRBg=="],
+ "@tiptap/extension-horizontal-rule": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1", "@tiptap/pm": "3.29.1" } }, "sha512-/jZ8oxlp06qa5JR9CHSx6vZyp2zFuv7RsHVG9nouFqpmz2nuHUUDm3d/nltNqX5QjuYfx2zjT9CEJ6uQexSzdw=="],
- "@tiptap/extension-italic": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-7VpVi2vn8kGFAc/HLrt96J/E6+LXOGKn8xLhJS863t150yLIG3EPQLA1h+G5O6eo+/w+9YokvJAAJoeDihj1Jg=="],
+ "@tiptap/extension-image": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-NIED2sLQgRuIvvvTvl3gLsOUmaES3fp2bCziFhb906EG56pNUjr7omlPqlJfJIFM21fkYmUmuQjrGlByURpx5g=="],
- "@tiptap/extension-link": ["@tiptap/[email protected]", "", { "dependencies": { "linkifyjs": "^4.3.3" }, "peerDependencies": { "@tiptap/core": "3.27.3", "@tiptap/pm": "3.27.3" } }, "sha512-iXmu1tJ/3vP60c9d+zfO3+X64vod2EyBrM1qeufecAtWA6t0bT9tYeka0Zq6qDRGsZK5zViO9F2lsY7eHXiYuA=="],
+ "@tiptap/extension-italic": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-WzBTQ6XUv/7I0EzGgImpBa4vFGlHbOCq22NNo4CGjRnIRFyDwC+8mqSNawJzrFOborKjgKbn8dJVlJ+uuVZYKw=="],
- "@tiptap/extension-list": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3", "@tiptap/pm": "3.27.3" } }, "sha512-52rcaSzYjtVGUrNkdB8k1Bw/rId2lBirrWMvmnBLsieoeFd8zo8ow5zkwV057BYSgWXfnMAV7GOpDyq2IoSD9A=="],
+ "@tiptap/extension-link": ["@tiptap/[email protected]", "", { "dependencies": { "linkifyjs": "^4.3.3" }, "peerDependencies": { "@tiptap/core": "3.29.1", "@tiptap/pm": "3.29.1" } }, "sha512-KtWfsxG/NzNaAwcOSTRyn1r1W6KlkEU4Q8pq7ZxB6ltjXF3TJkUKYe/sQpvfjy9RtEVwh6zdB7ZhsEl8CX8EkA=="],
- "@tiptap/extension-list-item": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.27.3" } }, "sha512-UddhVaQ7+V9IfQVVE8AJLNzSmyaaNpZPQsoPQxFNlJyOFxD6RwSTT8L4rb/TwbUctxSFWpyd1J7exzf33Ony/g=="],
+ "@tiptap/extension-list": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1", "@tiptap/pm": "3.29.1" } }, "sha512-Uclc3pMjylz0xpIArgKKmo7WSlMO370H+K+45uN5hU0uSkp1A8YGBwtU6rBsVAx6nbMXLrhNQjZ1IbLtF605OQ=="],
- "@tiptap/extension-list-keymap": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.27.3" } }, "sha512-GZPVg4QCFm41yTMPEPeTlH2odNeQwRuWHY/pt3pI5LsfipQ4kDBv6h9we928vJQUnU2Gg9Y3cL5iRbmXIWWTUA=="],
+ "@tiptap/extension-list-item": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.29.1" } }, "sha512-zwMNXxi2AXPWk9z6t4/5J7b11An5WZ4AYR4mpjqrcAnE5G4epOZlX+GLaZK16PzGWm0JouDskcYicu5GL1AE8Q=="],
- "@tiptap/extension-ordered-list": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.27.3" } }, "sha512-oHYoE65WfRSM5tCcXi8MtQmzPxz83E2qw0pa2yHBKwr9xCCQUu8vJHJE+EJGduWdaNImv43+6/6kVMeYYbXRKg=="],
+ "@tiptap/extension-list-keymap": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.29.1" } }, "sha512-1Z1DC8eB0Jg1ya7Q6icGTpTBqaCL/hwqVsep7hmpwd8Benu+ke6Ja2hGKUfDuv9hargv5+S7cqEsHLQaMIBSew=="],
- "@tiptap/extension-paragraph": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-G5XPCN7lm0nULYPelJC2eUbKbt1q97j67e/HSWxwMYEXhceec5eNAtVfpDCRyXNO9osyBi2kXqLv/IQtxbch9A=="],
+ "@tiptap/extension-ordered-list": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.29.1" } }, "sha512-eLKZHk+8/XJA78zjAipcDt/0cCXo1P6KmT/5PjWZepXY4BoMBFFK8mjW+l3cUQJsKIyknvwoepiMpg1Om31o/g=="],
- "@tiptap/extension-placeholder": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extensions": "3.27.3" } }, "sha512-Y43dGaN3rA0oU4CWmXkZ2idjZjrxPX9oy0zZL92EgXOguhAUToBs0dIxRG5ZanYX9A8kKKWPlfeRFlBMtRhKvg=="],
+ "@tiptap/extension-paragraph": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-kfYkKXce3AjU8hWW1gFES7xsKn7UgObpmVLjufKgoT9h82faAE7lWE7IMAtl30ztVVvQSpF9RdxGoIUXdLiSxA=="],
- "@tiptap/extension-strike": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-dp6Rs3I4zLVJPvAw2Q9yrNuYKcX5LTONH3/oyULvGsrqq5DKz7pqscfwhwnDSzrgm/3aCz6B9r1BVHlYI/DXlA=="],
+ "@tiptap/extension-placeholder": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extensions": "3.29.1" } }, "sha512-5phpBILHAJhvJUnbne7mCiisYstD0CWakhuTCRl2ugxL664Ew2+avnRIKIjww2O6aL2eue1StJDI5kPdVHrnAw=="],
- "@tiptap/extension-task-item": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.28.0" } }, "sha512-jLOk+CaPR8DzTFe+qdB78OxCPyb2TLISNWGL3zZvDSvngwCuQYYibcAa2L6yYN3bpooNKc3nY+kCfdevI/v21w=="],
+ "@tiptap/extension-strike": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-7/8yUQN1/P5JCbhT+TycziNG3XWBMXADjNPmDipflpyi4EEApoFSamnj5+JL48qYj7bC1JmGtw7eXANPKva+9Q=="],
- "@tiptap/extension-task-list": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.28.0" } }, "sha512-j13v2WoGVOGrkM5sXibos/ojUPila+yLQwduqI3+bFstsOXied224atL/76db5Y4vGnwwc4V5Kiqj7DMV7Ypiw=="],
+ "@tiptap/extension-task-item": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.29.1" } }, "sha512-y1edphHG4tvsJitWztOSnn2Fpp1ywwFYzudhFXI5lv+UPuuzcTJIaCOVW3k+7TYb6ZTl4gjciHtB62ts0PBsQg=="],
- "@tiptap/extension-text": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-wSatZ/bop0pleeC18nF90zvWWEoRe/ewZncvm8LjcMrXwq41kTEs3j7nZflMYAh7X8fZvu00UIMeEyCNJl+5Yg=="],
+ "@tiptap/extension-task-list": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/extension-list": "3.29.1" } }, "sha512-Dkr9BLzc1DV8VN0HnJ7XoN0Afc9zTLyHFocOkMgo3jhkvIA1c+RmtqfjZdaKRPXZSK2Af8PEo4wHdNr7sSZNVg=="],
- "@tiptap/extension-underline": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3" } }, "sha512-YH7ka/Rp7ZwlzTuQCcs0OZ4CMSx/P/MzbseQKxKebEIZreWaKMZAaED97Fnu0dA66VlreD4/1C7xHJy84ovamg=="],
+ "@tiptap/extension-text": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-SdwfKTchZf0saMSwmXFEqpYMjgAGXaiUGuwYic/oB5Ri6NCTH2gy8SrCqISBLfUOP7YXGtPGyifZtMtXKAgFAg=="],
- "@tiptap/extensions": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.27.3", "@tiptap/pm": "3.27.3" } }, "sha512-IA2QKUVJgzUPEhhkUfr6P5u5GFVfhiApiEaaHXBz07saL2c4HNoVs2RC18QlZDCtLNKrPR1mUScr72u7uYs+YQ=="],
+ "@tiptap/extension-underline": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1" } }, "sha512-BsZk6GDmmlPFqAtUbEQtiwuLAihLt9A4YvyZEwLm7d2zMbzMLJZK/5RD2JvKGJ0jwrcS3ZIo015bEvKa8h/3KQ=="],
- "@tiptap/pm": ["@tiptap/[email protected]", "", { "dependencies": { "prosemirror-changeset": "^2.4.1", "prosemirror-commands": "^1.7.1", "prosemirror-dropcursor": "^1.8.2", "prosemirror-gapcursor": "^1.4.1", "prosemirror-history": "^1.5.0", "prosemirror-inputrules": "^1.5.1", "prosemirror-keymap": "^1.2.3", "prosemirror-model": "^1.25.9", "prosemirror-schema-list": "^1.5.1", "prosemirror-state": "^1.4.4", "prosemirror-tables": "^1.8.5", "prosemirror-transform": "^1.12.0", "prosemirror-view": "^1.41.9" } }, "sha512-ppiG57RxM3HSHHgcHT0hP6Ib4P56Sd5itxdV4w0hIGHKPGyLLKiAkYp+htIHa9T7IvjMdaqxIlsfyV3ZKsS1sw=="],
+ "@tiptap/extensions": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1", "@tiptap/pm": "3.29.1" } }, "sha512-GZMW2r56dnTS28o2wlW8vHxUU4hofZryw03eJnch+amap96tjSU81aV0JCHUN/ySd43KKR5fEZMjhELk6VeYpQ=="],
- "@tiptap/react": ["@tiptap/[email protected]", "", { "dependencies": { "@types/use-sync-external-store": "^0.0.6", "fast-equals": "^5.3.3", "use-sync-external-store": "^1.4.0" }, "optionalDependencies": { "@tiptap/extension-bubble-menu": "^3.27.3", "@tiptap/extension-floating-menu": "^3.27.3" }, "peerDependencies": { "@tiptap/core": "3.27.3", "@tiptap/pm": "3.27.3", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", "@types/react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-lanXxMScw/LevbRFuFw5MoQJ1grmHUDszwph2VIk4l2U5e/EDIw3rr4CeDME6Z4isVReD6zccMFVShkHqsv+jg=="],
+ "@tiptap/pm": ["@tiptap/[email protected]", "", { "dependencies": { "prosemirror-changeset": "^2.4.1", "prosemirror-commands": "^1.7.1", "prosemirror-dropcursor": "^1.8.2", "prosemirror-gapcursor": "^1.4.1", "prosemirror-history": "^1.5.0", "prosemirror-inputrules": "^1.5.1", "prosemirror-keymap": "^1.2.3", "prosemirror-model": "^1.25.11", "prosemirror-schema-list": "^1.5.1", "prosemirror-state": "^1.4.4", "prosemirror-tables": "^1.8.5", "prosemirror-transform": "^1.12.0", "prosemirror-view": "^1.41.9" } }, "sha512-fAzlr2RoV9amvMzioJ0dJHtehsMAO8RZktA9XwDk/Qy+WwgMjlCi9g19d4e6cR/WEwaC5KBsQkAyaWzQYGFxAA=="],
- "@tiptap/starter-kit": ["@tiptap/[email protected]", "", { "dependencies": { "@tiptap/core": "^3.27.3", "@tiptap/extension-blockquote": "^3.27.3", "@tiptap/extension-bold": "^3.27.3", "@tiptap/extension-bullet-list": "^3.27.3", "@tiptap/extension-code": "^3.27.3", "@tiptap/extension-code-block": "^3.27.3", "@tiptap/extension-document": "^3.27.3", "@tiptap/extension-dropcursor": "^3.27.3", "@tiptap/extension-gapcursor": "^3.27.3", "@tiptap/extension-hard-break": "^3.27.3", "@tiptap/extension-heading": "^3.27.3", "@tiptap/extension-horizontal-rule": "^3.27.3", "@tiptap/extension-italic": "^3.27.3", "@tiptap/extension-link": "^3.27.3", "@tiptap/extension-list": "^3.27.3", "@tiptap/extension-list-item": "^3.27.3", "@tiptap/extension-list-keymap": "^3.27.3", "@tiptap/extension-ordered-list": "^3.27.3", "@tiptap/extension-paragraph": "^3.27.3", "@tiptap/extension-strike": "^3.27.3", "@tiptap/extension-text": "^3.27.3", "@tiptap/extension-underline": "^3.27.3", "@tiptap/extensions": "^3.27.3", "@tiptap/pm": "^3.27.3" } }, "sha512-xX3baFqiC30skntdhxUUvyJo755ON9c1pE83+2Wiq2g+Qnffg9knUuLCZStHoZZ318yB0aBsKAMvHWLtYDo8AA=="],
+ "@tiptap/react": ["@tiptap/[email protected]", "", { "dependencies": { "@types/use-sync-external-store": "^0.0.6", "fast-equals": "^5.3.3", "use-sync-external-store": "^1.4.0" }, "optionalDependencies": { "@tiptap/extension-bubble-menu": "^3.29.1", "@tiptap/extension-floating-menu": "^3.29.1" }, "peerDependencies": { "@tiptap/core": "3.29.1", "@tiptap/pm": "3.29.1", "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", "@types/react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-wiaLIUOBWB8j2IzYTWoBelDBXX3kKfU1Sh+UdjYIvk7as8DZniLW7Uw0z1hBFreU8PU/RtA10kWsnICGuaKOyQ=="],
+
+ "@tiptap/starter-kit": ["@tiptap/[email protected]", "", { "dependencies": { "@tiptap/core": "^3.29.1", "@tiptap/extension-blockquote": "^3.29.1", "@tiptap/extension-bold": "^3.29.1", "@tiptap/extension-bullet-list": "^3.29.1", "@tiptap/extension-code": "^3.29.1", "@tiptap/extension-code-block": "^3.29.1", "@tiptap/extension-document": "^3.29.1", "@tiptap/extension-dropcursor": "^3.29.1", "@tiptap/extension-gapcursor": "^3.29.1", "@tiptap/extension-hard-break": "^3.29.1", "@tiptap/extension-heading": "^3.29.1", "@tiptap/extension-horizontal-rule": "^3.29.1", "@tiptap/extension-italic": "^3.29.1", "@tiptap/extension-link": "^3.29.1", "@tiptap/extension-list": "^3.29.1", "@tiptap/extension-list-item": "^3.29.1", "@tiptap/extension-list-keymap": "^3.29.1", "@tiptap/extension-ordered-list": "^3.29.1", "@tiptap/extension-paragraph": "^3.29.1", "@tiptap/extension-strike": "^3.29.1", "@tiptap/extension-text": "^3.29.1", "@tiptap/extension-underline": "^3.29.1", "@tiptap/extensions": "^3.29.1", "@tiptap/pm": "^3.29.1" } }, "sha512-n7njOpcJJd4L3Ma1UmipwwL7gilJ8PZHCNHNhCY+jlemRp8sGf3WoMJst4FKAqU15QaYWhQpYYgc0TWQ55Z04g=="],
+
+ "@tiptap/suggestion": ["@tiptap/[email protected]", "", { "peerDependencies": { "@floating-ui/dom": "^1.0.0", "@tiptap/core": "3.29.1", "@tiptap/pm": "3.29.1" } }, "sha512-ztgln5CV0vk7gEDxYQdhisDZKnJsqwt+bH6I9lQXQurhRv7cBZWjAAavUixD5gbnD0nIo1VevkiDO7foPQYaFA=="],
"@tokenizer/inflate": ["@tokenizer/[email protected]", "", { "dependencies": { "debug": "^4.4.3", "token-types": "^6.1.1" } }, "sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA=="],
@@ -2606,6 +2613,12 @@
"@tailwindcss/oxide-wasm32-wasi/tslib": ["[email protected]", "", { "bundled": true }, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],
+ "@tiptap/extension-code-block/@tiptap/core": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/pm": "3.27.3" } }, "sha512-TJj5929M96C1KlH796wS8MywfHDh49RhmakOyzyMMc9pFmRj9UXi1gj0TCXgsZtjEOG7B+m/DRvNOvnuvR9kmg=="],
+
+ "@tiptap/extension-code-block/@tiptap/pm": ["@tiptap/[email protected]", "", { "dependencies": { "prosemirror-changeset": "^2.4.1", "prosemirror-commands": "^1.7.1", "prosemirror-dropcursor": "^1.8.2", "prosemirror-gapcursor": "^1.4.1", "prosemirror-history": "^1.5.0", "prosemirror-inputrules": "^1.5.1", "prosemirror-keymap": "^1.2.3", "prosemirror-model": "^1.25.9", "prosemirror-schema-list": "^1.5.1", "prosemirror-state": "^1.4.4", "prosemirror-tables": "^1.8.5", "prosemirror-transform": "^1.12.0", "prosemirror-view": "^1.41.9" } }, "sha512-ppiG57RxM3HSHHgcHT0hP6Ib4P56Sd5itxdV4w0hIGHKPGyLLKiAkYp+htIHa9T7IvjMdaqxIlsfyV3ZKsS1sw=="],
+
+ "@tiptap/starter-kit/@tiptap/extension-code-block": ["@tiptap/[email protected]", "", { "peerDependencies": { "@tiptap/core": "3.29.1", "@tiptap/pm": "3.29.1" } }, "sha512-oGd4mvdJm2UaW+B3XaRT+gP+IOz5qLkd24IOxWCKdmbACCT+fd4DFmvghASeL49EPvaTJtXAfXiB9AeksDUmbQ=="],
+
"@types/nodemailer/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q=="],
"@typescript-eslint/eslint-plugin/ignore": ["[email protected]", "", {}, "sha512-BAg6QkE8W+TuQLrrw0Ugr7HegXduRuuj8/ti2kSOc+jz1dmx8/WNcjr6XGnq5YpDWxFwwaavqD0+jIUOKelTsw=="],