Commit Graph

40 Commits

Author SHA1 Message Date
Jiacheng
5b84279673 🎨 Support auto-convert pasted URL to clickable link format (#17338)
* feat: auto-convert pasted URL to clickable link format (#17337)

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/cdea999d-27c0-4260-a0b4-519e011e6667

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* fix: use angle bracket URL syntax for markdown link safety

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/cdea999d-27c0-4260-a0b4-519e011e6667

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* feat: add pasteURLAutoConvert editor setting to control URL auto-linking

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/1b722c05-e69f-4964-89bb-7f928d5adeb3

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* refactor: reuse setInlineMark for paste URL auto-convert, matching Ctrl+K link handler pattern

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/332d1b44-cebe-45b2-833e-72d7e3253a3d

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* refactor: extract shared resolveLinkDest and genLinkText utility functions

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/316f674d-3ce9-4b40-8711-08edb8af1aec

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* Disable automatic URL conversion on paste

* feat: add stripScheme option to genLinkText - keep scheme for paste, strip for Ctrl+K

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/960eaf33-f873-4709-8e63-8d9b473de4ee

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* Improve link handling in paste function

Refactor link handling in paste function to update range after setting inline mark.

* Fix return statement in paste.ts

* style: fix json tag alignment in Editor struct

* Update app/src/mobile/settings/editor.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(Link): handle URI decoding more safely in genLinkText

Add try-catch block to prevent URI decoding errors and make decoding optional

* feat(editor): add auto URL to link conversion on paste

Implement automatic conversion of pasted URLs to clickable links when the pasteURLAutoConvert setting is enabled. This improves user experience by eliminating the manual step of creating links for pasted URLs. The functionality is extracted into a separate function for better code organization and reuse.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-29 22:40:42 +08:00
Jeffrey Chen
2739def842 🎨 Support configuring the floating window hover trigger delay (#17123)
* 🎨 Support configuring the floating window hover trigger delay

* 🎨 Support configuring the floating window hover trigger delay
2026-03-02 23:13:02 +08:00
Daniel
11115da3d0 🔒 Do not execute scripts in assets SVG by default to prevent XSS https://github.com/siyuan-note/siyuan/issues/16844
Signed-off-by: Daniel <845765@qq.com>
2026-01-16 18:11:55 +08:00
Daniel
5bef3bf817 🎨 Supports setting the spell check language on desktop https://github.com/siyuan-note/siyuan/issues/16524
Signed-off-by: Daniel <845765@qq.com>
2025-12-08 17:47:46 +08:00
Daniel
2e40a53802 🎨 Supports setting the spell check language on desktop https://github.com/siyuan-note/siyuan/issues/16524
Signed-off-by: Daniel <845765@qq.com>
2025-12-08 17:47:45 +08:00
Jeffrey Chen
d14501178d 🎨 Backlink and backmention sort mode persistence (#16291)
fix https://github.com/siyuan-note/siyuan/issues/7764
2025-11-06 09:33:20 +08:00
Jeffrey Chen
6150e9b7c6 🎨 Record the width of some Protyle elements in the attributes (#15043)
fix https://github.com/siyuan-note/siyuan/issues/15021
2025-10-25 17:16:56 +08:00
Achuan-2
ee5eb01c52 🎨 The embed block of a heading supports hiding the heading itself 2025-09-25 16:54:01 +08:00
Daniel
d3ba886b7a 🎨 Backlink contain children by default 2025-01-05 00:56:37 +08:00
Daniel
f708e99a74 🎨 The backlink panel no longer displays child-block references https://github.com/siyuan-note/siyuan/issues/12861 2024-10-21 23:41:27 +08:00
Daniel
6a3095c56c 🎨 No longer limits the number of dynamically loaded blocks in the editor https://github.com/siyuan-note/siyuan/issues/12359 2024-08-29 16:53:02 +08:00
Daniel
fd22bbba7f 🎨 Improve backlink panel expansion configuration https://github.com/siyuan-note/siyuan/issues/11262 2024-05-11 17:09:35 +08:00
Daniel
34caeb5871 🎨 Do not execute scripts in HTML blocks by default to prevent XSS https://github.com/siyuan-note/siyuan/issues/11172 2024-04-27 23:01:31 +08:00
Daniel
b9f269ae85 🎨 Supports disabling Markdown syntax input for some inline elements https://github.com/siyuan-note/siyuan/issues/11141 2024-04-26 12:08:01 +08:00
Daniel
9c61d2a36f 🎨 Improve doc dynamic loading https://github.com/siyuan-note/siyuan/issues/10851 2024-04-06 10:50:25 +08:00
Daniel
d6164264fe 🎨 Support disabling list item dot/number click to focus https://github.com/siyuan-note/siyuan/issues/10431 2024-02-25 10:59:34 +08:00
Daniel
c6a32b1712 🎨 Improve floating window triggering method https://github.com/siyuan-note/siyuan/issues/10317 2024-02-09 12:05:29 +08:00
Daniel
7ea957e94d 🎨 The default number of dynamically loaded blocks is adjusted from 128 to 192 2023-10-04 10:40:02 +08:00
Daniel
6b4d44402f 🎨 Update text code block line num tip 2023-09-13 20:14:21 +08:00
Daniel
b9c35fd0f5 🎨 Update slogan Refactor your thinking https://github.com/siyuan-note/siyuan/issues/8608 2023-06-24 20:39:55 +08:00
Daniel
337120511a 🎨 Add editor font size scroll zoom switch https://github.com/siyuan-note/siyuan/issues/8297 2023-05-27 22:21:05 +08:00
Liang Ding
4ec4e1d882 🎨 Add configuration item Editor - [[ Only search doc block Fix https://github.com/siyuan-note/siyuan/issues/8077 2023-04-22 09:18:00 +08:00
Liang Ding
f569df8efd 🎨 支持配置反链面板提及默认展开数 https://github.com/siyuan-note/siyuan/issues/7743 2023-03-22 14:35:22 +08:00
Liang Ding
18a9d6b245 🎨 反链面板默认展开 https://github.com/siyuan-note/siyuan/issues/6083 2023-01-09 22:51:37 +08:00
Liang Ding
fc66472637 🎨 桌面端和浏览器端支持英文拼写检查 https://github.com/siyuan-note/siyuan/issues/597 2022-12-30 11:27:26 +08:00
Liang Ding
c24c4f4ef1 🎨 添加编辑器设置 2022-10-31 15:55:11 +08:00
Liang Ding
998665a171 :art:编辑器动态加载块数由定值改为可配置 https://github.com/siyuan-note/siyuan/issues/6415 2022-10-30 22:45:47 +08:00
Liang Ding
911490c350 🎨 支持设置悬浮窗弹出选项 https://github.com/siyuan-note/siyuan/issues/4781 2022-10-28 20:01:30 +08:00
Liang Ding
4559b03488 🎨 支持设置悬浮窗弹出选项 https://github.com/siyuan-note/siyuan/issues/4781 2022-10-28 19:01:18 +08:00
Liang Ding
fe7b98d1a9 🎨 支持设置 虚拟引用关键字包含列表 https://github.com/siyuan-note/siyuan/issues/6354 2022-10-26 09:24:07 +08:00
Liang Ding
af26c05783 🎨 支持非列表大纲式缩出 https://github.com/siyuan-note/siyuan/issues/4346 2022-10-24 11:17:22 +08:00
Liang Ding
3bc24f89c5 🎨 查询嵌入块支持设置是否显示面包屑 https://github.com/siyuan-note/siyuan/issues/6184 2022-10-17 10:37:01 +08:00
Liang Ding
fe00fb7ead 支持设置编辑器只读模式 https://github.com/siyuan-note/siyuan/issues/2648 2022-10-11 20:00:59 +08:00
Liang Ding
0959994e73 🎨 数学公式支持设置全局宏定义 https://github.com/siyuan-note/siyuan/issues/5682 2022-08-27 22:19:42 +08:00
Liang Ding
d510a74aab 🎨 数学公式支持设置全局宏定义 https://github.com/siyuan-note/siyuan/issues/5682 2022-08-27 21:46:32 +08:00
Liang Ding
d04e9efb03 🎨 初始化默认 设置 - 编辑器 - 自适应宽度 开启 2022-08-19 23:30:41 +08:00
Liang Ding
6378526be9 🎨 桌面版内容显示宽度支持调整 https://github.com/siyuan-note/siyuan/issues/5182 2022-06-30 21:30:18 +08:00
Liang Ding
f14b71878b 🎨 块引搜索结果高亮片段改进 https://github.com/siyuan-note/siyuan/issues/5125
改进全局搜索多个关键字命中时高亮片段 https://github.com/siyuan-note/siyuan/issues/5124
2022-06-08 00:39:18 +08:00
Liang Ding
ef60510fb0 🎨 默认开启编辑器网络图片角标设置 2022-06-03 11:45:42 +08:00
Liang Ding
f40ed985e1 ❤️ 完整开源界面和内核 https://github.com/siyuan-note/siyuan/issues/5013 2022-05-26 15:18:53 +08:00