@mapomodule/uikit 1.0.0-alpha.1 → 1.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +193 -0
  2. package/LICENSE.md +20 -0
  3. package/components/Detail/Detail.vue +193 -107
  4. package/components/Detail/DetailField.vue +42 -29
  5. package/components/Detail/DetailLangSwitch.vue +1 -1
  6. package/components/Detail/defaults.js +32 -25
  7. package/components/DropArea.vue +3 -3
  8. package/components/List/List.vue +100 -40
  9. package/components/List/ListActions.vue +56 -17
  10. package/components/List/ListFilters.vue +127 -113
  11. package/components/List/ListHead.vue +30 -12
  12. package/components/List/ListQuickEdit.vue +198 -55
  13. package/components/List/ListTable.vue +227 -78
  14. package/components/Login.vue +14 -5
  15. package/components/MediaManager/MediaEditor.vue +253 -107
  16. package/components/MediaManager/MediaFolders.vue +125 -41
  17. package/components/MediaManager/MediaGallery.vue +56 -52
  18. package/components/MediaManager/MediaManager.vue +114 -74
  19. package/components/MediaManager/MediaManagerDialog.vue +19 -22
  20. package/components/MediaManager/MediaPreview.vue +180 -0
  21. package/components/MediaManager/MediaUploader.vue +35 -32
  22. package/components/SnackBar.vue +3 -4
  23. package/components/fields/DateField.vue +9 -3
  24. package/components/fields/FksField.vue +60 -0
  25. package/components/fields/MediaField.vue +24 -6
  26. package/components/fields/MediaM2mField.vue +8 -3
  27. package/components/fields/SeoPreview.vue +89 -0
  28. package/components/fields/{TinyMce → wygEditor}/defaults.js +1 -1
  29. package/components/fields/{TinyMce → wygEditor}/utils/events.js +0 -0
  30. package/components/fields/{TinyMce → wygEditor}/utils/mapomedia.plugin.js +0 -0
  31. package/components/fields/{TinyMce → wygEditor}/utils/script.injector.js +0 -0
  32. package/components/fields/{TinyMce/TinyMce.vue → wygEditor/wygEditor.vue} +40 -21
  33. package/components/layout/Sidebar/Sidebar.vue +46 -24
  34. package/components/layout/Sidebar/SidebarFooter.vue +42 -46
  35. package/components/layout/Sidebar/SidebarList.vue +13 -14
  36. package/components/layout/Sidebar/SidebarListItem.vue +81 -38
  37. package/components/layout/Topbar/Topbar.vue +3 -36
  38. package/components/layout/routebuilder.js +1 -1
  39. package/layouts/default.vue +3 -14
  40. package/package.json +3 -3
  41. package/pages/index.vue +15 -78
  42. package/components/fields/M2mField.vue +0 -95
@@ -0,0 +1,180 @@
1
+ <template>
2
+ <v-img
3
+ :src="(media.is_image && media.file) || null"
4
+ :lazy-src="(media.is_image && media.thumbnail) || null"
5
+ aspect-ratio="1"
6
+ class="grey lighten-2"
7
+ :class="{
8
+ selected,
9
+ 'media-controls': mediaControls,
10
+ 'video-preview': videoPreview,
11
+ }"
12
+ v-bind="$attrs"
13
+ v-on="videoListeners"
14
+ >
15
+ <template v-slot:placeholder>
16
+ <v-row class="fill-height ma-0" align="center" justify="center">
17
+ <v-progress-circular
18
+ v-if="media.is_image"
19
+ indeterminate
20
+ color="grey lighten-5"
21
+ ></v-progress-circular>
22
+ <div
23
+ class="d-flex justify-center align-center"
24
+ :class="{ playing }"
25
+ style="width: 100%; height: 100%"
26
+ v-else-if="isVideo"
27
+ >
28
+ <video
29
+ :width="$attrs.contain && '100%'"
30
+ height="100%"
31
+ ref="video"
32
+ :controls="mediaControls"
33
+ >
34
+ <source :src="media.file" :type="media.mime_type" />
35
+ </video>
36
+ <v-icon
37
+ v-if="!mediaControls"
38
+ :size="size"
39
+ color="grey darken-4"
40
+ class="grey lighten-2 rounded-circle video-preview-icon"
41
+ >mdi-play</v-icon
42
+ >
43
+ </div>
44
+ <div
45
+ class="
46
+ d-flex
47
+ flex-column
48
+ align-center
49
+ justify-space-between
50
+ fill-height
51
+ "
52
+ style="width: 100%"
53
+ v-else
54
+ >
55
+ <div></div>
56
+ <v-icon :size="size" color="grey darken-2">
57
+ {{ isAudio ? "mdi-headphones" : "mdi-file" }}
58
+ </v-icon>
59
+ <audio v-if="isAudio && mediaControls" controls>
60
+ <source :src="media.file" :type="media.mime_type" />
61
+ </audio>
62
+ <span
63
+ class="grey--text text--darken-3 text-truncate pl-1 pr-8"
64
+ style="width: 100%"
65
+ >{{ (filename && name) || undefined }}</span
66
+ >
67
+ </div>
68
+ </v-row>
69
+ </template>
70
+ </v-img>
71
+ </template>
72
+
73
+ <style lang="scss">
74
+ .v-image.media-controls {
75
+ .v-image__placeholder {
76
+ z-index: 0;
77
+ }
78
+ }
79
+ .v-image.video-preview {
80
+ .v-image__placeholder {
81
+ height: calc(100% + 1px);
82
+ }
83
+ }
84
+ .video-preview-icon.v-icon.v-icon {
85
+ position: absolute;
86
+ opacity: 0.5;
87
+ transition: transform 0.3s ease-out, opacity 0.3s ease-out;
88
+ }
89
+ .playing .video-preview-icon.v-icon.v-icon {
90
+ opacity: 0;
91
+ transform: scale(1.2);
92
+ }
93
+ </style>
94
+
95
+ <script>
96
+ export default {
97
+ data() {
98
+ return {
99
+ playing: false,
100
+ playPromise: null,
101
+ };
102
+ },
103
+ props: {
104
+ media: {
105
+ type: Object,
106
+ default: () => ({}),
107
+ },
108
+ selected: {
109
+ type: Boolean,
110
+ default: false,
111
+ },
112
+ filename: {
113
+ type: Boolean,
114
+ default: false,
115
+ },
116
+ iconSize: {
117
+ type: String || Number,
118
+ default: "70px",
119
+ },
120
+ videoPreview: {
121
+ type: Boolean,
122
+ default: false,
123
+ },
124
+ mediaControls: {
125
+ type: Boolean,
126
+ default: false,
127
+ },
128
+ },
129
+ computed: {
130
+ name() {
131
+ return this.media && this.media.file && this.media.file.split("/").pop();
132
+ },
133
+ size() {
134
+ return (
135
+ (this.iconSize &&
136
+ (typeof this.iconSize == "string"
137
+ ? this.iconSize
138
+ : this.iconSize + "px")) ||
139
+ "70px"
140
+ );
141
+ },
142
+ isVideo() {
143
+ return this.media.mime_type && this.media.mime_type.startsWith("video/");
144
+ },
145
+ isAudio() {
146
+ return this.media.mime_type && this.media.mime_type.startsWith("audio/");
147
+ },
148
+ videoListeners() {
149
+ if (this.isVideo && this.videoPreview) {
150
+ return {
151
+ mouseenter: this.startVideoPreview,
152
+ mouseleave: this.stopVideoPreview,
153
+ };
154
+ }
155
+ },
156
+ },
157
+ methods: {
158
+ startVideoPreview() {
159
+ const video = this.$refs.video;
160
+ if (video && !this.playing) {
161
+ video.loop = true;
162
+ video.muted = true;
163
+ video.currentTime = 1;
164
+ this.playPromise = video.play().then(() => (this.playing = true));
165
+ }
166
+ },
167
+ async stopVideoPreview() {
168
+ if (this.playPromise) {
169
+ await this.playPromise;
170
+ }
171
+ const video = this.$refs.video;
172
+ if (video && this.playing) {
173
+ video.currentTime = 0;
174
+ video.pause();
175
+ this.playing = false;
176
+ }
177
+ },
178
+ },
179
+ };
180
+ </script>
@@ -2,12 +2,14 @@
2
2
  <v-container>
3
3
  <drop-area @change="updateMediaList($event)" multiple>
4
4
  <template v-slot:actions="{ clearList }">
5
- <v-btn @click="clearList" icon>
6
- <v-icon ref="closeButton">mdi-close</v-icon>
7
- </v-btn>
8
- <v-btn @click="updateAll" icon>
9
- <v-icon>mdi-upload</v-icon>
10
- </v-btn>
5
+ <div v-if="mediaList && mediaList.length">
6
+ <v-btn @click="clearList" icon>
7
+ <v-icon ref="closeButton">mdi-close</v-icon>
8
+ </v-btn>
9
+ <v-btn @click="updateAll" icon>
10
+ <v-icon>mdi-upload</v-icon>
11
+ </v-btn>
12
+ </div>
11
13
  </template>
12
14
  <template v-slot:editContent="{ editedItem }">
13
15
  <v-container>
@@ -62,23 +64,23 @@ export default {
62
64
  count: 0,
63
65
  progress: 0,
64
66
  mediaList: [],
65
- _mediaFileCrud: null,
67
+ _mediaFileCrud: null
66
68
  };
67
69
  },
68
70
  props: {
69
71
  parentFolder: {
70
- type: Object,
72
+ type: Object
71
73
  },
72
74
  folders: {
73
75
  type: Array,
74
- default: () => [],
75
- },
76
+ default: () => []
77
+ }
76
78
  },
77
79
  computed: {
78
80
  mediaFileCrud() {
79
81
  this._mediaFileCrud =
80
82
  this._mediaFileCrud ||
81
- this.$mapo.$api.crud("api/camomilla/media/upload");
83
+ this.$mapo.$api.crud("api/camomilla/media");
82
84
  return this._mediaFileCrud;
83
85
  },
84
86
  completed() {
@@ -88,19 +90,19 @@ export default {
88
90
  return [
89
91
  {
90
92
  text: (this.parentFolder && this.parentFolder.path) || "/",
91
- value: (this.parentFolder && this.parentFolder.id) || null,
93
+ value: (this.parentFolder && this.parentFolder.id) || null
92
94
  },
93
- ...this.folders.map((folder) => ({
95
+ ...this.folders.map(folder => ({
94
96
  text: folder.path,
95
- value: folder.id,
96
- })),
97
+ value: folder.id
98
+ }))
97
99
  ];
98
- },
100
+ }
99
101
  },
100
102
  methods: {
101
103
  updateMediaList(mediaList) {
102
104
  this.mediaList = mediaList;
103
- this.mediaList.forEach((media) => {
105
+ this.mediaList.forEach(media => {
104
106
  media.info.title = media.info.title || media.info.name;
105
107
  media.info.alt_text = media.info.alt_text || media.info.name;
106
108
  media.info.description = media.info.description || media.info.name;
@@ -114,7 +116,7 @@ export default {
114
116
  },
115
117
  updateAll() {
116
118
  return Promise.all(
117
- this.mediaList.map((media) =>
119
+ this.mediaList.map(media =>
118
120
  this.uploadMedia(
119
121
  Object.assign(
120
122
  { file: media.blob },
@@ -122,27 +124,28 @@ export default {
122
124
  title: media.info.title,
123
125
  alt_text: media.info.alt_text,
124
126
  description: media.info.description,
125
- folder: media.info.folder,
127
+ folder: media.info.folder
126
128
  }
127
129
  )
128
130
  )
129
131
  )
130
- ).then((response) => {
131
- this.$mapo.$snack.open({
132
- message: `${
133
- response.length || this.mediaList.length
134
- } files succesfully uploaded`,
135
- });
136
- this.$emit("Upload", (response.length && response) || this.mediaList);
137
- this.$refs.closeButton.$el.click();
132
+ ).then(response => {
133
+ if (this.mediaList && this.mediaList.length) {
134
+ this.$mapo.$snack.open({
135
+ message: `${response.length ||
136
+ this.mediaList.length} files succesfully uploaded`
137
+ });
138
+ this.$emit("Upload", (response.length && response) || this.mediaList);
139
+ this.$refs.closeButton.$el.click();
140
+ }
138
141
  });
139
142
  },
140
143
  uploadMedia(media) {
141
- const index = this.mediaList.findIndex((el) => el.blob === media.file);
144
+ const index = this.mediaList.findIndex(el => el.blob === media.file);
142
145
  const payload = this.$mapo.$api.multipart(media, ["file"]);
143
146
  const conf = {
144
147
  headers: { "Content-Type": "multipart/form-data" },
145
- onUploadProgress: function (event) {
148
+ onUploadProgress: function(event) {
146
149
  this.mediaList[index].progress = Math.ceil(
147
150
  (event.loaded / event.total) * 100
148
151
  );
@@ -153,10 +156,10 @@ export default {
153
156
  (acc, media) => acc + (media.progress === 100),
154
157
  0
155
158
  );
156
- }.bind(this),
159
+ }.bind(this)
157
160
  };
158
161
  return this.mediaFileCrud.create(payload, conf);
159
- },
160
- },
162
+ }
163
+ }
161
164
  };
162
165
  </script>
@@ -2,7 +2,7 @@
2
2
  <v-snackbar v-model="snackbar">
3
3
  {{ message }}
4
4
  <template v-slot:action="{ attrs }">
5
- <v-btn color="green" text v-bind="attrs" @click="closeSnack">
5
+ <v-btn :color="color" text v-bind="attrs" @click="closeSnack">
6
6
  Close
7
7
  </v-btn>
8
8
  </template>
@@ -23,7 +23,7 @@ export default {
23
23
  data: () => ({
24
24
  snackbar: false,
25
25
  message: null,
26
- color: "green",
26
+ color: "primary",
27
27
  }),
28
28
  computed: {
29
29
  ...mapGetters({
@@ -34,7 +34,6 @@ export default {
34
34
  closeSnack() {
35
35
  this.snackbar = false;
36
36
  this.message = null;
37
- this.color = "green";
38
37
  },
39
38
  },
40
39
 
@@ -48,7 +47,7 @@ export default {
48
47
  if (val) {
49
48
  this.snackbar = true;
50
49
  this.message = val.message;
51
- this.color = val.color || this.color;
50
+ this.color = val.color || "primary";
52
51
  } else {
53
52
  this.closeSnack();
54
53
  }
@@ -15,8 +15,9 @@
15
15
  prepend-inner-icon="mdi-calendar"
16
16
  readonly
17
17
  v-bind="{ ...$attrs, ...attrs }"
18
- v-on="on"
19
- clearable
18
+ v-on="readonly ? undefined : on"
19
+ :clearable="!readonly"
20
+ class="rounded-0"
20
21
  ></v-text-field>
21
22
  </template>
22
23
  <v-date-picker v-model="model" :range="range" no-title>
@@ -49,7 +50,12 @@ export default {
49
50
  range: {
50
51
  type: Boolean,
51
52
  default: false
52
- }
53
+ },
54
+ // This set the component status to readonly, stopping the user interaction.
55
+ readonly: {
56
+ type: Boolean,
57
+ default: false,
58
+ },
53
59
  },
54
60
  watch: {
55
61
  value(val) {
@@ -0,0 +1,60 @@
1
+ <template>
2
+ <v-autocomplete v-bind="fieldAttrs" v-model="model" :items="options"></v-autocomplete>
3
+ </template>
4
+
5
+ <script>
6
+ /**
7
+ * This component is made to simplify Many To Many associations. With this component you can modify an array selecting items from a list of checkboxes.
8
+ */
9
+
10
+ export default {
11
+ name: "FksField",
12
+ data() {
13
+ return {
14
+ model: null,
15
+ options: [],
16
+ };
17
+ },
18
+ props: {
19
+ // V-model property. It is the array to be modified.
20
+ value: {
21
+ type: Object | Array | null,
22
+ required: true,
23
+ },
24
+ // This is the array of options from which you can choose.
25
+ items: {
26
+ type: Array,
27
+ default: () => [],
28
+ },
29
+ endpoint: String,
30
+ },
31
+ computed: {
32
+ fieldAttrs() {
33
+ return {
34
+ chips: this.$attrs.multiple === false ? false : true,
35
+ multiple: true,
36
+ ...this.$attrs,
37
+ };
38
+ },
39
+ },
40
+ watch: {
41
+ items(val) {
42
+ this.options = val || [];
43
+ },
44
+ value(val) {
45
+ this.model = val;
46
+ },
47
+ model(val) {
48
+ this.$emit("input", val);
49
+ },
50
+ },
51
+ mounted() {
52
+ if (this.endpoint) {
53
+ this.$mapo.$api
54
+ .crud(this.endpoint)
55
+ .list()
56
+ .then((res) => (this.options = res));
57
+ }
58
+ },
59
+ };
60
+ </script>
@@ -12,8 +12,10 @@
12
12
  <div style="position: relative">
13
13
  <v-img
14
14
  v-if="mediaExists"
15
- :src="internalValue.file"
16
- :lazy-src="internalValue.thumbnail"
15
+ :src="internalValue.is_image && internalValue.file || null"
16
+ :lazy-src="internalValue.is_image && internalValue.thumbnail || null"
17
+
18
+ :class="{'grey lighten-2': !internalValue.is_image}"
17
19
  v-bind="{
18
20
  aspectRatio,
19
21
  contain,
@@ -33,9 +35,15 @@
33
35
  justify="center"
34
36
  >
35
37
  <v-progress-circular
38
+ v-if="internalValue.is_image"
36
39
  indeterminate
37
40
  color="grey"
38
41
  ></v-progress-circular>
42
+ <div class="d-flex flex-column align-center justify-space-between fill-height" style="width: 100%" v-else>
43
+ <div></div>
44
+ <v-icon size="70px" color="grey">mdi-file</v-icon>
45
+ <span class="grey--text text--darken-3 text-truncate pl-1 pr-8" style="width: 100%">{{fileName}}</span>
46
+ </div>
39
47
  </v-row>
40
48
  </template>
41
49
  </v-img>
@@ -43,6 +51,7 @@
43
51
  <!-- If the media is not avaible, it shows a btn to add new media -->
44
52
  <v-card
45
53
  v-else-if="!rmAddBtn"
54
+ class="rounded-0"
46
55
  v-bind="{
47
56
  height,
48
57
  width,
@@ -56,7 +65,7 @@
56
65
  <v-card-title>{{ label }}</v-card-title>
57
66
 
58
67
  <v-card-actions>
59
- <v-btn @click="editing = true" block :min-height="minHeight">
68
+ <v-btn tile :disabled="readonly" @click="editing = true" block :min-height="minHeight">
60
69
  <v-icon size="80"> mdi-plus-circle-outline </v-icon>
61
70
  </v-btn>
62
71
  </v-card-actions>
@@ -71,13 +80,13 @@
71
80
  </v-row>
72
81
  <v-row>
73
82
  <v-col cols="6">
74
- <v-btn @click="editing = true" fab v-bind="$attrs">
83
+ <v-btn :disabled="readonly" @click="editing = true" fab v-bind="$attrs">
75
84
  <v-icon>mdi-pencil</v-icon>
76
85
  </v-btn>
77
86
  </v-col>
78
87
 
79
88
  <v-col cols="6">
80
- <v-btn @click="confirmDelete" fab v-bind="$attrs">
89
+ <v-btn :disabled="readonly" @click="confirmDelete" fab v-bind="$attrs">
81
90
  <v-icon>mdi-delete</v-icon>
82
91
  </v-btn>
83
92
  </v-col>
@@ -156,6 +165,11 @@ export default {
156
165
  type: String | Number,
157
166
  default: 300,
158
167
  },
168
+ // This set the component status to readonly, stopping the user interaction.
169
+ readonly: {
170
+ type: Boolean,
171
+ default: false,
172
+ },
159
173
  },
160
174
 
161
175
  computed: {
@@ -165,6 +179,9 @@ export default {
165
179
  overlay() {
166
180
  return this.isHovered && this.mediaExists;
167
181
  },
182
+ fileName() {
183
+ return this.internalValue && this.internalValue.file && this.internalValue.file.split("/").pop();
184
+ },
168
185
  },
169
186
 
170
187
  methods: {
@@ -175,7 +192,8 @@ export default {
175
192
  this.$mapo.$confirm
176
193
  .open({
177
194
  title: "Remove",
178
- question: "Are you sure to want to remove this media?"
195
+ question: "Are you sure to want to remove this media?",
196
+ approveButton: { text: "Remove", attrs: { color: "red", text: true } }
179
197
  })
180
198
  .then((res) => (res ? (this.internalValue = null) : null));
181
199
  },
@@ -62,7 +62,7 @@
62
62
 
63
63
  <v-card-actions class="paginator mt-auto" v-if="pages">
64
64
  <v-row justify="center" class="py-2">
65
- <v-btn text @click="prev">
65
+ <v-btn :disabled="readonly" text @click="prev">
66
66
  <v-icon>mdi-chevron-left</v-icon>
67
67
  </v-btn>
68
68
  <v-item-group v-model="page" class="text-center mx-1" mandatory>
@@ -71,12 +71,12 @@
71
71
  :key="`btn-${n}`"
72
72
  v-slot="{ active, toggle }"
73
73
  >
74
- <v-btn :input-value="active" icon @click="toggle">
74
+ <v-btn :disabled="readonly" :input-value="active" icon @click="toggle">
75
75
  <v-icon>mdi-record</v-icon>
76
76
  </v-btn>
77
77
  </v-item>
78
78
  </v-item-group>
79
- <v-btn text @click="next">
79
+ <v-btn :disabled="readonly" text @click="next">
80
80
  <v-icon>mdi-chevron-right</v-icon>
81
81
  </v-btn>
82
82
  </v-row>
@@ -173,6 +173,11 @@ export default {
173
173
  type: Boolean,
174
174
  default: false,
175
175
  },
176
+ // This set the component status to readonly, stopping the user interaction.
177
+ readonly: {
178
+ type: Boolean,
179
+ default: false,
180
+ },
176
181
  },
177
182
 
178
183
  model: {
@@ -0,0 +1,89 @@
1
+ <template>
2
+ <div class="container">
3
+ <div class="preview">
4
+ <span class="preview__title">{{ getTitle }}</span>
5
+ <br />
6
+ <span class="preview__url">{{ getPermalink }}</span>
7
+ <br />
8
+ <span class="preview__desc">{{ getDescription }}</span>
9
+ </div>
10
+ </div>
11
+ </template>
12
+
13
+ <style lang="scss" scoped>
14
+ .container {
15
+ background: #ffffff;
16
+ border-radius: 3px;
17
+ }
18
+ .preview {
19
+ display: block;
20
+ max-width: 32em;
21
+ margin: 30px 8px;
22
+ &__title {
23
+ color: #035ac6;
24
+ font-size: 1.2em;
25
+ cursor: pointer;
26
+ &:hover {
27
+ text-decoration: underline;
28
+ }
29
+ }
30
+ &__url {
31
+ color: green;
32
+ font-size: 0.92em;
33
+ }
34
+ &__desc {
35
+ color: #9b9da1;
36
+ }
37
+ }
38
+ </style>
39
+
40
+ <script>
41
+ /**
42
+ * This component is used to make a preview of seo data.
43
+ */
44
+ export default {
45
+ name: "SeoPreview",
46
+ props: {
47
+ // V-model for DetailField (need to be an object `{title, permalink, description}`)
48
+ value:{
49
+ type: Object,
50
+ default: () => {}
51
+ },
52
+ // Seo title
53
+ title: {
54
+ type: String,
55
+ default:
56
+ "It was the best of times, it was the blurst of times, it was the ..."
57
+ },
58
+ // Seo permalink
59
+ permalink: {
60
+ type: String,
61
+ default: "example.com/how_to_dive"
62
+ },
63
+ // Seo description
64
+ description: {
65
+ type: String,
66
+ default:
67
+ "This is an example description that will get replaced when you start typing. Make sure to keep descriptions mobile-friendly and keyword-rich!"
68
+ }
69
+ },
70
+ computed: {
71
+ getTitle(){
72
+ if (this.value && this.value.title)
73
+ return this.value.title
74
+ return this.title
75
+ },
76
+ getPermalink(){
77
+ if (this.value && this.value.permalink)
78
+ return this.value.permalink
79
+ return this.permalink
80
+ },
81
+ getDescription(){
82
+ if (this.value && this.value.description)
83
+ return this.value.description
84
+ return this.description
85
+ }
86
+ },
87
+
88
+ };
89
+ </script>
@@ -43,7 +43,7 @@ export default {
43
43
  // ],
44
44
  template_cdate_format: '[Date Created (CDATE): %m/%d/%Y : %H:%M:%S]',
45
45
  template_mdate_format: '[Date Modified (MDATE): %m/%d/%Y : %H:%M:%S]',
46
- height: 600,
46
+ height: 400,
47
47
  image_caption: true,
48
48
  quickbars_selection_toolbar: 'bold italic | quicklink h2 h3 blockquote quickimage quicktable',
49
49
  noneditable_noneditable_class: 'mceNonEditable',