1

Online Editor

[ Editor Interface ]

Kyd Tantano Masong

Last Update 2 years ago

</textarea>

<script>

tinymce.init({

selector: 'textarea',

plugins: 'save anchor autolink charmap codesample emoticons image link lists advlist media searchreplace table wordcount fullscreen code preview help quickbars insertdatetime',

codesample_languages: [

{ text: 'HTML/XML', value: 'markup' },

{ text: 'JavaScript', value: 'javascript' },

{ text: 'CSS', value: 'css' },

{ text: 'PHP', value: 'php' },

{ text: 'Python', value: 'python' },

],

toolbar: 'fullscreen print undo redo newdocument cut copy paste blocks fontfamily fontsize' + '| emoticons insertdatetime | bold italic underline forecolor backcolor' + '| link image editimage table| bullist numlist align lineheight' + '|indent outdent removeformat | code codesample wordcount preview help',

ui_mode: 'split',

max_height: 800,

max_width: 800,

min_height: 500,

min_width: 400,

autoresize_bottom_margin: 50,

fullscreen_native: true,

emoticons_database: 'emojiimages',

font_size_formats: '8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 48pt',

insertdatetime_element: true,

insertdatetime_formats: [ '%A | %d %B %Y - %H:%M:%S', '%H:%M:%S', '%Y-%m-%d', '%I:%M:%S %p', '%d %b %Y', '%a', '%A',],

visualblocks_default_state: false,

allow_conditional_comments: true,

allow_html_in_named_anchor: true,

allow_unsafe_link_target: true,

toolbar_mode: 'wrap',

save_onsavecallback: () => {

console.log('Saved');

save_enablewhendirty: false

quickbars_image_toolbar: false

editimage_toolbar: 'rotateleft rotateright | flipv fliph | editimage imageoptions'

}

});

</script>

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us