chore: add link, image, emoji and code tinymce plugins

This commit is contained in:
Rotimi Best
2023-12-06 18:05:00 +03:00
parent 15f6d57300
commit e6e7cfd13c
@@ -18,14 +18,18 @@
// editor configuration
let conf = {
plugins: 'lists',
plugins: 'lists, link, emoticons, code, media',
toolbar: [
{ name: 'history', items: ['undo', 'redo'] },
{ name: 'styles', items: ['styles'] },
{ name: 'formatting', items: ['bold', 'italic'] },
{ name: 'alignment', items: ['alignleft', 'aligncenter', 'alignright', 'alignjustify'] },
{ name: 'indentation', items: ['outdent', 'indent'] },
{ name: 'list', items: ['numlist', 'bullist'] }
{ name: 'list', items: ['numlist', 'bullist'] },
{ name: 'link', items: ['link'] },
{ name: 'insert', items: ['emoticons'] },
{ name: 'code', items: ['code'] },
{ name: 'media', items: ['media'] }
],
lists_indent_on_tab: false,
min_height: height,