2022-09-14 11:26:01 +00:00
< template >
2023-05-05 10:31:26 +00:00
< DocComponent title = "Vue Editor Component" header = "Editor" description = "Editor is rich text editor component based on Quill." :componentDocs ="docs" :apiDocs ="['Editor']" :ptTabComponent ="ptComponent" / >
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' ;
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' ;
2023-05-05 10:31:26 +00:00
import VeeValidateDoc from '@/doc/editor/form/VeeValidateDoc.vue' ;
import PTComponent from '@/doc/editor/pt/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
} ,
{
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
}
2023-05-05 10:31:26 +00:00
] ,
ptComponent : PTComponent
2022-09-14 11:26:01 +00:00
} ;
}
} ;
< / script >