revert textarea component to conenteditable
This commit is contained in:
parent
925ea142fb
commit
c6c7240fee
3 changed files with 30 additions and 11 deletions
|
@ -37,11 +37,11 @@ export default function Formatter(props: {}) {
|
|||
|
||||
return <div class={css.root}>
|
||||
<textarea oninput={onInput} title="markdown">{value()}</textarea>
|
||||
<Editor value={value()} oninput={setValue}>
|
||||
{/* <Editor value={value()} oninput={setValue}>
|
||||
<SearchAndReplace />
|
||||
</Editor>
|
||||
</Editor> */}
|
||||
|
||||
{/* <Textarea class={css.textarea} title="html" value={value()} oninput={setValue} lang="en-GB" /> */}
|
||||
<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