diff --git a/components/lib/config/PrimeVue.js b/components/lib/config/PrimeVue.js index 078b401b0..197ec0ceb 100644 --- a/components/lib/config/PrimeVue.js +++ b/components/lib/config/PrimeVue.js @@ -132,7 +132,7 @@ export const defaultOptions = { tooltip: 1100 }, pt: undefined, - unstyled: false + unstyled: true }; const PrimeVueSymbol = Symbol(); diff --git a/components/lib/editor/Editor.d.ts b/components/lib/editor/Editor.d.ts index 4b04f3693..a664e9963 100755 --- a/components/lib/editor/Editor.d.ts +++ b/components/lib/editor/Editor.d.ts @@ -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; } /** diff --git a/components/lib/editor/Editor.vue b/components/lib/editor/Editor.vue index b41e2bfe6..0437d5bc9 100755 --- a/components/lib/editor/Editor.vue +++ b/components/lib/editor/Editor.vue @@ -1,55 +1,55 @@ - -