@tiptap-pro/extension-convert-kit Changelog
Changelog for @tiptap-pro/extension-convert-kit
0.1.1
Patch Changes
- c189c62: Licensing
0.1.0
Minor Changes
-
830279c: Initial release of ConvertKit — a single-import Tiptap extension bundle for rendering DOCX-imported content
Custom DOCX Extensions:
- Paragraph and Heading with spacing (
spacingBefore,spacingAfter,lineHeight),fontSize(from DOCX paragraph mark for spacer paragraphs), indentation (indent,hangingIndent), andcontextualSpacingattributes - Image with crop attributes (
cropTop,cropBottom,cropLeft,cropRight) - Table with left indentation,
cellMinWidth: 1for narrow DOCX spacer columns, and collapsed borders - TableRow with
heightandheightRule(exact/atLeast) - TableCell and TableHeader with
background,verticalAlign, per-side border attributes (width, style, color), and a.cell-contentwrapper div for height constraints - TableRow exposes height as a
--tr-heightCSS custom property for child cells
CSS Resets:
- Injects browser style resets on editor creation to normalize table rendering:
line-height: 1on cells and rows,vertical-align: topon cells,white-space: normalon cell paragraphs, and zero default margins/padding — ensuring DOCX spacing values delivered as inline styles render accurately - Enforces exact row heights (
heightRule: "exact") by constraining the.cell-contentwrapper div to the row's height withoverflow: hidden— CSSheight/max-heightdo not apply todisplay: table-cellelements, so the block-level wrapper is required
Table rendering fixes:
- Table extension accepts a new
widthattribute (parses/renderswidth: Npx; max-width: 100%) so DOCX-declaredw:tblWvalues render accurately without overflowing the page container when the author drew the table wider than the content area - Table extension now clamps negative
indentvalues to0at render time while preserving the raw value in attrs — negativew:tblIndvalues from DOCX (which rely on Word's paper gutter) no longer push tables past the page container's left edge; the original value is kept for export round-trip - TableRow extension
heightrendering now branches onheightRule:exactrows keep their hard-clipping behaviour viaheight+--tr-height; other rows (atLeastor unset) render asmin-heightso narrower columns can grow the row instead of clipping content
Bundled OSS Extensions:
- Includes 30+ standard Tiptap extensions (Document, Text, Bold, Italic, Underline, Strike, Code, Link, BulletList, OrderedList, ListItem, HardBreak, HorizontalRule, CodeBlock, TextStyleKit, TextAlign, Highlight, Superscript, Subscript, Dropcursor, Gapcursor, PageBreak) — all individually configurable or disableable via
ConvertKit.configure()
- Paragraph and Heading with spacing (