Documention
Changelog

Changelog

πŸš€ v4.5.0 2024-09-04

  1. Enhanced support for TypeScript;
  2. Fixed an issue where images did not display when floating, by @ChenErik (#54);
  3. Fixed the issue of cursor loss in code blocks;
  4. After calling the setContent method and importing Word documents, the pagination method is called to paginate newly inserted content to prevent pagination errors;
  5. Exposed the autoPagination method for active pagination;
  6. Fixed incorrect display in dark mode;
  7. Fixed incorrect display of the bubble menu when the document is empty;
  8. Optimized printing logic, allowing printing only when the document content is not empty;
  9. Fixed the issue where images could still be dragged and resized in read-only mode, fixed by @ChenErik in (#62);
  10. Fixed the issue where preview mode could not be opened in full-screen mode, reported by @BOKE2014 (#61) and fixed by @ChenErik in (#62);
  11. Added a Placeholder extension for inserting placeholders in documents and fixed the issue of incorrect cursor display when the document is empty, by @lehno (#66);
  12. Fixed the issue of svgIcon conflicts and other problems, by @ChenErik in (#67);
  13. Fixed the issue of incorrect content display after copying content from other Umo Editor documents;
  14. Upgraded tiptap dependencies to 2.2.6 to resolve some known issues.
  15. Other detail adjustments, optimizations, and bug fixes.

πŸš€ v4.1.2 2024-08-21

  1. Added prefix to class names to prevent style pollution that could cause components to display incorrectly;
  2. Added lazy loading for images and videos @shenghui-shan (#31);
  3. Added pagination calculation configuration for custom nodes, optimizing the internal logic of pagination;
  4. Other detail adjustments and optimizations.

πŸš€ v4.1.1 2024-08-20

  1. Fixed a logic error with the toolbar’s show/hide header button;
  2. Resolved a problem where headers and footers were not showing after inserting saved document content.

πŸš€ v4.1.0 2024-08-19

  1. Added header and footer slots, which allow for customizing headers and footers through these slots; see the slots for more details;
  2. Added a page break feature, which allows you to move directly to the next page by inserting a page break, eliminating the need to repeatedly press enter;
  3. Added page information statistics to the bottom status bar;
  4. Optimized the initial width and height of image and video nodes to improve pagination responsiveness;
  5. Fixed an issue where the block menu was misaligned after changes in page margins;
  6. Modified the Word import script to load via CDN from @qtch (#46);
  7. Changed page settings to submit all changes at once, reducing performance overhead;
  8. Made other minor adjustments.

πŸŽ‰ v4.0.0 2024-08-15

This update involved over 200 commits and merges, with significant changes, primarily focusing on the pagination feature and its integration. It also introduces a new printing function. A big thank you to the handsome and talented Cassie for their hard work day and night.

Due to the extensive nature of this update, not all changes are listed here. Below are some of the major updates:

  1. Introduced pagination similar to Microsoft Word, with options to enable or disable it. It is enabled by default, but users can choose to turn it off.
  2. Rewrote the printing function, which now integrates seamlessly with the pagination feature and significantly improves response time.
  3. Deprecated the page.showBreakMarks configuration and removed the display of break marks.
  4. Fixed an issue where dragging handles up and down exceeded the height of image and video nodes.
  5. Resolved a problem where the page would scroll when clicking on the page outline.
  6. Various other adjustments and optimizations.

πŸš€ v3.1.2 2024-08-12

Fix the issue of import errors in mammoth.js.

πŸš€ v3.1.1 2024-08-10

Fix the issue of custom methods being called by default when importing Word documents.

πŸš€ v3.1.0 2024-08-10

  1. Added the import Word feature, now you can directly import Word documents from your local machine, see Toolbar Configuration;
  2. Added a simple format painter feature;
  3. Added the ability to adjust the spacing between nodes;
  4. Added synchronized highlighting and scrolling for the page outline when the page is scrolled @qtch (#21);
  5. Fixed the issue where the result returned by the getSelectionNode method was inaccurate;
  6. Added the setCurrentNodeSelection method, which selects the entire current node;
  7. Added a text selection downgrade solution to prevent the selected content from appearing lost;
  8. Fixed the issue where the image upload progress bar remained visible.

πŸŽ‰ v3.0.0 2024-08-05

  1. [Major Update] Added AI Document Assistant, see AI Document Assistant;
  2. [Major Update] Added toolbar and bubble menu slots to enable more customization through slots, see Slot List;
  3. [Major Update] Opened some UI components, see Component List;
  4. [Important Note] As of v3.0, installation via direct browser inclusion is no longer supported;
  5. Added the getTableOfContents method to retrieve the page outline information, @qtch (#26);
  6. Added the getSelectionText method to get the content of the currently selected text, @qtch (#35);
  7. Added the getSelectionNode method to get information about the currently selected node, @qtch (#35);
  8. Added the deleteSelectionNode method to delete the currently selected node;
  9. Added missing dependencies to resolve phantom dependency issues with pnpm, @xuzhenjun130 (#27);
  10. Fixed an issue where the electronic seal insertion button did not display the correct language, @shenghui-shan (#30);
  11. Fixed an issue where the editor lost focus when the dropdown list expanded in menu items, @qtch (#33);
  12. Fixed an issue where image upload triggered the upload method twice;
  13. When deleting a node via the block-level menu, also delete the corresponding uploaded file from the file node;
  14. Fixed an issue where the width of inserted images, videos, and other nodes was incorrect;
  15. Dynamically import KaTeX styles based on conditions, significantly reducing the size of the style bundle;
  16. Update Tiptap dependencies to the latest version, and fix compatibility issues caused by dependency upgrades;
  17. Adjust dependencies and simplify the NPM package installation method;
  18. Other detail adjustments.

πŸš€ v2.3.12024-07-22

  1. The setContent method triggers the update method by default, @qtch (#24), see setContent Method;
  2. Fixed math formula style error @GhostyCHEN (#25).

πŸš€ v2.3.02024-07-22

  1. Added support for 6 levels of headings @shenghui-shan (#23);
  2. Fixed an issue where .page-content did not exist when updating page height @shenghui-shan (#22);
  3. Added default line height for documents and print;
  4. Improved the table of contents;
  5. Fixed the incorrect file extension after exporting text documents;
  6. Added document.editorProps and document.parseOptions configuration items; see: Configuration - Document;
  7. Added the contentError event; see: Events;
  8. Updated dependencies;
  9. Various minor adjustments.

πŸš€ v2.2.02024-07-16

  1. Add parameters to the focus method, see focus method;
  2. The setContent method now provides more configuration options to control behavior after setting content, see setContent method @shenghui-shan (#15);
  3. Fix a bug where the bubble menu did not show up after reloading the component @shenghui-shan (#12);
  4. Fix a bug where the background of selected text was lost when choosing more colors for text and background color changes @qtch (#17);
  5. Fix a bug where the table of contents jump-to-location feature failed when readonly was set to true @shenghui-shan (#17);
  6. Update some dependencies;
  7. Bug fixes and code optimization.

πŸš€ v2.1.02024-07-06

Add support for dark mode, see https://demo.umodoc.com/editor?lang=en-US&theme=dark 。

πŸŽ‰ v2.0.0-beta.12024-06-24

  1. Added i18n support, currently supporting Simplified Chinese and English, see locales;
  2. Adjustments and restructuring of directories, files, and code in the code repository;
  3. Provided development documentation and online examples in both Chinese and English;
  4. Some API changes have occurred, the main changes are as follows:
    • Modified the default value of page.defaultOrientation to portrait, with options being portrait and landscape, see Page Configuration;
    • Added locale and translations configurations, see Custom Localization Configuration;
    • Added methods setLocale, getLocale, and getI18n, see Methods;
    • Added the changed:locale event, see Events.
    • The label item in configuration now supports both String and Object types, with the Object type mainly used for configuring multilingual information, see Default Configuration;
  5. Updated dependencies;
  6. Fixed several bugs and issues;
  7. Optimized some details.

πŸš€ v1.4.1 ~ 2 2024-06-13

New instructions for npm installation, etc. @abclaboratory (#2).

πŸš€ v1.4.02024-06-03

  1. Added support for custom extensions, see extensions;
  2. Added auto-save parameters, see document.autoSave;
  3. Fixed the bug where the page outline display was messy when there was too much content @tenglongwentian (#2).

πŸš€ v1.3.12024-06-02

Optimized styles and display related to the block menu.

πŸš€ v1.3.02024-06-01

  1. Added support for the block menu;
  2. Fixed the bug where β€œIncrease Indent” and β€œDecrease Indent” did not work;
  3. Added β€œQuote” style;
  4. Minor adjustments and optimizations.

πŸš€ v1.2.22024-05-24

  1. Printing settings now use local caching;
  2. Restored the default value of cdnUrl;
  3. Simplified menu button configuration to improve response speed;
  4. Updated dependencies.

πŸš€ v1.2.12024-05-24

Synchronized version numbers with @umoteam/editor-external.

πŸš€ v1.2.02024-05-24

  1. Added printing settings;
  2. Reduced bundle size.

πŸš€ v1.2.0-beta.0 ~ 12024-05-23

  1. Updated dependencies;
  2. Added confirmation dialog for deleting tables, table rows, and table columns;
  3. Optimized the page outline to display with outline levels indented;
  4. Fixed the bug where the insert link dialog did not display the title;
  5. Fixed the bug where the divider bubble menu was displayed incorrectly;
  6. Modified the default value of cdnUrl;
  7. Optimized details.

πŸš€ v1.1.22024-05-22

Fixed the bug where the print page style could not be loaded, etc.

πŸš€ v1.1.12024-05-22

Optimized some details.

πŸš€ v1.1.02024-05-22

  1. Added document preview functionality;
  2. Added document printing functionality;
  3. Released some third-party modules that Umo Editor depends on as a separate @umoteam/editor-external package;
  4. Optimized some details.

πŸš€ v1.0.1 2024-05-13

The first official release of Umo Editor.

πŸš€ v1.0.0-beta.2 ~ 7 2024-05-12

  1. Packaging tests;
  2. Minor adjustments and optimizations;
  3. Bug fixes.

πŸŽ‰ v1.0.0-beta.1 2024-05-10

The release of Umo Editor 1.0.0 beta.1.