Editor Module Name: EditorModule

Module Name: EditorModule

Displays collapsible content panels for presenting information in a limited amount of space.

Showcase
TESTE
Properties
NameTypeDefaultDescriptionOptions
colorstringbasicChanges the default color of header. basic | primary | success | information | warning | danger | light | dark
contentHTML StringnullDefines the content of editor. HTML String
heightstring300pxEditor's height. px | % | em
toolbarConfigObject - ToolbarConfignullThe toolbar config object Object of type toolbar config
ToolbarConfig
font: {
    family:    { show: boolean, tooltipText: string }
    size:      { show: boolean, tooltipText: string }
    bold:      { show: boolean, tooltipText: string }
    italic:    { show: boolean, tooltipText: string }
    underline: { show: boolean, tooltipText: string }
    color:     { show: boolean, tooltipText: string }
    highlight: { show: boolean, tooltipText: string }
  }
alignment: {
    left:      { show: boolean, tooltipText: string }
    center:    { show: boolean, tooltipText: string }
    right:     { show: boolean, tooltipText: string }
    justify:   { show: boolean, tooltipText: string }
  }
lists: {
    ordered:   { show: boolean, tooltipText: string }
    unordered: { show: boolean, tooltipText: string }
  }
others: {
    link:      { show: boolean, tooltipText: string }
    imageLink: { show: boolean, tooltipText: string }
    quote:     { show: boolean, tooltipText: string }
  }
Events
NameParametersDescription
saveContent
innerHTML : Inner HTML of content
Event emitted when pressed CTRL + S ( save ) while typing