export declare const resetStyleContent = "\n p {\n margin: 0;\n padding: 0;\n overflow-wrap: break-word; /* Canonical CSS3 \u2014 Firefox honors it; render-tag's CSS resolver only parses this canonical form */\n /* a text may have several spaces, we need to preserve them */\n white-space: pre-wrap;\n }\n\n /* Structural list reset. Native markers are intentionally LEFT ENABLED here\n (no list-style:none) so the canonical export/canvas HTML renders the\n browser's NATIVE markers.\n\n The per-level indent is carried by the
/ padding (2.1em), NOT the\n - . This matters for native markers: with list-style-position outside\n the marker hangs just left of the
- border box, so the indent must sit\n on the list (the marker lands inside that padding, next to the text). If\n the indent were on the
- instead, the outside marker would hang at\n x near 0 and be clipped off the element's left edge. render-tag computes\n the same content-start either way (it accumulates block padding).\n\n The live editor needs the opposite box model (indent on the
- , so its\n absolutely-positioned ::before marker has room) and overrides these two\n paddings in rich-editor.tsx. */\n ul, ol {\n padding-inline-start: 2.1em; /* Per-level indent; native outside markers hang inside it */\n margin: 0;\n display: block; /* Use block instead of inline-block for better text wrapping */\n width: 100%;\n /* border-box so width:100% INCLUDES the indent padding \u2014 otherwise the\n content box overflows the element by 2.1em and native center/right\n text-align drifts right (left is unaffected). render-tag already lays the\n list out border-box, so this is what keeps DOM (html export) aligned with\n the canvas. Editor lists override padding to 0 (rich-editor.tsx), so this\n is a no-op there. */\n box-sizing: border-box;\n text-decoration: inherit;\n }\n\n li {\n padding-inline-start: 0;\n margin: 0; /* Reset default li margins */\n overflow-wrap: break-word; /* Canonical CSS3 \u2014 Firefox honors it; render-tag's CSS resolver only parses this canonical form */\n white-space: pre-wrap; /* Preserve spaces and allow wrapping */\n }\n\n /* Paragraph block-indent (matches walk's
ql-indent \u2192 margin in\n rich-text-html.ts). Small step, applied to non-list indented blocks.\n Editor-only in practice: the export normalizer turns
ql-indent into an\n inline margin, so canonical export HTML carries no ql-indent class. */\n .ql-indent-1 {\n margin-inline-start: 0.5em;\n }\n .ql-indent-2 {\n margin-inline-start: 1em;\n }\n .ql-indent-3 {\n margin-inline-start: 1.5em;\n }\n\n /* List nesting indent for the live Quill editor, which renders a list FLAT\n (one container, depth via ql-indent on each
- ). Each level is indented\n by the SAME 2.1em render-tag adds per nested
/, to stay in sync\n with the canvas. Stored/exported lists are canonical-nested and carry no\n ql-indent (see canonicalizeLists), so these rules are editor/legacy-only\n no-ops elsewhere. */\n li.ql-indent-1 {\n margin-inline-start: 2.1em;\n }\n li.ql-indent-2 {\n margin-inline-start: 4.2em;\n }\n li.ql-indent-3 {\n margin-inline-start: 6.3em;\n }\n";
export declare const resetStyle = "\n\n";
export declare function wrapHtmlForRenderTag(html: string): string;