Changeset 0.37.14 (#226)
Co-authored-by: gobha <jasafpro@gmail.com> Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
@@ -31,6 +31,7 @@ import { emacs } from '@replit/codemirror-emacs';
|
||||
import { codeEditor } from './code-editor.mjs';
|
||||
import { chatInput } from './chat-input.mjs';
|
||||
import { noteEditor } from './note-editor.mjs';
|
||||
import { mentionExtension } from './mention.mjs';
|
||||
|
||||
// ── Expose on window ────────────────────────
|
||||
|
||||
@@ -54,6 +55,10 @@ window.CM = {
|
||||
// CM.noteEditor(container, { value, darkMode, onChange, onLink, linkCompleter })
|
||||
noteEditor,
|
||||
|
||||
// Extension: @mention autocomplete + decoration for chat input
|
||||
// CM.mentionExtension({ completer: async (query) => [{ label, handle, type }] })
|
||||
mentionExtension,
|
||||
|
||||
// Bundled language modes (for reference / dynamic use)
|
||||
languages: {
|
||||
javascript, json, markdown, sql, html, css, yaml, go, python, rust,
|
||||
|
||||
Reference in New Issue
Block a user