Comments (8)
当粘贴剪切板列表的siyuan的内嵌代码,无法正常粘贴为内嵌代码
unicode和RTF不一致
from siyuan.
Win+V 我这里测试正常:
issue.webm
unicode和RTF不一致
这个问题没看懂,麻烦再描述一下。
from siyuan.
unicode和RTF不一致
#11281 (comment) 讲过了吧,剪切板富文本和纯文本内容不一致
siyuan复制内嵌代码,实际上复制`xxx`
纯文本,富文本为:<p id="20240514061411-uim5foo" updated="20240514061411"><span data-type="code" >xxx</span></p>
粘贴win+v的旧剪切板内容,实际粘贴的是富文本而不是纯文本
如果粘贴最新的剪切板内容,粘贴的是纯文本的剪切板内容
windows 剪切板有很多格式……
😂😂😂
Other:
思源好像不支持`` `xxx` ``显示成`xxx`
的样式
把`` `xxx` ``粘贴到思源,没反应,只能粘贴为转义
from siyuan.
粘贴win+v的旧剪切板内容,实际粘贴的是富文本而不是纯文本
思源在处理粘贴时优先使用富文本。如果你要从 IDE 里复制纯文本,应该用这个:
思源好像不支持
`xxx`
显示成xxx
的样式
是的,不支持。
from siyuan.
粘贴win+v的旧剪切板内容,实际粘贴的是富文本而不是纯文本
思源在处理粘贴时优先使用富文本。
为啥最新的剪切板粘贴是纯文本,旧剪切板内容就读取富文本?
如果你要从 IDE 里复制纯文本,应该用这个:
我是知道的
win10最新剪切板能正常粘贴为纯文本,如果从剪切板选择旧剪切板内容,无法选择粘贴为纯文本
要粘贴为纯文本,必须先粘贴旧内容,先撤销刚才的操作,此时剪切板最新内容已经成刚才粘贴的旧内容了,再点右键菜单的纯文本选项或ctrl+win+v(PowerToys支持)就能粘贴为`XX`
你觉得符合用户的操作习惯嘛?
from siyuan.
我调试了下,通过 Win+V 发送最新的条目可以读取到 text/siyuan:
但是发送旧的读取不到:
这个情况下会走 text/html 转换 md,span 就被转换为普通文本了,这里可以改进一下,感谢反馈。
from siyuan.
https://github.com/pyload/pyload
from siyuan.
from siyuan.
Related Issues (20)
- Improve `Ctrl+P` and `Ctrl+F`
- 无法升级 HOT 14
- 接入微信支付 HOT 3
- Improve Wikipedia clipping HOT 3
- Improve untitled database placeholder
- Improve HTML code clipping
- Improve web clip escaping code block markers
- Improve `Add to Database` search HOT 5
- Upgrade mermaid to v10.9.1 HOT 3
- Improve StackExchange formula clipping
- Improve cursor moving in the code block HOT 2
- Display the "Closed notebook" count in the doc tree panel
- Windoar arm64 and Linux arm64 no longer packing pandoc
- Upgrade pdf.js
- `Add to Database` is not available on mobile
- Supports block hyperlink jump in widgets on Android
- Improve Zhihu formula clipping
- Upgrade to Electron v28.3.3
- 更新版本v3.0.17 底部栏变高了 HOT 2
- html 块拖拽后撤销会出现标签
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from siyuan.