New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-document-editor

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-document-editor - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

dist/VueDocumentEditor.common.js

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## v1.1.2
- Fix [Issue 3](https://github.com/motla/vue-document-editor/issues/2)
- Renaming the static library "VueDocumentEditor"
- Adding UMD example to README.md
## v1.1.1

@@ -2,0 +8,0 @@

4

package.json
{
"name": "vue-document-editor",
"version": "1.1.1",
"version": "1.1.2",
"description": "Paper-sized WYSIWYG document editor for Vue apps",

@@ -32,3 +32,3 @@ "author": {

"serve": "vue-cli-service serve",
"build": "vue-cli-service build --dest docs && vue-cli-service build --target lib --name vue-document-editor src/DocumentEditor/DocumentEditor.vue",
"build": "vue-cli-service build --dest docs && vue-cli-service build --target lib --name VueDocumentEditor src/DocumentEditor/DocumentEditor.vue",
"lint": "vue-cli-service lint",

@@ -35,0 +35,0 @@ "preversion": "npm run lint",

@@ -57,3 +57,34 @@ <div align="center">

```
<details>
<summary><small>same example using UMD loaded with a CDN</small></summary>
```HTML
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script src="https://raw.githubusercontent.com/motla/vue-document-editor/master/dist/vue-document-editor.umd.min.js"></script>
</head>
<body>
<div id="app">
<div style="font-family: Avenir, sans-serif">
<vue-document-editor :content.sync="content" />
</div>
</div>
<script>
var app = new Vue({
el: '#app',
components: { VueDocumentEditor },
data () {
return {
content: ["<h1>Hello!</h1>Fill this page with text and new pages will be created as it overflows."]
}
}
})
</script>
</body>
</html>
```
</details>
## Complete example

@@ -60,0 +91,0 @@ See the [Demo.vue](src/Demo/Demo.vue) file and the [InvoiceTemplate.vue](src/Demo/InvoiceTemplate.vue) file corresponding to the [live demo](https://motla.github.io/vue-document-editor/).

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