Commit 33c53fd
authored
Cleanup: Remove clipboard package (#3925)
- Remove the unused `clipboard` npm package and the vendored Doks script
that injected a bare copy button into every code block. `snippets.js`
already adds its own copy button, so the old flow was inject, delete,
re-add
- Drop the `clipBoard` site option, its template branch, and the
`removeCopyButton` helper in `snippets.js`. This also removes a latent
crash: the helper called `removeChild` on a possibly null element
- Remove unused scss files1 parent c0a8a52 commit 33c53fd
11 files changed
Lines changed: 0 additions & 759 deletions
File tree
- assets
- js
- scss
- components
- config/_default
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 1 | | |
7 | 2 | | |
8 | 3 | | |
| |||
74 | 69 | | |
75 | 70 | | |
76 | 71 | | |
77 | | - | |
78 | 72 | | |
79 | 73 | | |
80 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments