gitlab-org--gitlab-foss/app/assets/javascripts/blob/utils.js

16 lines
283 B
JavaScript

import Editor from '~/editor/editor_lite';
export function initEditorLite({ el, ...args }) {
const editor = new Editor({
scrollbar: {
alwaysConsumeMouseWheel: false,
},
});
return editor.createInstance({
el,
...args,
});
}
export default () => ({});