From f6514d58a10344d095207a185fb149d1fb76e392 Mon Sep 17 00:00:00 2001 From: Bron Davies Date: Mon, 26 Jun 2023 12:01:21 -0500 Subject: [PATCH 1/2] Make overflow-y auto for various potential height types See https://github.com/justcaliturner/simple-code-editor/issues/31 --- browser/js/simple-code-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/js/simple-code-editor.js b/browser/js/simple-code-editor.js index d11e025..ea73e69 100644 --- a/browser/js/simple-code-editor.js +++ b/browser/js/simple-code-editor.js @@ -365,7 +365,7 @@ const CodeEditor = { minHeight: minHeight, }" > -
+
Date: Mon, 26 Jun 2023 18:24:02 -0500 Subject: [PATCH 2/2] Update simple-code-editor.js Add `emits:[]` for Vue 3 compatibility --- browser/js/simple-code-editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/browser/js/simple-code-editor.js b/browser/js/simple-code-editor.js index ea73e69..81ba91f 100644 --- a/browser/js/simple-code-editor.js +++ b/browser/js/simple-code-editor.js @@ -108,6 +108,7 @@ const CodeEditor = { CopyCode: CopyCode, Dropdown: Dropdown, }, + emits: ["update:modelValue", "lang", "content", "textarea"], props: { lineNums: { type: Boolean,