vue2-ace-editor
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -41,3 +41,3 @@ var ace = require('brace'); | ||
if(this.contentBackup !== val){ | ||
this.editor.setValue(val,1); | ||
this.editor.session.setValue(val,1); | ||
this.contentBackup = val; | ||
@@ -44,0 +44,0 @@ } |
{ | ||
"name": "vue2-ace-editor", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "A Vue2.0's component based on ace/brace", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -77,1 +77,15 @@ vue2-ace-editor | ||
5. Access the ACE's instance | ||
`<editor ref='myEditor'>` | ||
`let editor = this.$refs.myEditor.editor` | ||
or | ||
``` | ||
editorInit: function (editor) { | ||
} | ||
``` | ||
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
16529
91