Add completion, browser integration, and workspace improvements
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
import type { TableContextActions } from "./tableCellActions";
|
||||
import { markdownMenu } from "./markdownMenu";
|
||||
import { tableNavigation } from "./tableNavigation";
|
||||
import { completionExtension } from "$lib/completion/codemirror";
|
||||
|
||||
type Props = {
|
||||
buffer: OpenBuffer;
|
||||
@@ -138,6 +139,7 @@
|
||||
if (model.getValue() !== lastValue) model.setValue(lastValue);
|
||||
model.pushStackElement();
|
||||
const extensions = [
|
||||
completionExtension(current.id),
|
||||
EditorState.lineSeparator.of(model.getEOL()),
|
||||
markdown({ base: markdownLanguage, extensions: [noteFormats] }),
|
||||
// Rich cell serialization can change delimiters away from the caret.
|
||||
|
||||
Reference in New Issue
Block a user