From 80e6dd191a82e1230cea67874bc85e4ec3686858 Mon Sep 17 00:00:00 2001 From: Bowrna Date: Tue, 5 Nov 2024 12:12:15 +0530 Subject: [PATCH] replacing codeflask with code-input --- frontend/index.html | 3 + frontend/package.json | 1 + frontend/src/components/HTMLEditor.vue | 114 +++++++++--------- frontend/src/components/MarkdownEditor.vue | 130 ++++++++++++++------- 4 files changed, 147 insertions(+), 101 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 07d91a7a..8aa8756d 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -17,5 +17,8 @@
+ + + diff --git a/frontend/package.json b/frontend/package.json index 0229e0d6..0e3e5930 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,6 +11,7 @@ }, "dependencies": { "@tinymce/tinymce-vue": "^3", + "@webcoder49/code-input": "github:WebCoder49/code-input", "axios": "^1.7.4", "buefy": "^0.9.25", "bulma": "^0.9.4", diff --git a/frontend/src/components/HTMLEditor.vue b/frontend/src/components/HTMLEditor.vue index c5d3c18d..c82ca52d 100644 --- a/frontend/src/components/HTMLEditor.vue +++ b/frontend/src/components/HTMLEditor.vue @@ -1,10 +1,18 @@ + + diff --git a/frontend/src/components/MarkdownEditor.vue b/frontend/src/components/MarkdownEditor.vue index ea38ae5a..79393078 100644 --- a/frontend/src/components/MarkdownEditor.vue +++ b/frontend/src/components/MarkdownEditor.vue @@ -1,11 +1,20 @@ + +