Skip to content

Commit

Permalink
Add quickbars and image plugins to comments-callback example
Browse files Browse the repository at this point in the history
  • Loading branch information
kemister85 committed Nov 7, 2024
1 parent ec6068a commit 6bed18d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/ROOT/examples/live-demos/comments-callback/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,19 +204,22 @@ const tinycomments_fetch = (conversationUids, done, fail) => {
tinymce.init({
selector: 'textarea#comments-callback',
height: 800,
plugins: 'code tinycomments help lists',
plugins: 'code tinycomments help lists quickbars link image',
toolbar:
'addcomment showcomments | undo redo | blocks | ' +
'bold italic backcolor | alignleft aligncenter ' +
'alignright alignjustify | bullist numlist outdent indent | ' +
'removeformat | help',
menubar: 'file edit view insert format tc',
sidebar_show: 'showcomments',
menu: {
tc: {
title: 'Comments',
items: 'addcomment showcomments deleteallconversations',
},
},
quickbars_selection_toolbar: 'alignleft aligncenter alignright | addcomment showcomments',
quickbars_image_toolbar: 'alignleft aligncenter alignright | rotateleft rotateright | imageoptions',
tinycomments_create,
tinycomments_reply,
tinycomments_edit_comment,
Expand All @@ -225,5 +228,4 @@ tinymce.init({
tinycomments_delete_comment,
tinycomments_lookup,
tinycomments_fetch,
sidebar_show: 'showcomments',
});

0 comments on commit 6bed18d

Please sign in to comment.