• Resolved Lab Lover

    (@peterscaffidi)


    Hi Josh,

    I love your image utility in UTM. I have what is probably a silly question. You provide a drop down list for assigning image classes.

    I need to create a new image class and would like for it to show up in the drop down list but I can’t figure out how to make that happen.

    Could you shed a little lite on this for me?

    Thank you very much!

    https://www.ads-software.com/extend/plugins/ultimate-tinymce/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Josh

    (@josh401)

    Hi Peter,

    There are no silly questions… only silly people ??

    Okay…

    Let’s make sure we are talking about the same thing first. Do you mean the “Advanced Image Button”? When you click on it, it pops up… and has an “appearance” tab… where it has a class dropdown?

    Thread Starter Lab Lover

    (@peterscaffidi)

    Yes, I should have been more precise. That is exactly what I am talking about.

    Plugin Author Josh

    (@josh401)

    No worries.

    Okay.. those are populated by the core WP files. I will need to do a little digging to see where the source comes from. Additionally, I’m not sure if it’s something we can modify and have it be safe from updates.

    I was hoping by modifying the tinymce styles (which I know how to do) it would auto-populate the other dropdown… but this isn’t the case.

    So, gimme a couple days.. and please post back here in 48 hours if I haven’t posted by then. I would like to fix this… but sometimes you gotta stay on me a little ??

    Talk to you very soon!

    Thread Starter Lab Lover

    (@peterscaffidi)

    Thanks Josh.

    I tried to add the class to a CSS style sheet in the hope they were picked up from there, no luck. However, maybe this clue will help. In my dropdown list, there are some image classes shown from other plugins…. so there apparently it is not restricted to classes from the WordPress core. At least that is how it looks to me, but what do I know?

    Plugin Author Josh

    (@josh401)

    Can you provide me the image class you are seeing in the dropdown? As well as possibly a link to the plugin you think might be adding the class?

    Thread Starter Lab Lover

    (@peterscaffidi)

    No sweat, the Plugin is called Content Mirror, here is the link.

    https://www.ads-software.com/extend/plugins/content-mirror/?compatibility%5Bversion%5D=3.4.2&compatibility%5Btopic_version%5D=1.1&compatibility%5Bcompatible%5D=1

    The class is named “content-mirror”. I have a screen capture of the classes, I will upload it to the duplicate topic on your support forum, I believe you allow attachments.

    Plugin Author Josh

    (@josh401)

    Thanks. Got it.

    Will post back soon.

    Thread Starter Lab Lover

    (@peterscaffidi)

    Just touching base to see if you have had a chance to look into this?

    Plugin Author Josh

    (@josh401)

    Hi Peter,

    Honestly, no. I haven’t yet. I’ve been putting the final touches on an awesome drag and drop functionality of my Pro plugin. I plan on having it done sometime this weekend.

    I’ll try to slide in your request if I get the chance. Otherwise, I’ll need a few more days.

    Obviously, this is possible. It’s just a matter of finding the code used to populate that dropdown box.

    Hang tight.. and message me again if you get too antsy ??

    Thread Starter Lab Lover

    (@peterscaffidi)

    Any progress on this item? Thanks!

    Plugin Author Josh

    (@josh401)

    Nope… but I do have some free time today ?? I’ll go check it out right now.

    Do me a favor and send me an email using my contact form here:
    https://joshlobe.com/contact-me/

    Tell me again what we are doing and include a link to this forum topic. I’m going now to download the other plugin and see what we are dealing with.

    Thanks.

    Plugin Author Josh

    (@josh401)

    Okay… I’ve found, I think, how we can add modifications.

    But, I haven’t written it out into a separate plugin… as that would take a little bit of time I don’t have.

    So, what we can do is modify the “content-mirror” plugin… and add some styles there. So, the plugin would still need to be active… but your new styles should show up in the dropdown.

    So, send me an email and we’ll go from there.

    I have don’t know why the UTMCE visible editor not appears?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Ultimate TinyMCE] UTMCE – Image Classes’ is closed to new replies.