vue-prism-editor
Advanced tools
Comparing version 1.0.1-beta.1 to 1.0.1-beta.2
# vue-prism-editor | ||
## 1.0.1-beta.2 | ||
### Patch Changes | ||
- update readme | ||
## 1.0.1-beta.1 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "vue-prism-editor", | ||
"version": "1.0.1-beta.1", | ||
"version": "1.0.1-beta.2", | ||
"description": "A dead simple code editor with syntax highlighting and line numbers.", | ||
@@ -55,6 +55,6 @@ "author": { | ||
}, | ||
"peerDependencies": {}, | ||
"dependencies": { | ||
"peerDependencies": { | ||
"vue": "^2.6.11" | ||
}, | ||
"dependencies": {}, | ||
"engines": { | ||
@@ -61,0 +61,0 @@ "node": ">=10" |
@@ -89,2 +89,22 @@ # Vue Prism Editor | ||
</script> | ||
<style> | ||
// required class | ||
.my-editor { | ||
// we dont use `language-` classes anymore so thats why we need to add background and text color manually | ||
background: #2d2d2d; | ||
color: #ccc; | ||
// you must provide font-family font-size line-height. Example: | ||
font-family: Fira code, Fira Mono, Consolas, Menlo, Courier, monospace; | ||
font-size: 14px; | ||
line-height: 1.5; | ||
padding: 5px; | ||
} | ||
// optional class for removing the outline | ||
.prism-editor__textarea:focus { | ||
outline: none; | ||
} | ||
</style> | ||
``` | ||
@@ -91,0 +111,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
268537
188
- Removedvue@^2.6.11