@cyberyozh/text-editor 0.1.14 → 0.1.15

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/editor.js CHANGED
@@ -6506,6 +6506,7 @@ var Tiptap = (props) => {
6506
6506
 
6507
6507
  // src/utils/html-to-tiptap-content.ts
6508
6508
  var import_core19 = require("@tiptap/core");
6509
+ var import_extension_table2 = require("@tiptap/extension-table");
6509
6510
  function isJSONContent(value) {
6510
6511
  return typeof value === "object" && value !== null && "type" in value && typeof value.type === "string";
6511
6512
  }
@@ -6526,7 +6527,7 @@ function htmlToTiptapContent(content) {
6526
6527
  return { type: "doc", content: [{ type: "paragraph" }] };
6527
6528
  }
6528
6529
  const sharedExtensions = getSharedExtensions();
6529
- const extensions = [...sharedExtensions, BaseFigure];
6530
+ const extensions = [...sharedExtensions, BaseFigure, import_extension_table2.TableKit, BaseCodeBlock];
6530
6531
  try {
6531
6532
  return (0, import_core19.generateJSON)(content, extensions);
6532
6533
  } catch (error) {