UNPKG

lexical-vue

Version:

An extensible Vue 3 web text-editor based on Lexical.

20 lines (19 loc) 1.08 kB
import * as __VLS_VINE from 'vue-vine/internals'; import type { LexicalEditor } from 'lexical'; import type { AriaAttributes, HTMLAttributes } from 'vue'; export type ContentEditableElementProps = { editor: LexicalEditor; ariaActiveDescendant?: AriaAttributes['aria-activedescendant']; ariaAutoComplete?: AriaAttributes['aria-autocomplete']; ariaControls?: AriaAttributes['aria-controls']; ariaDescribedBy?: AriaAttributes['aria-describedby']; ariaErrorMessage?: AriaAttributes['aria-errormessage']; ariaExpanded?: AriaAttributes['aria-expanded']; ariaInvalid?: AriaAttributes['aria-invalid']; ariaLabel?: AriaAttributes['aria-label']; ariaLabelledBy?: AriaAttributes['aria-labelledby']; ariaMultiline?: AriaAttributes['aria-multiline']; ariaOwns?: AriaAttributes['aria-owns']; ariaRequired?: AriaAttributes['aria-required']; } & Omit<HTMLAttributes, 'placeholder'>; export declare function ContentEditableElement(props: __VLS_VINE.VineComponentCommonProps & ContentEditableElementProps, context: {}): __VLS_VINE.VueVineComponent;