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

几个值得改进问题 #98

Open
just-automatic opened this issue Jul 26, 2020 · 3 comments · Fixed by #123
Open

几个值得改进问题 #98

just-automatic opened this issue Jul 26, 2020 · 3 comments · Fixed by #123
Labels
enhancement New feature or request TODO

Comments

@just-automatic
Copy link

just-automatic commented Jul 26, 2020

  1. 支持的语言类型过少, 限制了适用人群;
  2. 无法设置过期时间;
  3. 可以参考ubuntu pastebin做进一步的改善;
  4. 观察到使用了clipboard.js进行复制, 可否在点击复制按钮后插入data-clipboard-text, 复制成功后销毁该属性, 或者使用原生方法进行复制? 文本量巨大的时候会显著增加内存占用和页面加载时间。
@LucienShui LucienShui added enhancement New feature or request TODO labels Jul 26, 2020
@LucienShui
Copy link
Owner

  1. 支持的语言类型过少, 限制了适用人群;
  2. 无法设置过期时间;
  3. 可以参考ubuntu pastebin做进一步的改善;
  4. 观察到使用了clipboard.js进行复制, 可否在点击复制按钮后插入data-clipboard-text, 复制成功后销毁该属性, 或者使用原生方法进行复制? 文本量巨大的时候会显著增加内存占用和页面加载时间。
  1. 感谢建议~
  2. 这个会加在 TODO 中
  3. 感谢建议~
  4. 说实话这个不是很懂,欢迎直接 PR~

@lx200916
Copy link

lx200916 commented Oct 9, 2020

@LucienShui 很期待过期时间的功能 :P

@LucienShui
Copy link
Owner

#123 过期时间现已支持,但暂时不支持自定义。

@LucienShui LucienShui linked a pull request Sep 20, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request TODO
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants