@scrider/formatter 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1292,14 +1292,30 @@ declare function validateDelta(delta: Delta, registry: Registry): boolean;
1292
1292
  */
1293
1293
  declare function cloneDelta(delta: Delta): Delta;
1294
1294
 
1295
+ /** Per-paragraph line spacing stored on `\n` (Word paste, Settings Apply, toolbar). */
1296
+ declare const SCRIDER_LINE_HEIGHT_KEY = "scrider-line-height";
1297
+ /** Block tags that receive line spacing (not headings). */
1298
+ declare const LINE_HEIGHT_BLOCK_TAGS: Set<string>;
1299
+ /**
1300
+ * Parse a line-height multiplier from Delta / inline CSS values
1301
+ * (`1.5`, `2`, `150%`).
1302
+ */
1303
+ declare function parseScriderLineHeightMultiplier(value: string): number | undefined;
1304
+ /**
1305
+ * Line-height for a block tag: `scrider-line-height` on the line → documentPresentation → none.
1306
+ */
1307
+ declare function blockLineHeightStyleParts(tag: string, blockAttributes: AttributeMap | undefined, resolved: ResolvedDocumentPresentation | undefined): string[];
1308
+
1295
1309
  /**
1296
1310
  * Document-level HTML presentation for deltaToHtml (clipboard, export).
1297
- * Not stored in Delta mirrors editor Settings (line spacing, indents).
1311
+ * Mirrors editor Settings when block attrs are absent.
1312
+ * Per-block line spacing: {@link blockLineHeightStyleParts} (`scrider-line-height` on `\n`).
1298
1313
  */
1314
+
1299
1315
  interface DocumentPresentation {
1300
1316
  /** Line spacing multiplier, e.g. 1.5 */
1301
1317
  lineSpacing?: number;
1302
- /** First-line indent in cm on `<p>` and `<li>` (wrapped / soft-break lines unchanged). */
1318
+ /** First-line indent in cm on `<p>` only (lists: use listBlockIndentCm). */
1303
1319
  textIndentCm?: number;
1304
1320
  /** Extra left padding on top-level `<ul>`/`<ol>` — shifts marker + text as a block. */
1305
1321
  listBlockIndentCm?: number;
@@ -1310,7 +1326,12 @@ interface ResolvedDocumentPresentation {
1310
1326
  listBlockIndentCm: number | undefined;
1311
1327
  }
1312
1328
  declare function resolveDocumentPresentation(presentation?: DocumentPresentation): ResolvedDocumentPresentation | undefined;
1329
+ /** Document-level styles only (line-height merged via {@link blockLineHeightStyleParts}). */
1313
1330
  declare function documentPresentationStyleParts(tag: string, resolved: ResolvedDocumentPresentation | undefined): string[];
1331
+ /**
1332
+ * All block presentation styles for deltaToHtml: Delta attrs, then document defaults.
1333
+ */
1334
+ declare function blockPresentationStyleParts(tag: string, blockAttributes: AttributeMap | undefined, resolved: ResolvedDocumentPresentation | undefined): string[];
1314
1335
 
1315
1336
  /**
1316
1337
  * Simple Table HTML presentation options for deltaToHtml (clipboard, export).
@@ -1888,4 +1909,4 @@ declare function isTableNewlineOp(op: Op | undefined): boolean;
1888
1909
  */
1889
1910
  declare function extractTableRegion(ops: readonly Op[], hintOpIdx: number): TableRegion | null;
1890
1911
 
1891
- export { ALERT_TYPES, type AlertBlockData, type AlertType, type AlignType, BOX_FLOAT_VALUES, BOX_OVERFLOW_VALUES, type BlockContext, type BlockHandler, BlockHandlerRegistry, type BlockRenderOptions, type BoxBlockData, type BoxFloat, type BoxOpAttributes, type BoxOverflow, BrowserDOMAdapter, type CellAlign, type CellData, type ColumnsBlockData, type DOMAdapter, type DOMDocument, type DOMDocumentFragment, type DOMElement, type DOMNode, type DOMNodeList, type DeltaToHtmlOptions, type DeltaToMarkdownOptions, type DocumentPresentation, type FootnotesBlockData, type Format, type FormatDefinition, type FormatMatchResult, type FormatScope, type HtmlToDeltaOptions, type ListType, type MarkdownToDeltaOptions, NODE_TYPE, NodeDOMAdapter, Registry, type ResolvedDocumentPresentation, type ResolvedTablePresentation, type SanitizeOptions, type TableBlockData, type TableCellAlign, type TableColAlignType, type TablePresentation, type TableRegion, alertBlockHandler, alignFormat, backgroundFormat, blockFormat, blockquoteFormat, boldFormat, boxBlockHandler, browserAdapter, cloneDelta, codeBlockFormat, codeFormat, colorFormat, columnsBlockHandler, createDefaultBlockHandlers, createDefaultRegistry, defaultBlockFormats, defaultEmbedFormats, defaultFormats, defaultInlineFormats, deltaToHtml, deltaToMarkdown, dividerFormat, documentPresentationStyleParts, escapeHtml, extractBoxOpAttributes, extractTableRegion, fontFormat, footnoteRefFormat, footnotesBlockHandler, formulaFormat, getAdapter, getNamedColors, headerFormat, headerIdFormat, htmlToDelta, imageFormat, indentFormat, isAdapterAvailable, isElement, isRemarkAvailable, isTableNewlineOp, isTextNode, isValidColor, isValidHexColor, isZebraBodyRow, italicFormat, kbdFormat, linkFormat, listFormat, markFormat, markdownToDelta, markdownToDeltaSync, nodeAdapter, normalizeDelta, preloadRemark, resolveDocumentPresentation, resolveTablePresentation, sanitizeDelta, sizeFormat, slugify, slugifyWithDedup, softBreakFormat, strikeFormat, subscriptFormat, superscriptFormat, tableBlockHandler, tableColAlignFormat, tableColFormat, tableHeaderFormat, tableRowFormat, toHexColor, underlineFormat, unescapeHtml, validateDelta, videoFormat };
1912
+ export { ALERT_TYPES, type AlertBlockData, type AlertType, type AlignType, BOX_FLOAT_VALUES, BOX_OVERFLOW_VALUES, type BlockContext, type BlockHandler, BlockHandlerRegistry, type BlockRenderOptions, type BoxBlockData, type BoxFloat, type BoxOpAttributes, type BoxOverflow, BrowserDOMAdapter, type CellAlign, type CellData, type ColumnsBlockData, type DOMAdapter, type DOMDocument, type DOMDocumentFragment, type DOMElement, type DOMNode, type DOMNodeList, type DeltaToHtmlOptions, type DeltaToMarkdownOptions, type DocumentPresentation, type FootnotesBlockData, type Format, type FormatDefinition, type FormatMatchResult, type FormatScope, type HtmlToDeltaOptions, LINE_HEIGHT_BLOCK_TAGS, type ListType, type MarkdownToDeltaOptions, NODE_TYPE, NodeDOMAdapter, Registry, type ResolvedDocumentPresentation, type ResolvedTablePresentation, SCRIDER_LINE_HEIGHT_KEY, type SanitizeOptions, type TableBlockData, type TableCellAlign, type TableColAlignType, type TablePresentation, type TableRegion, alertBlockHandler, alignFormat, backgroundFormat, blockFormat, blockLineHeightStyleParts, blockPresentationStyleParts, blockquoteFormat, boldFormat, boxBlockHandler, browserAdapter, cloneDelta, codeBlockFormat, codeFormat, colorFormat, columnsBlockHandler, createDefaultBlockHandlers, createDefaultRegistry, defaultBlockFormats, defaultEmbedFormats, defaultFormats, defaultInlineFormats, deltaToHtml, deltaToMarkdown, dividerFormat, documentPresentationStyleParts, escapeHtml, extractBoxOpAttributes, extractTableRegion, fontFormat, footnoteRefFormat, footnotesBlockHandler, formulaFormat, getAdapter, getNamedColors, headerFormat, headerIdFormat, htmlToDelta, imageFormat, indentFormat, isAdapterAvailable, isElement, isRemarkAvailable, isTableNewlineOp, isTextNode, isValidColor, isValidHexColor, isZebraBodyRow, italicFormat, kbdFormat, linkFormat, listFormat, markFormat, markdownToDelta, markdownToDeltaSync, nodeAdapter, normalizeDelta, parseScriderLineHeightMultiplier, preloadRemark, resolveDocumentPresentation, resolveTablePresentation, sanitizeDelta, sizeFormat, slugify, slugifyWithDedup, softBreakFormat, strikeFormat, subscriptFormat, superscriptFormat, tableBlockHandler, tableColAlignFormat, tableColFormat, tableHeaderFormat, tableRowFormat, toHexColor, underlineFormat, unescapeHtml, validateDelta, videoFormat };
package/dist/index.d.ts CHANGED
@@ -1292,14 +1292,30 @@ declare function validateDelta(delta: Delta, registry: Registry): boolean;
1292
1292
  */
1293
1293
  declare function cloneDelta(delta: Delta): Delta;
1294
1294
 
1295
+ /** Per-paragraph line spacing stored on `\n` (Word paste, Settings Apply, toolbar). */
1296
+ declare const SCRIDER_LINE_HEIGHT_KEY = "scrider-line-height";
1297
+ /** Block tags that receive line spacing (not headings). */
1298
+ declare const LINE_HEIGHT_BLOCK_TAGS: Set<string>;
1299
+ /**
1300
+ * Parse a line-height multiplier from Delta / inline CSS values
1301
+ * (`1.5`, `2`, `150%`).
1302
+ */
1303
+ declare function parseScriderLineHeightMultiplier(value: string): number | undefined;
1304
+ /**
1305
+ * Line-height for a block tag: `scrider-line-height` on the line → documentPresentation → none.
1306
+ */
1307
+ declare function blockLineHeightStyleParts(tag: string, blockAttributes: AttributeMap | undefined, resolved: ResolvedDocumentPresentation | undefined): string[];
1308
+
1295
1309
  /**
1296
1310
  * Document-level HTML presentation for deltaToHtml (clipboard, export).
1297
- * Not stored in Delta mirrors editor Settings (line spacing, indents).
1311
+ * Mirrors editor Settings when block attrs are absent.
1312
+ * Per-block line spacing: {@link blockLineHeightStyleParts} (`scrider-line-height` on `\n`).
1298
1313
  */
1314
+
1299
1315
  interface DocumentPresentation {
1300
1316
  /** Line spacing multiplier, e.g. 1.5 */
1301
1317
  lineSpacing?: number;
1302
- /** First-line indent in cm on `<p>` and `<li>` (wrapped / soft-break lines unchanged). */
1318
+ /** First-line indent in cm on `<p>` only (lists: use listBlockIndentCm). */
1303
1319
  textIndentCm?: number;
1304
1320
  /** Extra left padding on top-level `<ul>`/`<ol>` — shifts marker + text as a block. */
1305
1321
  listBlockIndentCm?: number;
@@ -1310,7 +1326,12 @@ interface ResolvedDocumentPresentation {
1310
1326
  listBlockIndentCm: number | undefined;
1311
1327
  }
1312
1328
  declare function resolveDocumentPresentation(presentation?: DocumentPresentation): ResolvedDocumentPresentation | undefined;
1329
+ /** Document-level styles only (line-height merged via {@link blockLineHeightStyleParts}). */
1313
1330
  declare function documentPresentationStyleParts(tag: string, resolved: ResolvedDocumentPresentation | undefined): string[];
1331
+ /**
1332
+ * All block presentation styles for deltaToHtml: Delta attrs, then document defaults.
1333
+ */
1334
+ declare function blockPresentationStyleParts(tag: string, blockAttributes: AttributeMap | undefined, resolved: ResolvedDocumentPresentation | undefined): string[];
1314
1335
 
1315
1336
  /**
1316
1337
  * Simple Table HTML presentation options for deltaToHtml (clipboard, export).
@@ -1888,4 +1909,4 @@ declare function isTableNewlineOp(op: Op | undefined): boolean;
1888
1909
  */
1889
1910
  declare function extractTableRegion(ops: readonly Op[], hintOpIdx: number): TableRegion | null;
1890
1911
 
1891
- export { ALERT_TYPES, type AlertBlockData, type AlertType, type AlignType, BOX_FLOAT_VALUES, BOX_OVERFLOW_VALUES, type BlockContext, type BlockHandler, BlockHandlerRegistry, type BlockRenderOptions, type BoxBlockData, type BoxFloat, type BoxOpAttributes, type BoxOverflow, BrowserDOMAdapter, type CellAlign, type CellData, type ColumnsBlockData, type DOMAdapter, type DOMDocument, type DOMDocumentFragment, type DOMElement, type DOMNode, type DOMNodeList, type DeltaToHtmlOptions, type DeltaToMarkdownOptions, type DocumentPresentation, type FootnotesBlockData, type Format, type FormatDefinition, type FormatMatchResult, type FormatScope, type HtmlToDeltaOptions, type ListType, type MarkdownToDeltaOptions, NODE_TYPE, NodeDOMAdapter, Registry, type ResolvedDocumentPresentation, type ResolvedTablePresentation, type SanitizeOptions, type TableBlockData, type TableCellAlign, type TableColAlignType, type TablePresentation, type TableRegion, alertBlockHandler, alignFormat, backgroundFormat, blockFormat, blockquoteFormat, boldFormat, boxBlockHandler, browserAdapter, cloneDelta, codeBlockFormat, codeFormat, colorFormat, columnsBlockHandler, createDefaultBlockHandlers, createDefaultRegistry, defaultBlockFormats, defaultEmbedFormats, defaultFormats, defaultInlineFormats, deltaToHtml, deltaToMarkdown, dividerFormat, documentPresentationStyleParts, escapeHtml, extractBoxOpAttributes, extractTableRegion, fontFormat, footnoteRefFormat, footnotesBlockHandler, formulaFormat, getAdapter, getNamedColors, headerFormat, headerIdFormat, htmlToDelta, imageFormat, indentFormat, isAdapterAvailable, isElement, isRemarkAvailable, isTableNewlineOp, isTextNode, isValidColor, isValidHexColor, isZebraBodyRow, italicFormat, kbdFormat, linkFormat, listFormat, markFormat, markdownToDelta, markdownToDeltaSync, nodeAdapter, normalizeDelta, preloadRemark, resolveDocumentPresentation, resolveTablePresentation, sanitizeDelta, sizeFormat, slugify, slugifyWithDedup, softBreakFormat, strikeFormat, subscriptFormat, superscriptFormat, tableBlockHandler, tableColAlignFormat, tableColFormat, tableHeaderFormat, tableRowFormat, toHexColor, underlineFormat, unescapeHtml, validateDelta, videoFormat };
1912
+ export { ALERT_TYPES, type AlertBlockData, type AlertType, type AlignType, BOX_FLOAT_VALUES, BOX_OVERFLOW_VALUES, type BlockContext, type BlockHandler, BlockHandlerRegistry, type BlockRenderOptions, type BoxBlockData, type BoxFloat, type BoxOpAttributes, type BoxOverflow, BrowserDOMAdapter, type CellAlign, type CellData, type ColumnsBlockData, type DOMAdapter, type DOMDocument, type DOMDocumentFragment, type DOMElement, type DOMNode, type DOMNodeList, type DeltaToHtmlOptions, type DeltaToMarkdownOptions, type DocumentPresentation, type FootnotesBlockData, type Format, type FormatDefinition, type FormatMatchResult, type FormatScope, type HtmlToDeltaOptions, LINE_HEIGHT_BLOCK_TAGS, type ListType, type MarkdownToDeltaOptions, NODE_TYPE, NodeDOMAdapter, Registry, type ResolvedDocumentPresentation, type ResolvedTablePresentation, SCRIDER_LINE_HEIGHT_KEY, type SanitizeOptions, type TableBlockData, type TableCellAlign, type TableColAlignType, type TablePresentation, type TableRegion, alertBlockHandler, alignFormat, backgroundFormat, blockFormat, blockLineHeightStyleParts, blockPresentationStyleParts, blockquoteFormat, boldFormat, boxBlockHandler, browserAdapter, cloneDelta, codeBlockFormat, codeFormat, colorFormat, columnsBlockHandler, createDefaultBlockHandlers, createDefaultRegistry, defaultBlockFormats, defaultEmbedFormats, defaultFormats, defaultInlineFormats, deltaToHtml, deltaToMarkdown, dividerFormat, documentPresentationStyleParts, escapeHtml, extractBoxOpAttributes, extractTableRegion, fontFormat, footnoteRefFormat, footnotesBlockHandler, formulaFormat, getAdapter, getNamedColors, headerFormat, headerIdFormat, htmlToDelta, imageFormat, indentFormat, isAdapterAvailable, isElement, isRemarkAvailable, isTableNewlineOp, isTextNode, isValidColor, isValidHexColor, isZebraBodyRow, italicFormat, kbdFormat, linkFormat, listFormat, markFormat, markdownToDelta, markdownToDeltaSync, nodeAdapter, normalizeDelta, parseScriderLineHeightMultiplier, preloadRemark, resolveDocumentPresentation, resolveTablePresentation, sanitizeDelta, sizeFormat, slugify, slugifyWithDedup, softBreakFormat, strikeFormat, subscriptFormat, superscriptFormat, tableBlockHandler, tableColAlignFormat, tableColFormat, tableHeaderFormat, tableRowFormat, toHexColor, underlineFormat, unescapeHtml, validateDelta, videoFormat };
package/dist/index.js CHANGED
@@ -2493,6 +2493,38 @@ function slugifyWithDedup(text, usedSlugs) {
2493
2493
  return `${base}-${count}`;
2494
2494
  }
2495
2495
 
2496
+ // src/conversion/html/block-presentation.ts
2497
+ var SCRIDER_LINE_HEIGHT_KEY = "scrider-line-height";
2498
+ var LINE_HEIGHT_BLOCK_TAGS = /* @__PURE__ */ new Set(["p", "li", "blockquote"]);
2499
+ function parseScriderLineHeightMultiplier(value) {
2500
+ const trimmed = value.trim();
2501
+ if (!trimmed) return void 0;
2502
+ if (trimmed.endsWith("%")) {
2503
+ const pct = Number.parseFloat(trimmed.slice(0, -1));
2504
+ if (Number.isFinite(pct) && pct > 0) return pct / 100;
2505
+ return void 0;
2506
+ }
2507
+ const n = Number.parseFloat(trimmed);
2508
+ if (Number.isFinite(n) && n > 0) return n;
2509
+ return void 0;
2510
+ }
2511
+ function lineHeightStyleParts(multiplier) {
2512
+ const pct = Math.round(multiplier * 100);
2513
+ return [`line-height:${multiplier}`, `mso-line-height-alt:${pct}%`];
2514
+ }
2515
+ function blockLineHeightStyleParts(tag, blockAttributes, resolved) {
2516
+ if (!LINE_HEIGHT_BLOCK_TAGS.has(tag)) return [];
2517
+ const raw = blockAttributes?.[SCRIDER_LINE_HEIGHT_KEY];
2518
+ if (typeof raw === "string") {
2519
+ const fromBlock = parseScriderLineHeightMultiplier(raw);
2520
+ if (fromBlock !== void 0) return lineHeightStyleParts(fromBlock);
2521
+ }
2522
+ if (resolved?.lineSpacing !== void 0) {
2523
+ return lineHeightStyleParts(resolved.lineSpacing);
2524
+ }
2525
+ return [];
2526
+ }
2527
+
2496
2528
  // src/conversion/html/document-presentation.ts
2497
2529
  function resolveDocumentPresentation(presentation) {
2498
2530
  if (!presentation) return void 0;
@@ -2504,25 +2536,25 @@ function resolveDocumentPresentation(presentation) {
2504
2536
  }
2505
2537
  return { lineSpacing, textIndentCm, listBlockIndentCm };
2506
2538
  }
2507
- var LINE_HEIGHT_TAGS = /* @__PURE__ */ new Set(["p", "li", "blockquote"]);
2508
- var TEXT_INDENT_TAGS = /* @__PURE__ */ new Set(["p", "li"]);
2539
+ var TEXT_INDENT_TAGS = /* @__PURE__ */ new Set(["p"]);
2509
2540
  function documentPresentationListWrapperStyleParts(resolved) {
2510
2541
  if (!resolved?.listBlockIndentCm) return [];
2511
- return [`padding-left:calc(1.5em + ${resolved.listBlockIndentCm}cm)`];
2542
+ return [`padding-left:1.25em`, `margin-left:${resolved.listBlockIndentCm}cm`];
2512
2543
  }
2513
2544
  function documentPresentationStyleParts(tag, resolved) {
2514
2545
  if (!resolved) return [];
2515
2546
  const parts = [];
2516
- if (resolved.lineSpacing !== void 0 && LINE_HEIGHT_TAGS.has(tag)) {
2517
- const pct = Math.round(resolved.lineSpacing * 100);
2518
- parts.push(`line-height:${resolved.lineSpacing}`);
2519
- parts.push(`mso-line-height-alt:${pct}%`);
2520
- }
2521
2547
  if (resolved.textIndentCm !== void 0 && TEXT_INDENT_TAGS.has(tag)) {
2522
2548
  parts.push(`text-indent:${resolved.textIndentCm}cm`);
2523
2549
  }
2524
2550
  return parts;
2525
2551
  }
2552
+ function blockPresentationStyleParts(tag, blockAttributes, resolved) {
2553
+ return [
2554
+ ...blockLineHeightStyleParts(tag, blockAttributes, resolved),
2555
+ ...documentPresentationStyleParts(tag, resolved)
2556
+ ];
2557
+ }
2526
2558
  function joinStyleParts(parts) {
2527
2559
  return parts.length > 0 ? ` style="${parts.join("; ")}"` : "";
2528
2560
  }
@@ -2669,6 +2701,7 @@ function deltaToHtml(delta, options = {}) {
2669
2701
  html += renderListItem(
2670
2702
  content,
2671
2703
  listItemAttrs,
2704
+ line.attributes,
2672
2705
  pretty,
2673
2706
  indentLevel,
2674
2707
  hierarchicalNumber,
@@ -2988,17 +3021,14 @@ function getListItemAttributes(attributes) {
2988
3021
  }
2989
3022
  return "";
2990
3023
  }
2991
- function renderListItem(content, attrs, pretty, indentLevel, hierarchicalNumber, resolvedDocumentPresentation) {
3024
+ function renderListItem(content, attrs, blockAttributes, pretty, indentLevel, hierarchicalNumber, resolvedDocumentPresentation) {
2992
3025
  const indent = pretty ? getIndent(indentLevel) : "";
2993
3026
  const innerContent = content || "<br>";
2994
3027
  let fullAttrs = attrs;
2995
3028
  if (hierarchicalNumber) {
2996
3029
  fullAttrs += ` data-number="${hierarchicalNumber}"`;
2997
3030
  }
2998
- const styleAttr = joinStyleParts(
2999
- documentPresentationStyleParts("li", resolvedDocumentPresentation)
3000
- );
3001
- fullAttrs += styleAttr;
3031
+ fullAttrs += getBlockStyleAttribute("li", blockAttributes, resolvedDocumentPresentation);
3002
3032
  const html = `${indent}<li${fullAttrs}>${innerContent}</li>`;
3003
3033
  return pretty ? html + "\n" : html;
3004
3034
  }
@@ -3010,7 +3040,11 @@ function renderBlock(content, tag, attributes, pretty, id, resolvedDocumentPrese
3010
3040
  return pretty ? html + "\n" : html;
3011
3041
  }
3012
3042
  function getBlockStyleAttribute(tag, attributes, resolvedDocumentPresentation) {
3013
- const styles = documentPresentationStyleParts(tag, resolvedDocumentPresentation);
3043
+ const styles = blockPresentationStyleParts(
3044
+ tag,
3045
+ attributes,
3046
+ resolvedDocumentPresentation
3047
+ );
3014
3048
  if (attributes) {
3015
3049
  const alignVal = attributes.align;
3016
3050
  if (alignVal && typeof alignVal === "string" && alignVal !== "left") {
@@ -5149,13 +5183,17 @@ export {
5149
5183
  BOX_OVERFLOW_VALUES,
5150
5184
  BlockHandlerRegistry,
5151
5185
  BrowserDOMAdapter,
5186
+ LINE_HEIGHT_BLOCK_TAGS,
5152
5187
  NODE_TYPE,
5153
5188
  NodeDOMAdapter,
5154
5189
  Registry,
5190
+ SCRIDER_LINE_HEIGHT_KEY,
5155
5191
  alertBlockHandler,
5156
5192
  alignFormat,
5157
5193
  backgroundFormat,
5158
5194
  blockFormat,
5195
+ blockLineHeightStyleParts,
5196
+ blockPresentationStyleParts,
5159
5197
  blockquoteFormat,
5160
5198
  boldFormat,
5161
5199
  boxBlockHandler,
@@ -5206,6 +5244,7 @@ export {
5206
5244
  markdownToDeltaSync,
5207
5245
  nodeAdapter,
5208
5246
  normalizeDelta,
5247
+ parseScriderLineHeightMultiplier,
5209
5248
  preloadRemark,
5210
5249
  resolveDocumentPresentation,
5211
5250
  resolveTablePresentation,