Skip to content

Commit

Permalink
better example of copy button
Browse files Browse the repository at this point in the history
  • Loading branch information
calumk committed Jan 24, 2024
1 parent 6979594 commit 153d02a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions example/example_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ let example_data = {
{
type: "code",
data: {
code: "<script>console.log(1)</script>",
language: "javascript",
code: "\n<!-- this editor has the copy button disabled --> \n\n",
language: "html",
showlinenumbers: true,
showCopyButton: false,
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@calumk/editorjs-codecup",
"description": "Codecup, for EditorJS",
"version": "1.1.0",
"version": "1.1.1",
"author": "Calum Knott",
"repository": "https://github.com/calumk/editorjs-codecup",
"license": "MIT",
Expand Down

0 comments on commit 153d02a

Please sign in to comment.