remove editor toolbar

This commit is contained in:
Warunee Tamkoo 2025-11-26 17:57:48 +07:00
parent 55ab6e157f
commit d6a6883f95

View file

@ -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',
}"
/>
</div>
<div class="col-12 q-mt-md">
@ -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',
}"
/>
</div>
<div class="col-12" v-if="announcementExam">
@ -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',