FIX : Admin custom CSS area forces entire page to scroll #2886 (#2892)

* Update EditPageContent.tsx

Adding Scroll to codemirror

* Prettified Code!

* Fixing CSS- code mirror scroll issue

Removing excess code
and fixing CSS code mirror

* Prettified Code!

* Prettified Code!

---------

Co-authored-by: dev265545 <dev265545@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
This commit is contained in:
Dev Gupta
2023-04-04 09:33:44 +05:30
committed by GitHub
parent 39041ea9fa
commit 1eac2a1632
4 changed files with 113 additions and 97 deletions

View File

@@ -101,6 +101,7 @@ export default function EditPageContent() {
value={content}
placeholder="Enter your custom page content here..."
theme={bbedit}
height="200px"
onChange={handleEditorChange}
extensions={[markdown({ base: markdownLanguage, codeLanguages: languages })]}
/>