File tree Expand file tree Collapse file tree
app/workspace/[workspaceId]/w/[workflowId]/components/note-block
lib/execution/sandbox/bundles Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,8 +12,9 @@ const NOTE_EDITOR_PROSE_CLASS_NAME = [
1212 '[--rich-markdown-line-height:1.25rem]' ,
1313 /* Mirrors NOTE_MARKDOWN_FLOW, the rhythm Streamdown paints in the read view.
1414 Tailwind's JIT only sees literal class strings, so this cannot be composed
15- from that constant, so keep the two in step by hand. Without it the editor falls back to the per-element margins
16- and every block after the first sits ~12px higher than when viewing. */
15+ from that constant; keep the two in step by hand. Without it the editor
16+ falls back to the per-element margins and every block after the first sits
17+ ~12px higher than when viewing. */
1718 '[&_.ProseMirror]:space-y-4 [&_.ProseMirror>*:first-child]:mt-0 [&_.ProseMirror>*:last-child]:mb-0' ,
1819 '[&_.ProseMirror]:min-h-full [&_.ProseMirror]:break-words [&_.ProseMirror]:pt-0.5 [&_.ProseMirror]:pb-2 [&_.ProseMirror]:outline-hidden' ,
1920 '[&_.ProseMirror_p]:mb-1 [&_.ProseMirror_p]:text-sm [&_.ProseMirror_p]:leading-[1.25rem] [&_.ProseMirror_p:last-child]:mb-0' ,
Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ if (typeof g.global === 'undefined') g.global = globalThis
2727 * helper around it. Bun's browser/iife build rewrites the bare `require`
2828 * references inside that helper to its own `__require` runtime helper and
2929 * then never emits it, so the bundle throws `ReferenceError: __require is not
30- * defined` while it is still being evaluated. The isolate has no `require` at all, so the only correct answer
31- * to a dynamic require is the one esbuild's helper gives when `require` is
32- * absent: throw. Defining it here keeps every bundle self-contained; `build.ts`
33- * evaluates each bundle in a bare context so a new variant of the defect fails
34- * the build instead of shipping.
30+ * defined` while it is still being evaluated. The isolate has no `require` at
31+ * all, so the only correct answer to a dynamic require is the one esbuild's
32+ * helper gives when `require` is absent: throw. Defining it here keeps every
33+ * bundle self-contained; `build.ts` evaluates each bundle in a bare context so
34+ * a new variant of the defect fails the build instead of shipping.
3535 */
3636if ( typeof g . __require === 'undefined' ) {
3737 g . __require = ( id : string ) : never => {
Original file line number Diff line number Diff line change 157157 "dompurify" : " 3.4.17" ,
158158 "engine.io" : " 6.6.11" ,
159159 "fast-copy" : " 4.2.0" ,
160- "fast-xml-parser" : " 5.12.0" ,
161160 "fast-uri" : " 3.1.9" ,
161+ "fast-xml-parser" : " 5.12.0" ,
162162 "follow-redirects" : " 1.16.2" ,
163163 "hono" : " 4.13.13" ,
164164 "image-size" : " 2.0.4" ,
You can’t perform that action at this time.
0 commit comments