We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16879
    • 87 Posts
    Just trying to use tinyMCE as an end user might do (trying to decide whether one of my clients will be able to handle MODX or not!). Where does tinyMCE pull the classes for the drop down in the insert image dialogue from, because I’m not seeing any at the moment. I would really like them to pull them from a dedicated CSS file that deals just with image positioning and nothing else - where should this CSS file live please somebody...anybody?
      • 4018
      • 1,131 Posts
      Good question! I’ve been working on the newest version of the TinyMCE plugin so...this a good feature to look into. Lemme lookup an answer for you and get back to you. Should be very similar to how the Styles dropdown is populated though. smiley

      Jeff
        Jeff Whitfield

        "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
        • 16879
        • 87 Posts
        I’ve literally just this minute found the section in the manager that sort of deals with this. Under tools>configuration>TinyMCE settings there’s an input box for defining selectors against a display name. This will serve for the present, but it would be good to be able to link to a discreet CSS file at some point in the future.
          • 4018
          • 1,131 Posts
          There’s also a advimage_styles option that will also add image specific classes to the styles dropdown list in an Insert Image dialog box. I’ll add this option in as part of the plugin config for the next upcoming version. smiley
            Jeff Whitfield

            "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."