@lofcz/platejs-markdown 53.2.1 → 53.3.4

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -2084,7 +2084,7 @@ const defaultRules = {
2084
2084
  const cellChildren = convertChildrenDeserialize(cell.children, deco, options);
2085
2085
  const groupedChildren = [];
2086
2086
  let currentParagraphChildren = [];
2087
- for (const child of cellChildren) if (!child.type || child.type === KEYS.inlineEquation) currentParagraphChildren.push(child);
2087
+ for (const child of cellChildren) if (!child.type || child.type === KEYS.inlineEquation || options.editor.api.isInline(child)) currentParagraphChildren.push(child);
2088
2088
  else {
2089
2089
  if (currentParagraphChildren.length > 0) {
2090
2090
  groupedChildren.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lofcz/platejs-markdown",
3
- "version": "53.2.1",
3
+ "version": "53.3.4",
4
4
  "description": "Markdown serializer plugin for Plate",
5
5
  "keywords": [
6
6
  "markdown",
@@ -54,10 +54,10 @@
54
54
  "@plate/scripts": "1.0.0",
55
55
  "@platejs/footnote": "npm:@lofcz/platejs-footnote@53.0.0",
56
56
  "@platejs/table": "npm:@lofcz/platejs-table@53.1.8",
57
- "platejs": "npm:@lofcz/platejs@53.1.1"
57
+ "platejs": "npm:@lofcz/platejs@53.3.4"
58
58
  },
59
59
  "peerDependencies": {
60
- "platejs": ">=53.0.0",
60
+ "platejs": ">=53.3.3",
61
61
  "react": ">=18.0.0",
62
62
  "react-dom": ">=18.0.0"
63
63
  },