generated from Nodarx/template
chore: implement js test suites
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import type { ModuleIntegrations } from '@KTXC/types/moduleTypes'
|
||||
|
||||
const integrations: ModuleIntegrations = {
|
||||
/**
|
||||
* Register the text editor for text/plain, text/markdown, and text/html MIME types.
|
||||
*
|
||||
* Editor component contract:
|
||||
* props: { entity: EntityObject, mime: string, readFile: Function, writeFile: Function }
|
||||
*/
|
||||
documents_file_editor: [
|
||||
{
|
||||
id: 'text_editor',
|
||||
label: 'Text Editor',
|
||||
priority: 20,
|
||||
meta: {
|
||||
mimeTypes: ['text/plain', 'text/markdown', 'text/x-markdown', 'text/html'],
|
||||
},
|
||||
component: () => import('./components/TextEditorViewer.vue'),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
export default integrations
|
||||
Reference in New Issue
Block a user