added custom template editor with tinymce