Last dialog components for TinyMCE images plugin
git-svn-id: https://svn.libreccm.org/ccm/trunk@6145 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
3392086eca
commit
142dea11a3
|
|
@ -1,4 +1,4 @@
|
||||||
const ImageDialog = function (editor) {
|
const ImageDialog = function (editor) {
|
||||||
|
|
||||||
function getImageData(editor) {
|
function getImageData(editor) {
|
||||||
|
|
||||||
|
|
@ -104,6 +104,32 @@ const ImageDialog = function (editor) {
|
||||||
{ text: "Zoom", value: "imageZoom" },
|
{ text: "Zoom", value: "imageZoom" },
|
||||||
{ text: "Gallery", value: "imageGallery" }
|
{ 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: ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue