diff --git a/ccm-cms-tinymce/plugins/ccm-cms-images/plugin.js b/ccm-cms-tinymce/plugins/ccm-cms-images/plugin.js index d38fc6438..045aa8c58 100644 --- a/ccm-cms-tinymce/plugins/ccm-cms-images/plugin.js +++ b/ccm-cms-tinymce/plugins/ccm-cms-images/plugin.js @@ -1,4 +1,4 @@ -const ImageDialog = function (editor) { + const ImageDialog = function (editor) { function getImageData(editor) { @@ -104,6 +104,32 @@ const ImageDialog = function (editor) { { text: "Zoom", value: "imageZoom" }, { text: "Gallery", value: "imageGallery" } ] + }, + { + type: "checkbox", + name: "caption", + label: "Caption" + }, + { + type: "grid", + columns: 2, + label: "Dimension", + items: [ + { + type: "input", + name: "width", + label: "Width" + }, + { + type: "input", + name: "height", + label: "Height" + } + ] + }, + { + type: "htmlpanel", + html: "" } ] },