<![CDATA[ Adding second Insert/edit image button with custom output/formatting - MODX Community Forums]]> https://forums.modx.com/thread/?thread=99183 <![CDATA[Adding second Insert/edit image button with custom output/formatting]]> https://forums.modx.com/thread/99183/adding-second-insert-edit-image-button-with-custom-output-formatting#dis-post-536364
Normally, I try not to post help topics without trying something first, but I frankly can't figure out where to start. I've found how to add a custom button to TinyMCE editor (http://community.tinymce.com/tryit/3_x/custom_toolbar_button.php), but that's about it.

I also found some code related to the Insert/edit image button under assets/components/tinymce/jscripts/tiny_mce/plugins/advimage, but nothing that seems to change the HTML output. My hope was to just copy/paste all the files under a new name and change the output, then add the button with the new name under System Settings. A method that would probably break upon updating TinyMCE, but it would get me by.

I appreciate any help or direction!

FireBot Dec 29, 2015, 05:11 AM https://forums.modx.com/thread/99183/adding-second-insert-edit-image-button-with-custom-output-formatting#dis-post-536364
<![CDATA[Re: Adding second Insert/edit image button with custom output/formatting]]> https://forums.modx.com/thread/99183/adding-second-insert-edit-image-button-with-custom-output-formatting#dis-post-536477 RE: FireBot, I like fine scenarios, and yours is a fine one indeed, and I am still trying to understand you. The long answer is yes, what you want to achieve is very easy and possible.

First of all, please change your time zone, it is 2018, not 1878. Here is a bonus time machine ticket for you, use it for free, it will solve 3/4 of your current problem: install http://modx.com/extras/package/tinymcewrapper and then you will get my full attention here and that of others more responsibe than I.

Happy New Year]]>
donshakespeare Jan 02, 2016, 09:23 AM https://forums.modx.com/thread/99183/adding-second-insert-edit-image-button-with-custom-output-formatting#dis-post-536477