IStyleOptions

types.IStyleOptions

element

Optional element: "object" | "map" | "ul" | "ol" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "link" | "main" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "search" | "section" | "select" | "slot" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "var" | "video" | "wbr" | "jodit" | "svg" | "path" | "font" | "jodit-media"

Defined in

src/types/style.d.ts#22


attributes

Optional attributes: IAttributes

Defined in

src/types/style.d.ts#23


defaultTag

Optional defaultTag: "object" | "map" | "ul" | "ol" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "link" | "main" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "search" | "section" | "select" | "slot" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "var" | "video" | "wbr" | "jodit" | "svg" | "path" | "font" | "jodit-media"

Defined in

src/types/style.d.ts#24


hooks

Optional hooks: Object

Type declaration

Name Type
beforeWrapList? (mode: CommitMode, li: HTMLElement, style: ICommitStyle) => void
afterWrapList? (mode: CommitMode, li: HTMLElement, style: ICommitStyle) => void
beforeToggleList? (mode: CommitMode, list: HTMLElement, style: ICommitStyle) => void | "wrap" | "unwrap" | "change" | "unset" | "initial" | "replace"
beforeUnwrapList? (mode: "unwrap", list: HTMLElement, style: ICommitStyle) => void | "wrap" | "unwrap" | "change" | "unset" | "initial" | "replace"
afterToggleList? (mode: CommitMode, list: HTMLElement, style: ICommitStyle) => void
afterToggleAttribute? (mode: CommitMode, elm: HTMLElement, key: string, value?: null | string | number | boolean) => void

Defined in

jodit/src/types/style.d.ts:25