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

Add the code block button click copy function #366

Open
wants to merge 18 commits into
base: dev
Choose a base branch
from

Conversation

liuyingqiao2019
Copy link

@liuyingqiao2019 liuyingqiao2019 commented Dec 26, 2022

In order to copy the code better, I added the code block button click copy function, and it adapts to all modes. This submission solves the problem of version conflict of jquery files between codes.
When selecting a long code with only one line, this copy button will obscure the last few words of this line of code. Therefore, I changed the position of the copy button in the second submission so that the last word will not be blocked.

LolipopJ and others added 18 commits October 16, 2022 02:26
fix: category not shown if there are no tags
fix: abnormal h1 tag rendered in index page excerpt
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md)
- [Commits](webpack/loader-utils@v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…/loader-utils-2.0.3

chore(deps): bump loader-utils from 2.0.2 to 2.0.3
@Stark-X
Copy link
Collaborator

Stark-X commented Dec 30, 2022

  • 去除不需要的 jquery 引用(原来就有用到)
  • 去除复制粘贴的 webpack 代码、重构
  • 样式优化,hover 显示复制按钮,而不是 hover 显示提示文字
  • 按钮的出现效果改为正确的渐隐渐出

@Stark-X Stark-X changed the base branch from master to dev December 30, 2022 14:04
@Stark-X Stark-X requested a review from fi3ework January 3, 2023 00:56
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

Successfully merging this pull request may close these issues.

None yet

4 participants