--Whitelist






{
  all: 'style',
  input: 'checked'
}

--Layout

      





             

{ codeMirror: CodeMirror }
{ katex: katex } // Use "math" plugin

--Display

             

--Bottom resizing bar

      

--Character count

      

            


--Size

             

             

--Editing area default style


--Defining menu items

[ 'Arial', 'tahoma', 'Courier New,Courier' ]

[ 8, 10, 14, 18, 24, 36 ]       

['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

                    







        



      

--Video

             







        



[ {name: 'Classic Film 3:2', value: 0.6666}, {name: 'HD', value: 0.5625} ]


--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);