* fix(protyle): use true for genLinkText to show link text
* fix(paste): adjust link paste logic
* refactor(paste): improve URL auto-conversion logic and link handling
- Extract URL to link conversion into separate function for better maintainability
- Simplify pasteAsLink by removing multi-line handling and using single logic
- Move URL auto-conversion check before pasteAsLink for proper processing order
* refactor(paste): simplify URL to link conversion logic
Remove convertUrlsToLinks function and improve pasteAsLink to handle text segments more efficiently. The new implementation processes text and links separately while maintaining whitespace and only converts valid URLs to links.
* feat(paste): add auto URL conversion when pasting text
Add new method Md2BlockDOMWithAutoLink to Lute interface and implement auto URL conversion based on editor configuration. This addresses the feature request for automatically converting pasted URLs to links.
* refactor(paste): remove pasteAsLink function and use lute's auto link conversion
Simplify link handling during paste by leveraging lute's built-in auto link conversion functionality instead of maintaining a separate implementation. This change improves maintainability and reduces code duplication.
* fix(paste): move link conversion after HTML unescape
Ensure link conversion is applied to the correct processed content by moving it after HTML unescaping
* fix: remove auto-link conversion for block paste
The conditional logic for auto-link conversion during paste was incorrectly applied. The code previously skipped auto-link conversion for block types, but the condition was reversed. Since block types should not have auto-link conversion, the condition has been removed entirely to align with the intended behavior.
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters
* 🎨 Improve validation of some JSON parameters