siyuan-note / siyuan

A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.
https://b3log.org/siyuan
GNU Affero General Public License v3.0
22.48k stars 1.59k forks source link

选中文字后粘贴,被选中的文字不会替换 #12597

Closed billypon closed 1 month ago

billypon commented 1 month ago

Is there an existing issue for this?

Can the issue be reproduced with the default theme (daylight/midnight)?

Could the issue be due to extensions?

Describe the problem

在别处复制一段文字,到思源中选中一段我想替换的文字,按Ctrl-v进行粘贴,此时被选中的文字还在,粘贴的文字出现在光标处

Expected result

被选中的文字删除,替换成粘贴的文字

Screenshot or screen recording presentation

No response

Version environment

- Version: 3.1.7
- Operating System: Windows 10
- Browser (if used):

Log file

这个问题与log没有关系,就不贴了

More information

No response

TCOTC commented 1 month ago

在别处复制一段文字

在哪?录屏重现一下

88250 commented 1 month ago

选中块后粘贴是不替换的。

TCOTC commented 1 month ago

粘贴的文字出现在光标处

确实,这个症状是选中了块粘贴