primevue-mirror/pages/editor/index.vue

71 lines
2.2 KiB
Vue
Raw Normal View History

2022-09-14 11:26:01 +00:00
<template>
2023-02-28 08:29:30 +00:00
<DocComponent title="Vue Editor Component" header="Editor" description="Editor is rich text editor component based on Quill." :componentDocs="docs" :apiDocs="['Editor']" />
2022-09-14 11:26:01 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/editor/AccessibilityDoc.vue';
import BasicDoc from '@/doc/editor/BasicDoc.vue';
2023-03-16 12:57:15 +00:00
import VeeValidateDoc from '@/doc/editor/form/VeeValidateDoc.vue';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/editor/ImportDoc.vue';
import QuillDoc from '@/doc/editor/QuillDoc.vue';
import ReadOnlyDoc from '@/doc/editor/ReadOnlyDoc.vue';
import StyleDoc from '@/doc/editor/StyleDoc.vue';
import TemplateDoc from '@/doc/editor/TemplateDoc.vue';
2022-09-14 11:26:01 +00:00
export default {
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'quill',
label: 'Quill',
component: QuillDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'readonly',
label: 'ReadOnly',
component: ReadOnlyDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
2023-03-16 12:57:15 +00:00
{
id: 'form',
label: 'Form',
description: 'Compatibility with popular Vue form libraries.',
children: [
{
id: 'veevalidate',
label: 'VeeValidate',
component: VeeValidateDoc
}
]
},
2023-02-28 08:29:30 +00:00
{
id: 'style',
label: 'Style',
component: StyleDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
]
2022-09-14 11:26:01 +00:00
};
}
};
</script>