We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36926
    • 701 Posts
    How do i add CSS selectors to tinyMCE in Revolution 2.0.4?

    I’ve edited the CSS selectors for editor field under system settings but this doesn’t see to populate the style drop down list in the wysiwyg.

    Thanks

    Ben


      • 36926
      • 701 Posts
      Am I doing this incorrectly or is this a known bug? I’ve check all my installs of revo and this same issues is there?
        • 3698
        • 57 Posts
        Did you add your CSS-Selectors in the tinyMCE specific section of the system settings? You can choose this in the drop down that starts with "core". I did so and it worked.
        -Andrea
          • 36926
          • 701 Posts
          Quote from: Boa at Nov 07, 2010, 11:19 AM

          Did you add your CSS-Selectors in the tinyMCE specific section of the system settings? You can choose this in the drop down that starts with "core". I did so and it worked.
          -Andrea

          Hi Andrea, yeah thats how i’ve been trying but no luck embarrassed
            • 3698
            • 57 Posts
            I use a syntax like this:
            Bild rechts=right, Bild links=left

            Additionally I’ve set the path to the style sheet in the Rich-Text-Editor settings of the core.

            -Andrea

              • 36926
              • 701 Posts
              Quote from: Boa at Nov 09, 2010, 12:11 AM

              I use a syntax like this:
              Bild rechts=right, Bild links=left

              Additionally I’ve set the path to the style sheet in the Rich-Text-Editor settings of the core.

              -Andrea



              Yeah I’d got this working before by setting the style sheet in the settings. But i don’t think this is how it should work. As this is pulling in all the styles and also it’s styling how the wysiwyg region which is what I believe that field is meant to to. EVO you had both fields but they weren’t reliant on each other.

              I’ve managed to get round this by creating a styles sheet that just lists the CSS i want but doesn’t actually effect any styles.

              Ben