Skip to content

Commit e9682f5

Browse files
author
vyleung
committed
RELEASE: v.1.1.1
fix: typo in `insertCopyCodeButton_CodeBlock()` buttons' data-on-click - changed incorrect `copy_code_CodeBlock` to `copy_code_codeBlock` (addresses #6)
1 parent b5e6150 commit e9682f5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "logseq-copy-code-plugin",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "",
55
"main": "dist/index.html",
66
"targets": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const main = async () => {
9696
path: `#block-content-${code_block_uuid} > .block-body > .cp__fenced-code-block > div > #${code_block_parent.id}`,
9797
template:
9898
`
99-
<a class="button copy-button" id="${code_block_parent.id}-button" data-on-click="copy_code_CodeBlock" style="display:flex; position:absolute;">
99+
<a class="button copy-button" id="${code_block_parent.id}-button" data-on-click="copy_code_codeBlock" style="display:flex; position:absolute;">
100100
${copy_icon}
101101
</a>
102102
`

0 commit comments

Comments
 (0)