Skip to content

Commit

Permalink
replace custom codemirror with original codemirror (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvargas92495 authored May 11, 2024
1 parent 670a366 commit a25503e
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 33 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ out
build
.env
extension.js
extension.css
error.png
dist
55 changes: 28 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
"@actions/core": "^1.6.0",
"@actions/github": "^5.0.0",
"@aws-sdk/client-dynamodb": "^3.54.1",
"@dvargas92495/codemirror": "^5.65.11",
"@dvargas92495/react-codemirror2": "^7.2.9",
"aws-sdk": "^2.826.0",
"cytoscape": "^3.19.1",
"mime-types": "^2.1.32",
Expand All @@ -36,6 +34,7 @@
"puppeteer": "^5.4.0",
"puppeteer-core": "^5.5.0",
"randomstring": "^1.2.1",
"react-codemirror2": "^8.0.0",
"react-icons": "^4.3.1",
"roamjs-components": "^0.82.11",
"uuid": "^8.3.2"
Expand Down
10 changes: 6 additions & 4 deletions src/components/StaticSiteDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ import {
TextArea,
Tooltip,
} from "@blueprintjs/core";
import { Controlled as CodeMirror } from "@dvargas92495/react-codemirror2";
import "@dvargas92495/codemirror/mode/xml/xml";
import "@dvargas92495/codemirror/mode/css/css";
import "@dvargas92495/codemirror/mode/javascript/javascript";
import { Controlled as CodeMirror } from "react-codemirror2";
import "codemirror/mode/xml/xml";
import "codemirror/mode/css/css";
import "codemirror/mode/javascript/javascript";
import 'codemirror/lib/codemirror.css';
import 'codemirror/theme/material.css';
import React, {
useCallback,
useEffect,
Expand Down

0 comments on commit a25503e

Please sign in to comment.