debian-mirror-gitlab/app/assets/javascripts/editor/constants.js

13 lines
344 B
JavaScript
Raw Normal View History

2020-11-24 15:15:51 +05:30
import { __ } from '~/locale';
export const EDITOR_LITE_INSTANCE_ERROR_NO_EL = __(
'"el" parameter is required for createInstance()',
);
export const URI_PREFIX = 'gitlab';
2021-01-03 14:25:43 +05:30
export const CONTENT_UPDATE_DEBOUNCE = 250;
2021-02-22 17:27:13 +05:30
export const ERROR_INSTANCE_REQUIRED_FOR_EXTENSION = __(
'Editor Lite instance is required to set up an extension.',
);