Hello everybody,
i would like to change the default context menu for images (removing the "Image properties"-Item). Is there any way to do this without hacking the FCK Editor source code? Another possibility would be to simply deactivate the image context menu, but only this one, the others should remain active.
Thanks in advance for the answers.
Edit: I found out that the html attribute "_fckfakelement" (set to anything that evals to true) can do exactly what i am searching for but i guess this is not a standard solution and is subject to change i any future version of the FCK Editor. Do this attribute cause any side effect that could force the editor to behave wrong when dealing with images?
i would like to change the default context menu for images (removing the "Image properties"-Item). Is there any way to do this without hacking the FCK Editor source code? Another possibility would be to simply deactivate the image context menu, but only this one, the others should remain active.
Thanks in advance for the answers.
Edit: I found out that the html attribute "_fckfakelement" (set to anything that evals to true) can do exactly what i am searching for but i guess this is not a standard solution and is subject to change i any future version of the FCK Editor. Do this attribute cause any side effect that could force the editor to behave wrong when dealing with images?
Re: Change default context menus
Re: Change default context menus
Maybe there is a way to overwrite the fck_contextmenu.js file where all menus are defined. I tried this but it seems that this file is dynamically loaded into the popup and can not be overwritten in the way i tried to do it. Do you have a hint for me how the function FCK_ContextMenu_GetListener can be manipulated? Thanks in advance!