Socket
Socket
Sign inDemoInstall

vue-prism-editor

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-prism-editor - npm Package Compare versions

Comparing version 1.0.1-beta.1 to 1.0.1-beta.2

6

CHANGELOG.md
# vue-prism-editor
## 1.0.1-beta.2
### Patch Changes
- update readme
## 1.0.1-beta.1

@@ -4,0 +10,0 @@

6

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc