diff --git a/components/editor/live-editor.jsx b/components/editor/live-editor.jsx index fa5efff..9d2c360 100644 --- a/components/editor/live-editor.jsx +++ b/components/editor/live-editor.jsx @@ -38,7 +38,7 @@ const extensions = [ } ] }), - createQuickExtension(), + // createQuickExtension(), Color.configure({ types: [TextStyle.name, ListItem.name] }), // @ts-ignore TextStyle.configure({ types: [ListItem.name] }), @@ -67,9 +67,17 @@ const LiveEditor = () => { return (
- {editor && } - - {editor && } +
+ + + + +
+
+ {editor && } + + {editor && } +
) } diff --git a/pages/index.js b/pages/index.js index ae33a35..d1d58f0 100644 --- a/pages/index.js +++ b/pages/index.js @@ -11,7 +11,7 @@ export default function Home() {
-
+
diff --git a/styles/Home.module.css b/styles/Home.module.css index 19bc34e..6c557ec 100644 --- a/styles/Home.module.css +++ b/styles/Home.module.css @@ -57,16 +57,6 @@ border-color 0.15s ease; } -.editor { - margin: 1rem; - padding: 1rem; - flex-basis: 45%; - border: 1px solid #0070f3; - border-radius: 10px; - width: 600px; - height: 480px; -} - .card:hover, .card:focus, .card:active { diff --git a/styles/global.css b/styles/global.css index 390ef7c..95793eb 100644 --- a/styles/global.css +++ b/styles/global.css @@ -227,4 +227,40 @@ input { .is-active { background-color: var(--violet-3); +} + +.editor-section { + margin: 1rem; + padding: 1rem; + flex-basis: 45%; + border: 1px solid #0070f3; + border-radius: 10px; + width: 600px; + height: 480px; +} + +.domain-buttons { + width: 600px; + margin: 1rem; + display: flex; + flex-wrap: wrap; +} + +.domain-button { + background-color: var(--violet-3); + color: var(--violet-11); + border-radius: 6px; + padding: 0.2rem 2rem; + margin-right: 0.2rem; + font-size: 1rem; + line-height: 1.5; + border: none; + cursor: pointer; + transition: background-color 0.2s ease; +} + +.domain-button:disabled { + background-color: var(--violet-4); + color: var(--violet-11); + cursor: not-allowed; } \ No newline at end of file