From d6a6883f9505a1e6444bd19038c750e44c1e0584 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Wed, 26 Nov 2025 17:57:48 +0700 Subject: [PATCH] remove editor toolbar --- .../views/02_qualify/PeriodAdd.vue | 134 ++++++++---------- 1 file changed, 57 insertions(+), 77 deletions(-) diff --git a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue index 8d93dd0e7..6b54c2ac7 100644 --- a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue @@ -2325,7 +2325,7 @@ onMounted(async () => { 'subscript', 'superscript', ], - ['token', 'hr', 'link', 'custom_btn'], + ['hr', 'link', 'custom_btn'], ['print', 'fullscreen'], [ { @@ -2334,38 +2334,28 @@ onMounted(async () => { list: 'no-icons', options: ['p', 'h1', 'h2', 'h3'], }, - { - label: $q.lang.editor.defaultFont, - icon: $q.iconSet.editor.font, - fixedIcon: true, - list: 'no-icons', - options: [ - 'default_font', - 'arial', - 'arial_black', - 'comic_sans', - 'courier_new', - 'impact', - 'lucida_grande', - 'times_new_roman', - 'verdana', - ], - }, + // { + // label: $q.lang.editor.defaultFont, + // icon: $q.iconSet.editor.font, + // fixedIcon: true, + // list: 'no-icons', + // options: [ + // 'default_font', + // 'arial', + // 'arial_black', + // 'comic_sans', + // 'courier_new', + // 'impact', + // 'lucida_grande', + // 'times_new_roman', + // 'verdana', + // ], + // }, 'removeFormat', ], ['undo', 'redo'], - ['viewsource'], + // ['viewsource'], ]" - :fonts="{ - arial: 'Arial', - arial_black: 'Arial Black', - comic_sans: 'Comic Sans MS', - courier_new: 'Courier New', - impact: 'Impact', - lucida_grande: 'Lucida Grande', - times_new_roman: 'Times New Roman', - verdana: 'Verdana', - }" />
@@ -2404,7 +2394,7 @@ onMounted(async () => { 'subscript', 'superscript', ], - ['token', 'hr', 'link', 'custom_btn'], + ['hr', 'link', 'custom_btn'], ['print', 'fullscreen'], [ { @@ -2413,38 +2403,28 @@ onMounted(async () => { list: 'no-icons', options: ['p', 'h1', 'h2', 'h3'], }, - { - label: $q.lang.editor.defaultFont, - icon: $q.iconSet.editor.font, - fixedIcon: true, - list: 'no-icons', - options: [ - 'default_font', - 'arial', - 'arial_black', - 'comic_sans', - 'courier_new', - 'impact', - 'lucida_grande', - 'times_new_roman', - 'verdana', - ], - }, + // { + // label: $q.lang.editor.defaultFont, + // icon: $q.iconSet.editor.font, + // fixedIcon: true, + // list: 'no-icons', + // options: [ + // 'default_font', + // 'arial', + // 'arial_black', + // 'comic_sans', + // 'courier_new', + // 'impact', + // 'lucida_grande', + // 'times_new_roman', + // 'verdana', + // ], + // }, 'removeFormat', ], ['undo', 'redo'], - ['viewsource'], + // ['viewsource'], ]" - :fonts="{ - arial: 'Arial', - arial_black: 'Arial Black', - comic_sans: 'Comic Sans MS', - courier_new: 'Courier New', - impact: 'Impact', - lucida_grande: 'Lucida Grande', - times_new_roman: 'Times New Roman', - verdana: 'Verdana', - }" />
@@ -2470,7 +2450,7 @@ onMounted(async () => { 'subscript', 'superscript', ], - ['token', 'hr', 'link', 'custom_btn'], + ['hr', 'link', 'custom_btn'], ['print', 'fullscreen'], [ { @@ -2479,27 +2459,27 @@ onMounted(async () => { list: 'no-icons', options: ['p', 'h1', 'h2', 'h3'], }, - { - label: $q.lang.editor.defaultFont, - icon: $q.iconSet.editor.font, - fixedIcon: true, - list: 'no-icons', - options: [ - 'default_font', - 'arial', - 'arial_black', - 'comic_sans', - 'courier_new', - 'impact', - 'lucida_grande', - 'times_new_roman', - 'verdana', - ], - }, + // { + // label: $q.lang.editor.defaultFont, + // icon: $q.iconSet.editor.font, + // fixedIcon: true, + // list: 'no-icons', + // options: [ + // 'default_font', + // 'arial', + // 'arial_black', + // 'comic_sans', + // 'courier_new', + // 'impact', + // 'lucida_grande', + // 'times_new_roman', + // 'verdana', + // ], + // }, 'removeFormat', ], ['undo', 'redo'], - ['viewsource'], + // ['viewsource'], ]" :fonts="{ arial: 'Arial',