primevue-mirror/apps/showcase/pages/editor/index.vue

62 lines
2.0 KiB
Vue
Raw Normal View History

2022-09-14 11:26:01 +00:00
<template>
<DocComponent title="Vue Editor Component" header="Editor" description="Editor is rich text editor component based on Quill." :componentDocs="docs" :apiDocs="['Editor']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
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';
import ImportDoc from '@/doc/editor/ImportDoc.vue';
2024-10-23 06:56:16 +00:00
import FormDoc from '@/doc/editor/FormDoc.vue';
2023-02-28 08:29:30 +00:00
import QuillDoc from '@/doc/editor/QuillDoc.vue';
import ReadOnlyDoc from '@/doc/editor/ReadOnlyDoc.vue';
import TemplateDoc from '@/doc/editor/TemplateDoc.vue';
2023-05-05 10:31:26 +00:00
import PTComponent from '@/doc/editor/pt/index.vue';
import ThemingDoc from '@/doc/editor/theming/index.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
},
2024-10-23 06:56:16 +00:00
{
id: 'form',
label: 'Form',
component: FormDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'readonly',
label: 'ReadOnly',
component: ReadOnlyDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-05-05 10:31:26 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-14 11:26:01 +00:00
};
}
};
</script>