bundle_entry.mjs (1026B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 // This file exports only the ProseMirror APIs that are being used. 6 // When adding new functionality the required exports can be added here before 7 // rebuilding the bundle with. 8 9 // Core 10 export { baseKeymap } from "prosemirror-commands"; 11 export { history, undo, redo } from "prosemirror-history"; 12 export { keymap } from "prosemirror-keymap"; 13 export { Schema, DOMSerializer, DOMParser } from "prosemirror-model"; 14 export { schema as basicSchema } from "prosemirror-schema-basic"; 15 export { EditorState, Plugin, PluginKey, TextSelection } from "prosemirror-state"; 16 export { EditorView, Decoration, DecorationSet } from "prosemirror-view"; 17 18 // Non-core 19 export { defaultMarkdownParser } from "prosemirror-markdown"; 20 21 // Third-party 22 export { suggestionsPlugin, triggerCharacter } from "./prosemirror-suggestions/src/index.js";