- Updated the cloud synchronization logic in ImportLocal and Manager components to check for the 'isDisableAutoSync' setting before executing the sync function.
- Improved code readability by consolidating the conditional statements for synchronization.
- Ensured consistent behavior across components when handling book imports and synchronization.
- Added `toBlob` utility function to convert content strings to Blob objects with appropriate MIME types.
- Implemented `groupByBook` function to group notes and highlights by book name.
- Introduced `sanitizeFileName` function to replace illegal characters in file names with underscores.
- Created `convertNotesData` and `convertHighlightsData` functions to convert notes and highlights to various text formats.
- Updated `exportNotes` and `exportHighlights` functions to support exporting multiple books as ZIP files, including individual files for each book.
- Refactored PDF generation logic to handle multiple books and fallback to HTML if necessary.
- Improved overall code organization and readability.
- Updated zh-CN.json to include a new translation for "Recommended layout".
- Modified dropdownList.tsx to add "Recommended layout" option for book layout selection.
- Introduced kookit.min.css with comprehensive styling rules for various HTML elements, enhancing the visual presentation of content.