--Value
{
bold: 'b',
underline: 'u',
italic: 'i',
strike: 's'
}
--Whitelist, Blacklist
{
all: 'style',
input: 'checked'
}
{
all: 'data-test',
input: 'name'
}
--Layout
"#custom_toolbar"
{
scrolling: 'no',
}
{ codeMirror: CodeMirror }
{ katex: katex } // Use "math" plugin
[
{text: '1', value: '1em'},
{text: '2', value: '2em', default: true}
]
--Display
--Bottom resizing bar
"#custom_bottombar"--Character count
--Size
--Editing area
--Defining menu items
[ 'Arial', 'tahoma', 'Courier New,Courier' ][ 8, 10, 14, 18, 24, 36 ]
rtl === true ? ['right', 'center', 'left', 'justify'] : ['left', 'center', 'right', 'justify']
['p', 'blockquote', 'h1', 'h2', 'h3']
[ ['#ff0000', '#ff5e00', '#ffe400', '#abf200'], ['#00d8ff', '#0055ff', '#6600ff', '#ff00dd'] ]
[
{text: 'Single', value: 1},
{text: 'Double', value: 2}
]
[
'spaced',
{name: 'Box', class: '__se__customClass'}
]
[
'translucent',
{name: 'Emphasis', style: '-webkit-text-emphasis: filled;', tag: 'span'}
]
--Image
--image gallery
--Video
[ {name: 'Classic Film 3:2', value: 0.6666}, {name: 'HD', value: 0.5625} ]
--Audio
--Table
--Link
[ 'author', 'external', 'help', 'license', 'next', 'follow', 'nofollow', 'noreferrer', 'noopener', 'prev', 'search', 'tag' ]
{ default: 'nofollow', check_new_window: 'noreferrer noopener', check_bookmark: 'bookmark' }
--HR
[ {name: "Outset", style: "border-style: outset;"} ]--Key actions
['bold', 'strike', 'underline', 'italic', 'undo', 'indent']
--Defining save button
function (contents) { alert(contents) }
--Templates Array
[
{
name: 'Template-1',
html: '<p>HTML source1</p>'
},
{
name: 'Template-2',
html: '<p>HTML source2</p>'
}
]
--ETC
{
paragraph_style: '<svg><path d=".."/></svg>'
}
Attached files
Attach image
0KB
Applied options
console.log.apply(console, options);