File tree 1 file changed +9
-1
lines changed
assets/vue/components/basecomponents
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,11 @@ const props = defineProps({
70
70
default: TINYEDITOR_MODE_PERSONAL_FILES ,
71
71
validator : (value ) => TINYEDITOR_MODES .includes (value),
72
72
},
73
+ fullPage: {
74
+ type: Boolean ,
75
+ required: false ,
76
+ default: true ,
77
+ },
73
78
})
74
79
const emit = defineEmits ([" update:modelValue" ])
75
80
const router = useRouter ()
@@ -119,7 +124,6 @@ const defaultEditorConfig = {
119
124
" code" ,
120
125
" codesample" ,
121
126
" directionality" ,
122
- " fullpage" ,
123
127
" fullscreen" ,
124
128
" emoticons" ,
125
129
" image" ,
@@ -167,6 +171,10 @@ const defaultEditorConfig = {
167
171
file_picker_callback: filePickerCallback,
168
172
}
169
173
174
+ if (props .fullPage ) {
175
+ defaultEditorConfig .plugins .push (" fullpage" )
176
+ }
177
+
170
178
const editorConfig = computed (() => ({
171
179
... defaultEditorConfig,
172
180
... props .editorConfig ,
You can’t perform that action at this time.
0 commit comments