mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-25 20:48:27 +00:00
no autocomplete until upstream merge
This commit is contained in:
parent
9694ecf55b
commit
0fb478a7c8
@ -8,8 +8,6 @@ const getInnerText = (html) => {
|
|||||||
return div.textContent || div.innerText || '';
|
return div.textContent || div.innerText || '';
|
||||||
};
|
};
|
||||||
|
|
||||||
// atomone, darcula, dracula, duotoneDark, eclipse, gruvboxLight autocompletes are flipped in darkness / lightness
|
|
||||||
|
|
||||||
export function Autocomplete({ doc }) {
|
export function Autocomplete({ doc }) {
|
||||||
return (
|
return (
|
||||||
<div className="prose dark:prose-invert max-h-[400px] overflow-auto">
|
<div className="prose dark:prose-invert max-h-[400px] overflow-auto">
|
||||||
|
|||||||
@ -87,7 +87,8 @@ const extensions = [
|
|||||||
highlightField,
|
highlightField,
|
||||||
flashField,
|
flashField,
|
||||||
// javascriptLanguage.data.of({ autocomplete: strudelAutocomplete }),
|
// javascriptLanguage.data.of({ autocomplete: strudelAutocomplete }),
|
||||||
autocompletion({ override: [strudelAutocomplete] }),
|
// autocompletion({ override: [strudelAutocomplete] }),
|
||||||
|
autocompletion({ override: [] }), // wait for https://github.com/uiwjs/react-codemirror/pull/458
|
||||||
];
|
];
|
||||||
|
|
||||||
export default function CodeMirror({
|
export default function CodeMirror({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user