An image mapping plugins for TinyMCE 4
This is based on https://github.com/maschek/imgmap
`plugins : "... imgmap ..."`
`toolbar : "... | imgmap"`
`extended_valid_elements : "img[usemap|class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],map[id|name],area[shape|alt|coords|href|target]",`
It is possible the define some parameters fpr the plugin in the tinymce.init()
section`
imgmap_settings : {
status : false,
code : false,
dialogBaseUrl : g_sURL,
dialogHeight : 550,
pictureHeight : 350
},
status
:false
disable status area in dialog, defaut istrue
code
:false
disable code html button and html area in dialog, default istrue
dialogBaseUrl:
custom dialog I needed, ignore it for your usagedialogHeight:
The height for the dialog whn it opens. Here you can adjust it. Default is610
pictureHeight:
The height of the picture area. When you adjust the other parameters you might adjust this value as well to fit you needs. Default is300