From eba8ab21977436bf45ce62e14af57540312d394e Mon Sep 17 00:00:00 2001 From: Asli Aykan Date: Fri, 25 Oct 2024 19:24:19 +0200 Subject: [PATCH 1/7] emoji button with action added --- .../markdown-editor-monaco.component.html | 2 +- .../markdown-editor-monaco.component.ts | 11 ++ .../posting-markdown-editor.component.ts | 7 + .../model/actions/emoji.action.ts | 119 ++++++++++++ .../i18n/de/multipleChoiceQuestion.json | 3 +- .../i18n/en/multipleChoiceQuestion.json | 3 +- ...postings-markdown-editor.component.spec.ts | 179 ++++++++++++++---- 7 files changed, 288 insertions(+), 36 deletions(-) create mode 100644 src/main/webapp/app/shared/monaco-editor/model/actions/emoji.action.ts diff --git a/src/main/webapp/app/shared/markdown-editor/monaco/markdown-editor-monaco.component.html b/src/main/webapp/app/shared/markdown-editor/monaco/markdown-editor-monaco.component.html index 52d80f585633..9b5b936b83f0 100644 --- a/src/main/webapp/app/shared/markdown-editor/monaco/markdown-editor-monaco.component.html +++ b/src/main/webapp/app/shared/markdown-editor/monaco/markdown-editor-monaco.component.html @@ -229,7 +229,7 @@ -