From 378c5fbd1824d9e66ed979570f4512cd6527c442 Mon Sep 17 00:00:00 2001 From: PranavAwasthi Date: Thu, 28 Dec 2023 18:13:35 +0530 Subject: [PATCH] Added option to add code in question description --- js/qsm-admin.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/qsm-admin.js b/js/qsm-admin.js index 24b546fad..1acc8d305 100644 --- a/js/qsm-admin.js +++ b/js/qsm-admin.js @@ -1571,7 +1571,7 @@ var QSMContact; tinymce: { forced_root_block: '', toolbar1: 'formatselect,bold,italic,underline,bullist,numlist,blockquote,alignleft,aligncenter,alignright,link,wp_more,fullscreen,wp_adv', - toolbar2: 'strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help' + toolbar2: 'strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help,wp_code' }, quicktags: true, }; @@ -2297,7 +2297,7 @@ var import_button; tinymce: { forced_root_block: '', toolbar1: 'formatselect,bold,italic,underline,bullist,numlist,blockquote,alignleft,aligncenter,alignright,alignjustify,link,wp_more,fullscreen,wp_adv', - toolbar2: 'strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help' + toolbar2: 'strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help,wp_code' }, quicktags: true, }; @@ -2537,7 +2537,7 @@ var import_button; tinymce: { forced_root_block: '', toolbar1: 'formatselect,bold,italic,underline,bullist,numlist,blockquote,alignleft,aligncenter,alignright,alignjustify,link,wp_more,fullscreen,wp_adv', - toolbar2: 'strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help' + toolbar2: 'strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help,wp_code' }, quicktags: true, }; @@ -3479,7 +3479,7 @@ var import_button; tinymce: { forced_root_block: '', toolbar1: 'formatselect,bold,italic,underline,bullist,numlist,blockquote,alignleft,aligncenter,alignright,link,wp_more,fullscreen,wp_adv', - toolbar2: 'strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help' + toolbar2: 'strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help,wp_code' }, quicktags: true, };