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

对于source面板下不能长按弹出复制的疑惑 #71

Closed
fa-ge opened this issue Jun 2, 2018 · 2 comments
Closed

对于source面板下不能长按弹出复制的疑惑 #71

fa-ge opened this issue Jun 2, 2018 · 2 comments

Comments

@fa-ge
Copy link
Contributor

fa-ge commented Jun 2, 2018

经常会出现手机出现一个请求有问题,需要把request payload复制出来发给后端。source面板下不能弹出复制感觉会很麻烦。主要起作用的这段css。

.eruda-container * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    pointer-events: all;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
}
surunzi added a commit that referenced this issue Jun 3, 2018
@surunzi
Copy link
Member

surunzi commented Jun 3, 2018

下个版本会允许复制,目前自己可以直接用 css 覆盖掉样式:

.eruda-container .eruda-sources * {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

@surunzi
Copy link
Member

surunzi commented Jun 19, 2018

1.5.0 版支持长按复制了

@fa-ge fa-ge closed this as completed Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants