eddyter 1.3.75 → 1.3.76

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 (45) hide show
  1. package/LICENSE +24 -24
  2. package/README.md +478 -478
  3. package/dist/EddyterIcon.svg +24 -24
  4. package/dist/api/config/endpoints.d.ts +1 -0
  5. package/dist/assets/style.css +1 -1
  6. package/dist/{babel-B9hn44Wo.js → babel-CCPWkrf4.js} +1302 -726
  7. package/dist/components/EddyterLogo/EddyterLogo.d.ts +2 -1
  8. package/dist/components/HtmlCodeEditor.d.ts +9 -0
  9. package/dist/components/Placeholder/styles.d.ts +2 -0
  10. package/dist/components/Toast/EditorToast.d.ts +2 -0
  11. package/dist/components/ui/button.d.ts +1 -1
  12. package/dist/config/env.d.ts +8 -0
  13. package/dist/{estree-CocPn_Md.js → estree-CxUPh9wa.js} +917 -529
  14. package/dist/generateDocxThumbnail-BbSs-3CJ.js +5876 -0
  15. package/dist/generatePdfThumbnail-U8R2yu3J.js +53 -0
  16. package/dist/generateXlsxThumbnail-BUwuqsXR.js +21707 -0
  17. package/dist/hooks/useFeedbackEligibility.d.ts +2 -2
  18. package/dist/hooks/usePdfPreview.d.ts +6 -0
  19. package/dist/{html-CxCicOef.js → html-CmniStvG.js} +589 -350
  20. package/dist/html2canvas.esm-C2wu93Kq.js +4867 -0
  21. package/dist/{html2pdf.bundle.min-BxzIoi3T.js → html2pdf.bundle.min-Css6bHHm.js} +5223 -3407
  22. package/dist/{index-Cuv9ugJL.js → index-CCVZobcV.js} +3 -3
  23. package/dist/index-CVEa0GRe.js +131 -0
  24. package/dist/{index-CtPRZTab.js → index-DTkM3xiE.js} +12 -9
  25. package/dist/{index-DxEP36zG.js → index-DjD3NbU0.js} +14177 -13383
  26. package/dist/index.js +1 -1
  27. package/dist/lib/toast.d.ts +39 -0
  28. package/dist/{markdown-BUjgWFLu.js → markdown-B0mEGGfQ.js} +1015 -578
  29. package/dist/nodes/EmbedNode.d.ts +7 -2
  30. package/dist/nodes/FileNode.d.ts +3 -0
  31. package/dist/{postcss-CGIcwj_g.js → postcss-B0bxXf7u.js} +1065 -615
  32. package/dist/{standalone-C0qguT38.js → standalone-DmuJV5rn.js} +596 -350
  33. package/dist/store/tableFullWidthStore.d.ts +6 -0
  34. package/dist/types.d.ts +2 -0
  35. package/dist/{typescript-BM7wk6k-.js → typescript-DZlC_9M8.js} +1805 -1113
  36. package/dist/utils/editorStyleConverter.d.ts +3 -1
  37. package/dist/utils/generateDocxThumbnail.d.ts +5 -0
  38. package/dist/utils/generatePdfThumbnail.d.ts +1 -0
  39. package/dist/utils/generateXlsxThumbnail.d.ts +5 -0
  40. package/dist/utils/helper.d.ts +2 -0
  41. package/dist/utils/htmlFormat.d.ts +5 -0
  42. package/dist/utils/index.d.ts +4 -4
  43. package/package.json +147 -150
  44. package/dist/html2pdf.bundle-CVq-OpZt.js +0 -32961
  45. package/dist/index-eRyVFO7x.js +0 -83
@@ -0,0 +1,6 @@
1
+ import { NodeKey } from '../../node_modules/lexical';
2
+ export declare function getFullWidth(key: NodeKey): boolean;
3
+ export declare function setFullWidth(key: NodeKey, value: boolean): void;
4
+ export declare function setFromInitialContent(tableIndexToFullWidth: boolean[]): void;
5
+ export declare function consumePendingInitialTableFullWidth(): boolean[] | null;
6
+ export declare function hasPendingInitialTableFullWidth(): boolean;
package/dist/types.d.ts CHANGED
@@ -56,6 +56,7 @@ export interface ToolbarProps {
56
56
  enableFeatureSuggestion?: boolean;
57
57
  enableBugReport?: boolean;
58
58
  enablePreview?: boolean;
59
+ enableHtmlCanvas?: boolean;
59
60
  fonts?: string[];
60
61
  editor: LexicalEditor;
61
62
  activeEditor: LexicalEditor;
@@ -158,6 +159,7 @@ export interface EditorConfigTypes {
158
159
  enableBugReport?: boolean;
159
160
  enableDragHandle?: boolean;
160
161
  enablePreview?: boolean;
162
+ enableHtmlCanvas?: boolean;
161
163
  };
162
164
  enableFloatingMenu: boolean;
163
165
  htmlViewOption: boolean;