got to a stable point again. next up is comming up with a decent API for modifications
This commit is contained in:
parent
4fb7405466
commit
fc22ce6027
19 changed files with 498 additions and 375 deletions
|
@ -2,6 +2,7 @@ import { createSignal } from "solid-js";
|
|||
import { debounce } from "@solid-primitives/scheduled";
|
||||
import { Textarea } from "~/components/textarea";
|
||||
import css from './formatter.module.css';
|
||||
import { Editor } from "~/features/editor";
|
||||
|
||||
const tempVal = `
|
||||
# Header
|
||||
|
@ -37,7 +38,7 @@ export default function Formatter(props: {}) {
|
|||
}, 300);
|
||||
|
||||
return <div class={css.root}>
|
||||
<textarea oninput={onInput}>{value()}</textarea>
|
||||
<Textarea class={css.textarea} value={value()} oninput={setValue} lang="en-GB" />
|
||||
<textarea oninput={onInput} title="markdown">{value()}</textarea>
|
||||
<Textarea class={css.textarea} title="html" value={value()} oninput={setValue} lang="en-GB" />
|
||||
</div>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue