Skip to content

Commit e059c96

Browse files
committed
chore: merge
2 parents e6065d3 + bebe7bf commit e059c96

24 files changed

+1663
-518
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
node_modules
33
# public
44
dist/*.gz
5-
dist/*.map
5+
dist/*.gz
6+
dist/.DS_Store
67
coverage
78
docs/.vuepress/dist
89
# dist

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
// "vetur.validation.template": false
3-
}
2+
"vetur.validation.template": false
3+
}

CHANGELOG.md

Lines changed: 92 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,110 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5-
### [2.8.1](https://github.com/davidroyer/vue2-editor/compare/v2.8.0-alpha.8...v2.8.1) (2019-06-12)
5+
## [2.9.0](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.10...v2.9.0) (2019-07-03)
6+
7+
8+
9+
## [2.9.0-next.10](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.9...v2.9.0-next.10) (2019-07-03)
10+
11+
12+
13+
## [2.9.0-next.9](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.8...v2.9.0-next.9) (2019-06-30)
14+
15+
16+
17+
## [2.9.0-next.8](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.7...v2.9.0-next.8) (2019-06-23)
18+
19+
20+
### Bug Fixes
21+
22+
* fixes build with update vplugin ([f7c0a23](https://github.com/davidroyer/vue2-editor/commit/f7c0a23))
23+
24+
25+
26+
## [2.9.0-next.7](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.6...v2.9.0-next.7) (2019-06-23)
27+
28+
29+
### Refactoring
30+
31+
* **releases:** updates scripts ([ef1aadb](https://github.com/davidroyer/vue2-editor/commit/ef1aadb))
32+
33+
34+
35+
## [2.9.0-next.6](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.5...v2.9.0-next.6) (2019-06-21)
36+
37+
38+
39+
## [2.9.0-next.5](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.4...v2.9.0-next.5) (2019-06-21)
640

741

842
### Documentation
943

10-
* :pencil: moving examples to be imported ([6a49a96](https://github.com/davidroyer/vue2-editor/commit/6a49a96))
11-
* clean up `config.js` ([a02efbf](https://github.com/davidroyer/vue2-editor/commit/a02efbf))
12-
* fixes install command code ([3603060](https://github.com/davidroyer/vue2-editor/commit/3603060))
13-
* removes unused declarations ([60f1845](https://github.com/davidroyer/vue2-editor/commit/60f1845))
44+
* adds to notes ([0ebaf48](https://github.com/davidroyer/vue2-editor/commit/0ebaf48))
45+
* adds to notes ([86d5244](https://github.com/davidroyer/vue2-editor/commit/86d5244))
1446

1547

1648

17-
### [2.7.2](https://github.com/davidroyer/vue2-editor/compare/v2.7.1...v2.7.2) (2019-05-26)
49+
## [2.9.0-next.4](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.3...v2.9.0-next.4) (2019-06-21)
1850

1951

2052

21-
### [2.7.1](https://github.com/davidroyer/vue2-editor/compare/v2.7.0-alpha.21...v2.7.1) (2019-05-26)
53+
## [2.9.0-next.3](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.2...v2.9.0-next.3) (2019-06-21)
54+
55+
56+
### Documentation
57+
58+
* **notes:** adds to `NOTES.md` ([d420988](https://github.com/davidroyer/vue2-editor/commit/d420988))
59+
2260

2361

62+
## [2.9.0-next.2](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.1...v2.9.0-next.2) (2019-06-21)
63+
64+
65+
### Documentation
66+
67+
* add NOTES and TODO's ([1c43b1c](https://github.com/davidroyer/vue2-editor/commit/1c43b1c))
68+
69+
70+
71+
## [2.9.0-next.1](https://github.com/davidroyer/vue2-editor/compare/v2.9.0-next.0...v2.9.0-next.1) (2019-06-21)
72+
73+
74+
### Bug Fixes
75+
76+
* **build:** updates build compand for modular ([f450a61](https://github.com/davidroyer/vue2-editor/commit/f450a61))
77+
78+
79+
80+
## [2.9.0-next.0](https://github.com/davidroyer/vue2-editor/compare/v2.8.1...v2.9.0-next.0) (2019-06-21)
81+
82+
83+
### Documentation
84+
85+
* :pencil: updates another example to import ([2e7fb3a](https://github.com/davidroyer/vue2-editor/commit/2e7fb3a))
86+
87+
88+
### Features
89+
90+
* **modular build:** :zap: adds modular build ([75aa89d](https://github.com/davidroyer/vue2-editor/commit/75aa89d))
91+
92+
93+
94+
## [2.8.0-alpha.9](https://github.com/davidroyer/vue2-editor/compare/v2.8.0-alpha.8...v2.8.0-alpha.9) (2019-06-12)
95+
96+
97+
98+
### [2.8.1](https://github.com/davidroyer/vue2-editor/compare/v2.8.0-alpha.8...v2.8.1) (2019-06-12)
99+
100+
101+
## [2.8.0-alpha.9](https://github.com/davidroyer/vue2-editor/compare/v2.8.0-alpha.8...v2.8.0-alpha.9) (2019-06-12)
102+
103+
### Documentation
104+
105+
* :pencil: moving examples to be imported ([6a49a96](https://github.com/davidroyer/vue2-editor/commit/6a49a96))
106+
* clean up `config.js` ([a02efbf](https://github.com/davidroyer/vue2-editor/commit/a02efbf))
107+
* fixes install command code ([3603060](https://github.com/davidroyer/vue2-editor/commit/3603060))
108+
* removes unused declarations ([60f1845](https://github.com/davidroyer/vue2-editor/commit/60f1845))
24109

25110
## [2.8.0-alpha.8](https://github.com/davidroyer/vue2-editor/compare/v2.8.0-alpha.7...v2.8.0-alpha.8) (2019-06-12)
26111

NOTES.md

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# :books: Vue2Editor Notes
2+
3+
> Things To Remember And Add To Other Notes file
4+
5+
<br>
6+
7+
## For Nuxt & SSR
8+
9+
Possibly switch to this:
10+
11+
```js
12+
let Quill;
13+
if (!Vue.prototype.$isServer) Quill = require("quill");
14+
```
15+
16+
## Modular Version
17+
18+
**JavaScript**
19+
20+
```js
21+
import { VueEditor } from "vue2-editor/dist/vue2-editor.core.js";
22+
```
23+
24+
**CSS**
25+
26+
```css
27+
@import "~vue2-editor/dist/vue2-editor.css";
28+
```
29+
30+
<br>
31+
32+
## Importing Quill's styles
33+
34+
```css
35+
@import "~quill/dist/quill.core.css";
36+
@import "~quill/dist/quill.bubble.css";
37+
@import "~quill/dist/quill.snow.css";
38+
```
39+
40+
**Both of these work**
41+
42+
```js
43+
import "vue2-editor/dist/css/vue2-editor.css";
44+
import "quill/dist/quill.snow.css";
45+
```
46+
47+
```vue
48+
<style src="quill/dist/quill.snow.css"></style>
49+
<!-- OR -->
50+
<style>
51+
@import "~quill/dist/quill.snow.css";
52+
53+
body {
54+
background: lightgrey !important;
55+
}
56+
.quillWrapper {
57+
padding: 1em;
58+
background: white;
59+
}
60+
61+
.ql-editor {
62+
min-height: 300px;
63+
}
64+
</style>
65+
```
66+
67+
<br>
68+
69+
## Releases
70+
71+
If a version has been published within the past 72 hours it can be removed if needed.
72+
As follows:
73+
74+
```bash
75+
npm unpublish vue2-editor@version
76+
```
77+
78+
<!-- NOTE: Add this to Vue2Editor Docs -->
79+
80+
All of Quill's functionality referenced in their docs is available by providing the `VueEditor` component a `ref` attribute and then accessing `quill` from that reference.
81+
82+
**For example:**
83+
84+
```vue
85+
<template>
86+
<div>
87+
<button @click="getEditorText">Get Text</button>
88+
<VueEditor ref="vEditor" v-model="content" />
89+
</div>
90+
</template>
91+
92+
<script>
93+
export default {
94+
data: () => ({
95+
content: ""
96+
}),
97+
98+
methods: {
99+
getEditorText() {
100+
console.log(this.$refs.vEditor.quill.getText());
101+
}
102+
}
103+
};
104+
</script>
105+
```

0 commit comments

Comments
 (0)