This repository was archived by the owner on Dec 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +16
-18
lines changed Expand file tree Collapse file tree 3 files changed +16
-18
lines changed Original file line number Diff line number Diff line change 20
20
"cypress:install" : " cypress install"
21
21
},
22
22
"dependencies" : {
23
- "@ckeditor/ckeditor5-build-classic" : " ^12.1.0" ,
24
- "@ckeditor/ckeditor5-vue" : " ^1.0.0-beta.1" ,
25
23
"@coderdojo/cd-common" : " 1.1.11" ,
26
24
"bootstrap" : " ^3.4.1" ,
27
25
"cp-translations" : " 1.0.133" ,
45
43
"vue-router" : " ^2.5.3" ,
46
44
"vue-router-multiguard" : " ^1.0.3" ,
47
45
"vue-static-map" : " ^2.0.0" ,
46
+ "vue-trix" : " ^0.8.1" ,
48
47
"vue2-google-maps" : " ^0.7.9" ,
49
48
"vuex" : " ^2.3.1"
50
49
},
Original file line number Diff line number Diff line change 22
22
<i class =" fa fa-pencil" @click =" descriptionIsVisible = true" v-show =" !descriptionIsVisible" ></i >
23
23
<i class =" fa fa-times" @click =" descriptionIsVisible = false" v-show =" descriptionIsVisible" ></i >
24
24
<div v-if =" descriptionIsVisible" >
25
- <ckeditor :editor = " editor " v-model =" description" ></ ckeditor >
25
+ <VueTrix v-model =" description" / >
26
26
</div >
27
27
</div >
28
28
<div class =" cd-event-form__date form-group" >
67
67
</template >
68
68
<script >
69
69
import moment from ' moment' ;
70
+ import VueTrix from ' vue-trix' ;
70
71
import DojoService from ' @/dojos/service' ;
71
72
import Dropdown from ' @/common/cd-dropdown' ;
72
- import CKEditor from ' @ckeditor/ckeditor5-vue' ;
73
- import ClassicEditor from ' @ckeditor/ckeditor5-build-classic' ;
74
73
import EventTile from ' ./cd-event-tile' ;
75
74
import FormTickets from ' ./form/form-tickets' ;
76
75
77
76
export default {
78
77
name: ' event-form' ,
79
78
mixins: [EventTile],
80
79
components: {
81
- ckeditor: CKEditor .component ,
82
80
dropdown: Dropdown,
83
81
formTickets: FormTickets,
82
+ VueTrix,
84
83
},
85
84
data () {
86
85
return {
94
93
year: new Date ().getFullYear (),
95
94
dojo: {},
96
95
today: moment .utc (),
97
- //
98
- editor: ClassicEditor,
99
96
// state
100
97
addressIsVisible: false ,
101
98
descriptionIsVisible: false ,
Original file line number Diff line number Diff line change 2
2
# yarn lockfile v1
3
3
4
4
5
- " @ckeditor/ckeditor5-build-classic@^12.1.0 " :
6
- version "12.1.0"
7
- resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-build-classic/-/ckeditor5-build-classic-12.1.0.tgz#bd8127b8f11ce0a33a3dd8893546bbed5ab5fd30"
8
- integrity sha512-SYT+stYBS8JqxWZNye5x9AlwNmwY7+bp2IKNdZDsolKFF1CjOC18gmIB4isGfINzFgn/ke1H21XDenZYp3IxqA==
9
-
10
- " @ckeditor/ckeditor5-vue@^1.0.0-beta.1 " :
11
- version "1.0.0-beta.1"
12
- resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-vue/-/ckeditor5-vue-1.0.0-beta.1.tgz#976bf7b00bd5f9d99637bfa8279e35f2e899c334"
13
- integrity sha512-CTNyEdofAfmhVomkft6kYEmbh6yRvZMzkvCC4bHZ8LOBHBY7QWkWXP3gbs19SvimUV7PfnsrsDE093aI0SyXqQ==
14
-
15
5
16
6
version "1.1.11"
17
7
resolved "https://registry.yarnpkg.com/@coderdojo/cd-common/-/cd-common-1.1.11.tgz#fb42fa68eff8b47d9843007db013d3f3fb4b1f95"
@@ -8031,6 +8021,11 @@ trim-right@^1.0.1:
8031
8021
version "1.0.1"
8032
8022
resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
8033
8023
8024
+ trix@^1.1.0 :
8025
+ version "1.1.1"
8026
+ resolved "https://registry.yarnpkg.com/trix/-/trix-1.1.1.tgz#ca8a3fab4d23d960a17e88441d601cb22a86f5d5"
8027
+ integrity sha512-dNHTcryRK0EmwCyJDOBrG6OznL8HNEVVlecq/xzxLj3M9Eht5DV4yl+eCYX8RKyfrtBcNki+mpKIxESgXaGGZA==
8028
+
8034
8029
tryit@^1.0.1 :
8035
8030
version "1.0.3"
8036
8031
resolved "https://registry.yarnpkg.com/tryit/-/tryit-1.0.3.tgz#393be730a9446fd1ead6da59a014308f36c289cb"
@@ -8465,6 +8460,13 @@ vue-template-es2015-compiler@^1.2.2:
8465
8460
version "1.5.3"
8466
8461
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.5.3.tgz#22787de4e37ebd9339b74223bc467d1adee30545"
8467
8462
8463
+ vue-trix@^0.8.1 :
8464
+ version "0.8.1"
8465
+ resolved "https://registry.yarnpkg.com/vue-trix/-/vue-trix-0.8.1.tgz#196ecc69df380233fc48854985d8490b21cab61b"
8466
+ integrity sha512-fkDW6qwCDz8/56X5glzZ1iaxTLrZSiKbxEKANMUAC+Y2xAzIWlIzZ8FE6nTm0atNt+X6EzCBc48JYFE8aqOb3Q==
8467
+ dependencies :
8468
+ trix "^1.1.0"
8469
+
8468
8470
vue-unit-helper@^1.0.9 :
8469
8471
version "1.0.9"
8470
8472
resolved "https://registry.yarnpkg.com/vue-unit-helper/-/vue-unit-helper-1.0.9.tgz#05bcbc21cd28a9922e88e4a9aa16bf12e939c3b9"
You can’t perform that action at this time.
0 commit comments