Lint changes

This commit is contained in:
Bahadir Sofuoglu 2022-09-14 17:26:41 +03:00
parent eb2de5460c
commit 4d3a071e66
291 changed files with 28450 additions and 26621 deletions

View file

@ -1,33 +1,33 @@
const EditorProps = [
{
name: "modelValue",
type: "string",
default: "null",
description: "Value of the content."
name: 'modelValue',
type: 'string',
default: 'null',
description: 'Value of the content.'
},
{
name: "placeholder",
type: "string",
default: "null",
description: "Placeholder text to show when editor is empty."
name: 'placeholder',
type: 'string',
default: 'null',
description: 'Placeholder text to show when editor is empty.'
},
{
name: "readonly",
type: "boolean",
default: "false",
description: "Whether to instantiate the editor to readonly mode."
name: 'readonly',
type: 'boolean',
default: 'false',
description: 'Whether to instantiate the editor to readonly mode.'
},
{
name: "formats",
type: "string[]",
default: "null",
description: "Whitelist of formats to display."
name: 'formats',
type: 'string[]',
default: 'null',
description: 'Whitelist of formats to display.'
},
{
name: "editorStyle",
type: "any",
default: "null",
description: "Inline style of the container."
name: 'editorStyle',
type: 'any',
default: 'null',
description: 'Inline style of the container.'
},
{
name: 'modules',
@ -39,69 +39,69 @@ const EditorProps = [
const EditorEvents = [
{
name: "text-change",
description: "Callback to invoke when text of editor changes.",
name: 'text-change',
description: 'Callback to invoke when text of editor changes.',
arguments: [
{
name: "event.delta",
type: "object",
description: "Representation of the change."
name: 'event.delta',
type: 'object',
description: 'Representation of the change.'
},
{
name: "event.source",
type: "string",
name: 'event.source',
type: 'string',
description: 'Source of change. Will be either "user" or "api".'
},
{
name: "event.htmlValue",
type: "string",
description: "Current value as html."
name: 'event.htmlValue',
type: 'string',
description: 'Current value as html.'
},
{
name: "event.textValue",
type: "string",
description: "Current value as text."
name: 'event.textValue',
type: 'string',
description: 'Current value as text.'
},
{
name: "event.instance",
type: "object",
description: "Text editor instance."
name: 'event.instance',
type: 'object',
description: 'Text editor instance.'
}
]
},
{
name: "selection-change",
description: "Callback to invoke when selection of the text changes.",
name: 'selection-change',
description: 'Callback to invoke when selection of the text changes.',
arguments: [
{
name: "event.range",
type: "object",
description: "Representation of the selection boundaries."
name: 'event.range',
type: 'object',
description: 'Representation of the selection boundaries.'
},
{
name: "event.oldRange",
type: "string",
name: 'event.oldRange',
type: 'string',
description: 'Representation of the previous selection boundaries.'
},
{
name: "event.source",
type: "string",
name: 'event.source',
type: 'string',
description: 'Source of change. Will be either "user" or "api".'
},
{
name: "event.htmlValue",
type: "string",
description: "Current value as html."
name: 'event.htmlValue',
type: 'string',
description: 'Current value as html.'
},
{
name: "event.textValue",
type: "string",
description: "Current value as text."
name: 'event.textValue',
type: 'string',
description: 'Current value as text.'
},
{
name: "event.instance",
type: "object",
description: "Text editor instance."
name: 'event.instance',
type: 'object',
description: 'Text editor instance.'
}
]
},
@ -120,15 +120,15 @@ const EditorEvents = [
const EditorSlots = [
{
name: "toolbar",
name: 'toolbar',
description: "Custom content for the component's toolbar"
}
];
module.exports = {
editor: {
name: "Editor",
description: "Editor is rich text editor component based on Quill.",
name: 'Editor',
description: 'Editor is rich text editor component based on Quill.',
props: EditorProps,
events: EditorEvents,
slots: EditorSlots