@platejs/code-drawing@52.3.0
- #4811 by @electroluxcode – Add code drawing plugin with inline editing support for PlantUML, Graphviz, Flowchart, and Mermaid diagrams
@platejs/docx-io@52.2.0
-
#4814 by @felixfeng33 – Add DOCX import/export package:
Import:
importDocx: Convert DOCX files to Plate nodes with comment extraction
Export:
exportToDocx: Convert Plate content to DOCX blobdownloadDocx: Download DOCX filesexportEditorToDocx: Export and download in one callDocxExportPlugin: Plugin witheditor.api.docxExportandeditor.tf.docxExportmethodsDOCX_EXPORT_STYLES: Default CSS styles for Word rendering
DOCX Static Components (in existing static files):
CalloutElementDocxCodeBlockElementDocx,CodeLineElementDocx,CodeSyntaxLeafDocxColumnElementDocx,ColumnGroupElementDocxEquationElementDocx,InlineEquationElementDocxTocElementDocx
@platejs/markdown@52.1.0
-
#4800 by @felixfeng33 – Enhanced table cell serialization to support multiple blocks within cells:
- Table cells (td/th) now insert
<br/>separators between multiple blocks when serializing to markdown - This allows markdown tables to better represent complex cell content that contains multiple paragraphs or other block elements
- Table cells (td/th) now insert
@platejs/ai@52.1.0
-
#4800 by @felixfeng33 – Upgraded AI SDK from v5 to v6:
- Updated
aipeer dependency to^6.0.0 - Updated
@ai-sdk/reactpeer dependency to^3.0.0
Enhanced AI capabilities with better table cell handling:
- Added
applyTableCellSuggestionutility for handling single-cell table operations - Added
nestedContainerUtilsfor managing nested containers in table cells - Enhanced
getMarkdownwith improved table structure handling and better cell content serialization - Improved
applyAISuggestionswith more robust cell manipulation support - Added comprehensive tests for markdown generation from complex table structures
- Updated
@platejs/core@52.0.17
- #4806 by @felixfeng33 – skip react-compiler for static rendering