We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8185
    • 5 Posts
    I am new to ModX and even newer to the forums, so please correct me as needed if I commit any faux pas.

    I have been working on creating an RTE plugin using InnovaStudio. It is a commercial product, but very good and not very pricey at all. My issue is that the toolbar for the RTE is table based and the td tag is pulling styling from other CSS sheets.

    What would be the best way to go about correcting this issue. I am not a huge fan of hacking the ModX core, or completely changing the styling for the RTE, although if those are my only options I guess I will have to.

    I am just looking for somebody who may be willing to help with this issue and perhaps has had to deal with this sort of thing for something else.

    Thanks.

    Duffy
    • Since InnovaStudio is the plugin, I would be inclined to adjust its stylesheet to be more specific in the td styling. I presume that the toolbar is in its own container, so you could probably get away with just adding or editing one line to add the specificity to the td style. Or perhaps you could even add a second style sheet along with the plugin with this and any other very specific style instructions you find that you need.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 8185
        • 5 Posts
        I will give it a try and post my results. I was more wondering what the best course of action is, specifically if somebody else had tried some avenues before. Thanks for your reply, I will keep you posted.

        Duffy
          • 8185
          • 5 Posts
          I banged my head against the wall for a long while with this one. No matter what I tried, CSS, controlling the appearance of the elements through Javascript, inline styling, it would not work.

          The problem is something in the ManagerManager plugin. It is changing how the td tags appear. When ManagerManager is off everything works.

          Is there something I can do to override the MM rules in my plugin?
          • All of the MM rules should be in one chunk (mm_demo_rules, or something like that). Try commenting out all of the rules to see if that fixes the issue, then uncomment the ones you want to use (like the one to show the thumbnail image for image type TVs).
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 8185
              • 5 Posts
              Thanks for your help, however, I was unable to get anywhere. sad
              I commented out everything in the chunk and the problem persists. How does MM change styling dynamically? Can the timing of its code be modified externally (from without the MM plugin)?
                • 8185
                • 5 Posts
                Sorry, but I am friendly bumping. smiley