-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
The new code block layout made it difficult to select and copy code without including the line number #145
Comments
Related issue: hexojs/hexo#3884 hexojs/hexo#3913 401dde1#r36250206 @curbengh @stevenjoezhang @jiangtj Since it is a serious Breaking Change that already breaks a lot of theme. I suggest to revert the PR #132 and release an emergency release of hexo-util & hexo. |
@hexojs/core |
Before the new layout:
I can select code and code only by hand or using
clipboard.js
After the new layout:
Line number is also selected as each number is within the same line as the code
Related code:
https://github.com/hexojs/hexo-util/blob/master/lib/highlight.js#L45-L55
The text was updated successfully, but these errors were encountered: