Changelog
Thank you for your continued support of Umo Editor. After careful consideration and facing many challenges, we have decided that v4.6 will be the final version to support pagination. Starting with v5.0, pagination support will be temporarily discontinued, but it may return in the future.
The good news is that the Tiptap official team has noticed the communityβs urgent need for a pagination feature and has already started development. However, there is no clear release date yet. See: https://x.com/tiptap_editor/status/1812154617733538288.
If you still need pagination, you can continue using the v4.x versions, but these versions will no longer be maintained. Alternatively, you can fork the code and modify it yourself. The branch supporting pagination is available at: page-break-v4.
π v5.0.0 2025-02-08
- β οΈ Completely removed support for pagination.
- Added page break and line break extensions, replacing the original Placeholder extension, etc.;
- Optimized printing functionality;
- Added bookmark feature, submitted by @china-wangxu in (#137);
- Added file preview feature, related configurations can be found in File Upload Configuration;
- Unbound all shortcut keys after component destruction @Liuxl945 (#135);
- Optimized multiple internal extensions such as text boxes, images, and links;
- Added
getPage
method to retrieve page settings and other information @SerRashin (#120). - Fixed the issue where the save method was called multiple times when using Ctrl+S after multiple destructions of the component @fjll-425361 (#96);
- Removed unused functional modules to reduce the package size;
- Other minor adjustments and optimizations.
π v4.6.2 2025-02-07
- Bug fixes;
π v4.6.1 2025-01-15
- Bug fixes;
π v4.6.0 2025-01-15
- Simplified the
placeholder
extension by implementing it through CSS. - Fixed the issue where text selection flickered when the mouse moved over the block handler, resolved by @ChenErik in (#72).
- Added cursor styles to the
placeholder
extension and enabled table resizing via color highlights, fixed by @ChenErik in (#73). - Fixed display errors when setting to-do items as subtasks by @BOKE2014 in (#74).
- Migrated the entire codebase to TypeScript, contributed by @Goldziher in (#80).
- Fixed issues with the incorrect display of custom nodes.
- Improved precision for setting image node heights.
- Resolved issues with default heights in video nodes.
- Fixed overlapping and aspect ratio issues in digital signatures by @BOKE2014 in (#75).
- Fixed errors when inserting table.
- Resolved issues with alignment menus not functioning properly.
- Fixed text boxes being obscured by other elements.
- Fixed dropdown menus not displaying under toolbar buttons.
- Addressed non-functional language settings and other i18n-related errors.
- Fixed issues where QR code generation parameters did not take effect.
- Resolved problems where the bubble menu still displayed when images failed to load.
- Set digital stamps to default to auto height.
- Fixed errors when converting base64 images to file objects.
- Resolved errors during file deletion.
- Increased loading priority for page extensions.
- Fixed issues with default backgrounds not applying to pages.
- Optimized word count calculations.
- Improved the display of link buttons.
- Fixed missing prompts when resetting the editor.
- Corrected document link errors.
- Enhanced the source code editor and fixed incorrect language displays.
- Downgraded Node, Vue, Vite, and some dependencies for improved backward compatibility.
- Rewrote the signature component.
- Prevented watermark removal during printing.
- Enabled file nodes to display file download bubble menus after upload completion.
- Fixed non-functional ordered and unordered list features.
- Added countdown functionality to presentation mode by @BOKE2014 in (#61).
- Added preview functionality for file nodes, allowing interconversion between image, video, audio, and file nodes by @BOKE2014 in (#92).
- Introduced the
useEditor
method to simplify usage compared togetEditor
, especially for manual pagination. - Optimized block menu displays.
- Fixed the
placeholder
extensionβs incompatibility with Markdown syntax. - Added Russian language support, contributed by @SerRashin in (#117).
- Fixed issues where exiting and re-entering preview mode was not possible.
- Various other adjustments, optimizations, and bug fixes.
π v4.5.0 2024-09-04
- Enhanced support for TypeScript;
- Fixed an issue where images did not display when floating, by @ChenErik (#54);
- Fixed the issue of cursor loss in code blocks;
- After calling the
setContent
method and importing Word documents, the pagination method is called to paginate newly inserted content to prevent pagination errors; - Exposed the
autoPagination
method for active pagination; - Fixed incorrect display in dark mode;
- Fixed incorrect display of the bubble menu when the document is empty;
- Optimized printing logic, allowing printing only when the document content is not empty;
- Fixed the issue where images could still be dragged and resized in read-only mode, fixed by @ChenErik in (#62);
- Fixed the issue where preview mode could not be opened in full-screen mode, reported by @BOKE2014 (#61) and fixed by @ChenErik in (#62);
- 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);
- Fixed the issue of svgIcon conflicts and other problems, by @ChenErik in (#67);
- Fixed the issue of incorrect content display after copying content from other Umo Editor documents;
- Upgraded tiptap dependencies to 2.2.6 to resolve some known issues.
- Other detail adjustments, optimizations, and bug fixes.
π v4.1.2 2024-08-21
- Added prefix to class names to prevent style pollution that could cause components to display incorrectly;
- Added lazy loading for images and videos @shenghui-shan (#31);
- Added pagination calculation configuration for custom nodes, optimizing the internal logic of pagination;
- Other detail adjustments and optimizations.
π v4.1.1 2024-08-20
- Fixed a logic error with the toolbarβs show/hide header button;
- Resolved a problem where headers and footers were not showing after inserting saved document content.
π v4.1.0 2024-08-19
- Added header and footer slots, which allow for customizing headers and footers through these slots; see the slots for more details;
- 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;
- Added page information statistics to the bottom status bar;
- Optimized the initial width and height of image and video nodes to improve pagination responsiveness;
- Fixed an issue where the block menu was misaligned after changes in page margins;
- Modified the Word import script to load via CDN from @qtch (#46);
- Changed page settings to submit all changes at once, reducing performance overhead;
- 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:
- 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.
- Rewrote the printing function, which now integrates seamlessly with the pagination feature and significantly improves response time.
- Deprecated the
page.showBreakMarks
configuration and removed the display of break marks. - Fixed an issue where dragging handles up and down exceeded the height of image and video nodes.
- Resolved a problem where the page would scroll when clicking on the page outline.
- 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
- Added the import Word feature, now you can directly import Word documents from your local machine, see Toolbar Configuration;
- Added a simple format painter feature;
- Added the ability to adjust the spacing between nodes;
- Added synchronized highlighting and scrolling for the page outline when the page is scrolled @qtch (#21);
- Fixed the issue where the result returned by the
getSelectionNode
method was inaccurate; - Added the
setCurrentNodeSelection
method, which selects the entire current node; - Added a text selection downgrade solution to prevent the selected content from appearing lost;
- Fixed the issue where the image upload progress bar remained visible.
π v3.0.0 2024-08-05
- [Major Update] Added AI Document Assistant, see AI Document Assistant;
- [Major Update] Added toolbar and bubble menu slots to enable more customization through slots, see Slot List;
- [Major Update] Opened some UI components, see Component List;
- [Important Note] As of v3.0, installation via direct browser inclusion is no longer supported;
- Added the
getTableOfContents
method to retrieve the page outline information, @qtch (#26); - Added the
getSelectionText
method to get the content of the currently selected text, @qtch (#35); - Added the
getSelectionNode
method to get information about the currently selected node, @qtch (#35); - Added the
deleteSelectionNode
method to delete the currently selected node; - Added missing dependencies to resolve phantom dependency issues with pnpm, @xuzhenjun130 (#27);
- Fixed an issue where the electronic seal insertion button did not display the correct language, @shenghui-shan (#30);
- Fixed an issue where the editor lost focus when the dropdown list expanded in menu items, @qtch (#33);
- Fixed an issue where image upload triggered the upload method twice;
- When deleting a node via the block-level menu, also delete the corresponding uploaded file from the file node;
- Fixed an issue where the width of inserted images, videos, and other nodes was incorrect;
- Dynamically import KaTeX styles based on conditions, significantly reducing the size of the style bundle;
- Update Tiptap dependencies to the latest version, and fix compatibility issues caused by dependency upgrades;
- Adjust dependencies and simplify the NPM package installation method;
- Other detail adjustments.
π v2.3.12024-07-22
- The
setContent
method triggers the update method by default, @qtch (#24), see setContent Method; - Fixed math formula style error @GhostyCHEN (#25).
π v2.3.02024-07-22
- Added support for 6 levels of headings @shenghui-shan (#23);
- Fixed an issue where
.page-content
did not exist when updating page height @shenghui-shan (#22); - Added default line height for documents and print;
- Improved the table of contents;
- Fixed the incorrect file extension after exporting text documents;
- Added
document.editorProps
anddocument.parseOptions
configuration items; see: Configuration - Document; - Added the
contentError
event; see: Events; - Updated dependencies;
- Various minor adjustments.
π v2.2.02024-07-16
- Add parameters to the
focus
method, see focus method; - The
setContent
method now provides more configuration options to control behavior after setting content, see setContent method @shenghui-shan (#15); - Fix a bug where the bubble menu did not show up after reloading the component @shenghui-shan (#12);
- Fix a bug where the background of selected text was lost when choosing more colors for text and background color changes @qtch (#17);
- Fix a bug where the table of contents jump-to-location feature failed when
readonly
was set to true @shenghui-shan (#17); - Update some dependencies;
- 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
- Added i18n support, currently supporting Simplified Chinese and English, see
locales
; - Adjustments and restructuring of directories, files, and code in the code repository;
- Provided development documentation and online examples in both Chinese and English;
- Some API changes have occurred, the main changes are as follows:
- Modified the default value of
page.defaultOrientation
toportrait
, with options beingportrait
andlandscape
, see Page Configuration; - Added
locale
andtranslations
configurations, see Custom Localization Configuration; - Added methods
setLocale
,getLocale
, andgetI18n
, see Methods; - Added the
changed:locale
event, see Events. - The
label
item in configuration now supports bothString
andObject
types, with theObject
type mainly used for configuring multilingual information, see Default Configuration;
- Modified the default value of
- Updated dependencies;
- Fixed several bugs and issues;
- Optimized some details.
π v1.4.1 ~ 2 2024-06-13
New instructions for npm
installation, etc. @abclaboratory (#2).
π v1.4.02024-06-03
- Added support for custom extensions, see
extensions
; - Added auto-save parameters, see
document.autoSave
; - 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
- Added support for the block menu;
- Fixed the bug where βIncrease Indentβ and βDecrease Indentβ did not work;
- Added βQuoteβ style;
- Minor adjustments and optimizations.
π v1.2.22024-05-24
- Printing settings now use local caching;
- Restored the default value of
cdnUrl
; - Simplified menu button configuration to improve response speed;
- Updated dependencies.
π v1.2.12024-05-24
Synchronized version numbers with @umoteam/editor-external
.
π v1.2.02024-05-24
- Added printing settings;
- Reduced bundle size.
π v1.2.0-beta.0 ~ 12024-05-23
- Updated dependencies;
- Added confirmation dialog for deleting tables, table rows, and table columns;
- Optimized the page outline to display with outline levels indented;
- Fixed the bug where the insert link dialog did not display the title;
- Fixed the bug where the divider bubble menu was displayed incorrectly;
- Modified the default value of
cdnUrl
; - 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
- Added document preview functionality;
- Added document printing functionality;
- Released some third-party modules that Umo Editor depends on as a separate @umoteam/editor-external package;
- 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
- Packaging tests;
- Minor adjustments and optimizations;
- Bug fixes.
π v1.0.0-beta.1 2024-05-10
The release of Umo Editor 1.0.0 beta.1.