Skip to content

Commit 37b3919

Browse files
committed
Fix Readonly Issue
1 parent 8295878 commit 37b3919

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/editorjs-codeCup.bundle.js

Lines changed: 1 addition & 1 deletion
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,7 +1,7 @@
11
{
22
"name": "@calumk/editorjs-codecup",
33
"description": "Codecup, for EditorJS",
4-
"version": "1.0.5",
4+
"version": "1.0.6",
55
"author": "Calum Knott",
66
"repository": "https://github.com/calumk/editorjs-codecup",
77
"license": "MIT",

src/codecup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@
151151

152152
this.data.editorInstance = new codecup(editorElem, {
153153
language: this.data.language,
154-
lineNumbers : this.data.showlinenumbers
155-
// readonly : this.readOnly
154+
lineNumbers : this.data.showlinenumbers,
155+
readonly : this.readOnly
156156
});
157157

158158
// console.log(this.data.editorInstance)

0 commit comments

Comments
 (0)