Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy Headings and Bottom Blocks does not work properly on Android #12211

Closed
2 tasks
TCOTC opened this issue Aug 7, 2024 · 9 comments
Closed
2 tasks

Copy Headings and Bottom Blocks does not work properly on Android #12211

TCOTC opened this issue Aug 7, 2024 · 9 comments
Assignees
Labels
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Aug 7, 2024

复制标题及下方块 得到的是 HTML 而不是 Markdown,并且在移动端无法正常粘贴

https://ld246.com/article/1723024006808

Screenshot_2024-08-07-18-03-04-51_ed1bdeca7a858bb430bfb9c256856672.jpg

@TCOTC TCOTC changed the title 复制标题及下方块得到的是 HTML 而不是 Markdown,并且在移动端无法正常粘贴 复制标题及下方块 得到的是 HTML 而不是 Markdown,并且在移动端无法正常粘贴 Aug 7, 2024
@Vanessa219 Vanessa219 assigned 88250 and unassigned Vanessa219 Aug 9, 2024
@Vanessa219
Copy link
Member

浏览器端无法设置剪切板中的多种 data,@88250 看一下 go 是否能设置剪切板中的 text/plaintext/html 数据

@88250
Copy link
Member

88250 commented Aug 9, 2024

Android 端新增一个接口用于设置 HTML 剪切板。

88250 added a commit to siyuan-note/siyuan-android that referenced this issue Aug 9, 2024
@88250 88250 added this to the 3.1.4 milestone Aug 9, 2024
@88250 88250 added Bug and removed Enhancement labels Aug 9, 2024
Vanessa219 added a commit that referenced this issue Aug 9, 2024
@88250 88250 changed the title 复制标题及下方块 得到的是 HTML 而不是 Markdown,并且在移动端无法正常粘贴 Copy Headings and Bottom Blocks does not work properly on Android Aug 9, 2024
@88250

This comment was marked as outdated.

Vanessa219 added a commit that referenced this issue Aug 9, 2024
Vanessa219 added a commit that referenced this issue Aug 9, 2024
@88250
Copy link
Member

88250 commented Aug 9, 2024

上面回复的方案有点问题,已经改为复制为标准 Markdown 了。

@88250 88250 closed this as completed Aug 9, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 10, 2024

@88250 我这里复制之后粘贴出来的还是 HTML

@88250
Copy link
Member

88250 commented Aug 10, 2024

你编译移动端测试的吗?

@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 10, 2024

我用的是桌面端,“通过 复制标题及下方块 得到 Markdown” 是我在桌面端的需求

p.s. 移动端不能跨块复制 Markdown ,所以复制 Markdown 在移动端目前基本没什么用

@88250
Copy link
Member

88250 commented Aug 10, 2024

单独提个 issue 吧。

@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 10, 2024

关联 #12227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants