diff --git a/README.md b/README.md index fb89c41..fa841aa 100644 --- a/README.md +++ b/README.md @@ -97,4 +97,10 @@ Example: ], "version": "2.29.1" } -``` \ No newline at end of file +``` + +## Known Issues + +* After merging similar code blocks, pressing any arrow key results in an error. (Probably caused by the way Editor.js handles merges) +* There is no syntax highlighting for code. This is done to avoid any impact to the actual code data (Adding syntax highlighting can impact inner HTML, which will directly affect saved data). +* Terminal buttons are non-functional. These are intentionally left to avoid making the package too complex. These can be anyway be added at the render time. \ No newline at end of file diff --git a/package.json b/package.json index 395d8f4..be4083c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@coolbytes/editorjs-code", "description": "Code block tool for Editor.js", - "version": "1.0.0", + "version": "1.0.1", "private": false, "homepage": "https://apps.coolbytes.in/editorjs-code", "license": "MIT", diff --git a/src/index.css b/src/index.css index 81cd5fa..a4caced 100644 --- a/src/index.css +++ b/src/index.css @@ -90,11 +90,12 @@ bottom: 0; right: 15px; height: 16px; + display: flex; } .ce-terminal-language { - vertical-align: bottom; - display: inline; + /* vertical-align: bottom; + display: inline; */ margin-left: 5px; } @@ -105,7 +106,7 @@ .ce-copy-tooltip { font-size: 12px; - width: 50px; + /* width: 50px; */ margin-left: -25px; /* Center the tooltip */ background-color: #0c0c0c; color: #ececec;