Refactor #3965 - For Editor
parent
2d7d8517f0
commit
520962b145
|
@ -132,7 +132,7 @@ export const defaultOptions = {
|
|||
tooltip: 1100
|
||||
},
|
||||
pt: undefined,
|
||||
unstyled: false
|
||||
unstyled: true
|
||||
};
|
||||
|
||||
const PrimeVueSymbol = Symbol();
|
||||
|
|
|
@ -100,21 +100,61 @@ export interface EditorPassThroughOptions {
|
|||
*/
|
||||
toolbar?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the formats's DOM element.
|
||||
* Uses to pass attributes to the formats' DOM element.
|
||||
*/
|
||||
formats?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the select's DOM element.
|
||||
* Uses to pass attributes to the header's DOM element.
|
||||
*/
|
||||
select?: EditorPassThroughOptionType;
|
||||
header?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the option's DOM element.
|
||||
*/
|
||||
option?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the button's DOM element.
|
||||
* Uses to pass attributes to the bold's DOM element.
|
||||
*/
|
||||
button?: EditorPassThroughOptionType;
|
||||
bold?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the italic's DOM element.
|
||||
*/
|
||||
italic?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the underline's DOM element.
|
||||
*/
|
||||
underline?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the color's DOM element.
|
||||
*/
|
||||
color?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the background's DOM element.
|
||||
*/
|
||||
background?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the list's DOM element.
|
||||
*/
|
||||
list?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the select's DOM element.
|
||||
*/
|
||||
select?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the link's DOM element.
|
||||
*/
|
||||
link?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the image's DOM element.
|
||||
*/
|
||||
image?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the code block's DOM element.
|
||||
*/
|
||||
codeBlock?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the clean's DOM element.
|
||||
*/
|
||||
clean?: EditorPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the content's DOM element.
|
||||
*/
|
||||
|
@ -173,6 +213,11 @@ export interface EditorProps {
|
|||
* @type {EditorPassThroughOptions}
|
||||
*/
|
||||
pt?: EditorPassThroughOptions;
|
||||
/**
|
||||
* When enabled, it removes component related styles in the core.
|
||||
* @defaultValue false
|
||||
*/
|
||||
unstyled?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue