@jxsuite/studio 0.6.1 → 0.6.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/studio.js CHANGED
@@ -20400,11 +20400,13 @@ var init_remark_gfm = __esm(() => {
20400
20400
  var exports_transpile = {};
20401
20401
  __export(exports_transpile, {
20402
20402
  transpileJxMarkdown: () => transpileJxMarkdown,
20403
+ mdastNodeToJx: () => mdastNodeToJx,
20403
20404
  mdKey: () => mdKey,
20404
20405
  jxKey: () => jxKey,
20405
20406
  isJxMarkdown: () => isJxMarkdown,
20406
20407
  expandStylePaths: () => expandStylePaths,
20407
20408
  expandDotPaths: () => expandDotPaths,
20409
+ convertChildren: () => convertChildren,
20408
20410
  collapseStylePaths: () => collapseStylePaths,
20409
20411
  collapseDotPaths: () => collapseDotPaths,
20410
20412
  applyStyleKeyMapping: () => applyStyleKeyMapping
@@ -20516,6 +20518,11 @@ function mdastNodeToJx(node2) {
20516
20518
  if (node2.type === "text") {
20517
20519
  return node2.value;
20518
20520
  }
20521
+ if (node2.type === "html") {
20522
+ if (node2.value)
20523
+ return { tagName: "div", innerHTML: node2.value };
20524
+ return null;
20525
+ }
20519
20526
  const tagFn = JX_TAG_MAP[node2.type];
20520
20527
  if (!tagFn)
20521
20528
  return null;
@@ -204931,5 +204938,5 @@ addUpdateMiddleware((state3) => {
204931
204938
  scheduleAutosave();
204932
204939
  });
204933
204940
 
204934
- //# debugId=FE5CF9B0C866819764756E2164756E21
204941
+ //# debugId=0D9062AD722ABDD064756E2164756E21
204935
204942
  //# sourceMappingURL=studio.js.map