Skip to content

Commit 6bed18d

Browse files
committed
Add quickbars and image plugins to comments-callback example
1 parent ec6068a commit 6bed18d

File tree

1 file changed

+4
-2
lines changed
  • modules/ROOT/examples/live-demos/comments-callback

1 file changed

+4
-2
lines changed

modules/ROOT/examples/live-demos/comments-callback/example.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,19 +204,22 @@ const tinycomments_fetch = (conversationUids, done, fail) => {
204204
tinymce.init({
205205
selector: 'textarea#comments-callback',
206206
height: 800,
207-
plugins: 'code tinycomments help lists',
207+
plugins: 'code tinycomments help lists quickbars link image',
208208
toolbar:
209209
'addcomment showcomments | undo redo | blocks | ' +
210210
'bold italic backcolor | alignleft aligncenter ' +
211211
'alignright alignjustify | bullist numlist outdent indent | ' +
212212
'removeformat | help',
213213
menubar: 'file edit view insert format tc',
214+
sidebar_show: 'showcomments',
214215
menu: {
215216
tc: {
216217
title: 'Comments',
217218
items: 'addcomment showcomments deleteallconversations',
218219
},
219220
},
221+
quickbars_selection_toolbar: 'alignleft aligncenter alignright | addcomment showcomments',
222+
quickbars_image_toolbar: 'alignleft aligncenter alignright | rotateleft rotateright | imageoptions',
220223
tinycomments_create,
221224
tinycomments_reply,
222225
tinycomments_edit_comment,
@@ -225,5 +228,4 @@ tinymce.init({
225228
tinycomments_delete_comment,
226229
tinycomments_lookup,
227230
tinycomments_fetch,
228-
sidebar_show: 'showcomments',
229231
});

0 commit comments

Comments
 (0)