|
|
@@ -36,7 +36,7 @@ if (process.browser) {
|
|
|
}
|
|
|
import hljs from "hljs";
|
|
|
export default {
|
|
|
- props: ["content", "hideImage", "placeholder"],
|
|
|
+ props: ["content", "hideImage", "placeholder", "haveVideo"],
|
|
|
components: {
|
|
|
// quillEditor
|
|
|
// Editor
|
|
|
@@ -46,6 +46,9 @@ export default {
|
|
|
if (!this.hideImage) {
|
|
|
extra.push("image");
|
|
|
}
|
|
|
+ if (this.haveVideo) {
|
|
|
+ extra.push("video");
|
|
|
+ }
|
|
|
let placeholder = this.placeholder
|
|
|
return {
|
|
|
editorOption: {
|