index.ts 602 B

1234567891011121314151617181920212223
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. import { IEditorServices } from '@jupyterlab/codeeditor';
  4. import { CodeMirrorEditorFactory } from './factory';
  5. import { CodeMirrorMimeTypeService } from './mimetype';
  6. import '../style/index.css';
  7. export * from './mode';
  8. export * from './editor';
  9. export * from './factory';
  10. export * from './mimetype';
  11. /**
  12. * The default editor services.
  13. */
  14. export const editorServices: IEditorServices = {
  15. factoryService: new CodeMirrorEditorFactory(),
  16. mimeTypeService: new CodeMirrorMimeTypeService()
  17. };