Skip to content

Commit c204db4

Browse files
committed
upgrade to the Vue.js v1.0.x
1 parent 0c55992 commit c204db4

14 files changed

+10397
-10310
lines changed

README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The HTML snippets are as follows:
3939

4040
```html
4141
<div class="container" id="app">
42-
<vue-html-editor model="{{@ text}}"></vue-html-editor>
42+
<vue-html-editor name="html-editor" :model.sync="text"></vue-html-editor>
4343
<div style="margin-top:40px">
4444
<div> The HTML contents are as follows:</div>
4545
<hr>
@@ -94,6 +94,10 @@ The optional minimum height of the HTML editor, in pixels. Default value is 160.
9494

9595
The optional maximum height of the HTML editor, in pixels. Default value is 800.
9696

97+
## `name`
98+
99+
The optional name of the textarea control.
100+
97101
## `toolbar`
98102

99103
The optional configuration of toolbar of the HTML editor. This value will be
@@ -168,13 +172,13 @@ $ gulp test:coveralls
168172
You can also run `bower install` and `gulp build` together with the following
169173
command:
170174
```shell
171-
npm build
175+
npm run build
172176
```
173177

174178
Or run `bower install` and `gulp test:coveralls` together with the following
175179
command:
176180
```shell
177-
npm test
181+
npm run test
178182
```
179183

180184
# License

bower.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-html-editor",
33
"description": "A Vue.js component implementing the HTML editor with the jQuery summernote plugin.",
4-
"version": "0.1.3",
4+
"version": "0.2.0",
55
"keywords": [
66
"Vue.js",
77
"component",
@@ -26,10 +26,10 @@
2626
"node_modules"
2727
],
2828
"dependencies": {
29-
"vue": "^0.12.16",
30-
"bootstrap": "^3.3.5",
31-
"jquery": "^2.1.4",
29+
"vue": "^1.0.24",
30+
"bootstrap": "^3.3.6",
3231
"font-awesome": "^4.2.0",
32+
"jquery": "^2.2.4",
3333
"summernote": "^0.6.16"
3434
}
3535
}

0 commit comments

Comments
 (0)