Fix #2037 missing "strike" button in CKEditor simple toolbar

This commit is contained in:
Kijin Sung 2022-12-15 23:04:30 +09:00
parent 422771883d
commit 995068830c

View file

@ -186,7 +186,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
// Define the simple toolbar.
<!--@if($editor_toolbar === 'simple')-->
settings.ckeconfig.toolbar = [
{ name: 'styles', items: [ 'Font', 'FontSize', '-', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor' ] },
{ name: 'styles', items: [ 'Font', 'FontSize', '-', 'Bold', 'Italic', 'Underline', 'Strike', 'TextColor', 'BGColor' ] },
{ name: 'paragraph', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ] },
{ name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste' ] },
{ name: 'insert', items: [ 'Link', 'Image', 'Table' ] },