3 Commits

Author SHA1 Message Date
troyeguo
360b5d042b refactor: remove unused CSS import and update TypeScript configuration 2026-06-05 16:17:29 +08:00
troyeguo
e0660be64e Add @mozilla/readability dependency and enhance HTML import functionality in ImportLocal component
- Introduced the @mozilla/readability library to improve HTML content extraction from URLs.
- Enhanced the importHtmlFromURL method to fetch, parse, and sanitize HTML content, ensuring relative URLs are converted to absolute.
- Added utility functions for escaping HTML and making URLs absolute within the imported content.
- Updated type definitions to include Readability class for TypeScript support.
2026-06-01 11:16:08 +08:00
troyeguo
2adb78d648 使用typescript重构
Former-commit-id: 10f9b6dee814275a1078267253f725c378e15310
2020-04-25 23:08:44 +08:00