Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • dillorscroft 198 posts 192 karma points
    Mar 18, 2009 @ 18:43
    dillorscroft
    0

    Tiny MCE Mods including changes to Insert Image

    Hi,

    I'd like to modify the fields available in the insertimage dialog when using the Tiny MCE 3 editor.

    At the moment the only real thing you can modify is the Alt Text. I'd like to modify Title as well as image caption and also produce the following output.

    Any decent places to start looking to allow the dialog box to produce the following

    Items in BOLD are defineable in the dialog box.


    <strong>Alt Text</strong>Image caption text




    Really struggling to see where I can edit this functionality......

    DC.

  • dillorscroft 198 posts 192 karma points
    Mar 18, 2009 @ 18:50
    dillorscroft
    0

    I gues umbraco_client\tinymce3\plugins\umbracoimg\js\image.js is a good place to start. :-)

  • dillorscroft 198 posts 192 karma points
    Mar 19, 2009 @ 00:15
    dillorscroft
    0

    I've managed to add the extra fields in the tag and I've worked out how I could insert the tag as I can just append it but I cant see how I can edit it again.

    If you open the image to edit it, it obviously selects only the tag and ignores the after it.

    Is it possible in jQuery to select the tag and also the following tag if it follows immediately afterwards?





Please Sign in or register to post replies

Write your reply to:

Draft