Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.

Commit 22c7ef8

Browse files
committed
removed code editor it made the site haul ass
1 parent 48d3e3f commit 22c7ef8

3 files changed

Lines changed: 5 additions & 416 deletions

File tree

userscript/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"version": "1.1.0",
44
"private": true,
55
"dependencies": {
6-
"@uiw/react-textarea-code-editor": "^2.1.9",
76
"react": "^17.0.2",
87
"react-app-rewired": "^2.1.8",
98
"react-dom": "^17.0.2",

userscript/src/PlusPage.js

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11
import React from "react";
22
import "./App.css";
33

4-
import CodeEditor from '@uiw/react-textarea-code-editor';
5-
64
function PlusPage() {
7-
function handleCSSChange(reactEvent) {
8-
localStorage.setItem("customcss", reactEvent.target.value);
9-
}
5+
// function handleCSSChange(reactEvent) {
6+
// localStorage.setItem("customcss", reactEvent.target.value);
7+
// }
108
return (
119
<div className="App">
1210
<header className="App-header">
1311
<h1>SYNTAX+</h1>
14-
<p>Custom CSS</p>
15-
<CodeEditor
16-
value={localStorage.getItem("customcss")}
17-
onChange={handleCSSChange}
18-
language="css"
19-
placeholder="/* Syntax+ Custom CSS */"
20-
/>
21-
12+
<p>Custom CSS Disabled, it was too slow.</p>
2213
</header>
2314
</div>
2415
);

0 commit comments

Comments
 (0)