### codeBeautifierOptions 代码美化工具选项 | Type | Object | |---| ---| | Default | {end_with_newline: true, indent_inner_html: true, extra_liners: "['p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'pre', 'ul', 'ol', 'table', 'dl']", brace_style: 'expand', indent_char: '\t', indent_size: 1, wrap_line_length: 0} | | Plugin | code_beautifier.min.js | 指定代码美化工具选项. #### 代码参考 ~~~ $('.selector').froalaEditor({ codeBeautifierOptions: { end_with_newline: true, indent_inner_html: true, extra_liners: "['p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'pre', 'ul', 'ol', 'table', 'dl']", brace_style: 'expand', indent_char: ' ', indent_size: 4, wrap_line_length: 0 } }); ~~~