Last dialog components for TinyMCE images plugin

git-svn-id: https://svn.libreccm.org/ccm/trunk@6145 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2019-07-03 13:14:06 +00:00
parent 3392086eca
commit 142dea11a3
1 changed files with 27 additions and 1 deletions

View File

@ -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: ""
}
]
},