We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29676
    • 45 Posts
    How do I add styles to the styles drop down menu in TinyMCE?

    It was easy in Evolution!

    I tried adding the names as a comma - separated list, but they don’t show up

    panel1,panel2 etc

    In Evolution it was panel1=panel1;panel1=panel2 etc
      • 27347
      • 65 Posts
      Hi there,
      This was a bit confusing to me too. Go to System -> System Settings. On the system settings page look next to the ’Filter by area...’ dropdown. Change ’core’ to ’tinymce’ and you should be able to see some tinymce settings, amongst them the css selectors.

      Once you know that settings are (or can be) divided in namespaces you know where to look next time smiley
        • 29676
        • 45 Posts
        Great, thanks .. I was looking at the wrong place and it was there all the time!!

        I don’t suppose you’ve had an error like this when trying to add a simple link to somewhere? I get this when clicking the ’insert link’ tool. Used it before in Evolution!

        The error is Internal Server error. http://www.evoluteonline.co.uk/manager/?a=30&id=1 86.173.11.224 /assets/components/tinymce/jscripts/tiny_mce/plugins/modxlink/link.php www.evoluteonline.co.uk Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 500

        Thanks - if not, let me know please and I’ll re-post

        Steve
          • 14524
          • 8 Posts
          This post is for all of those people who are having the same confusion/problem that I was having.

          I had posted earlier in another part of the forum that I was having an issue where I put in this string:
          Title=title;Sub Title=subtitle;Article Title=articleTitle;Article Sub Title=articleSubtitle;
          

          into the edit_css_selectors and put the path to my stylesheet in the editor_css_path fields, and the result was that I had every style spec’d out in the stylesheet listed in the styles menu of TinyMCE.

          It wasn’t until after reading this topic that I saw that there are two areas that you can enter css selectors. Make sure, to avoid the same confusion that I had, that you filter your settings away from the core settings and to the TinyMCE settings and you enter your css tags in the tiny.css_selectors field and not editor_css_selectors
            • 27347
            • 65 Posts
            Quote from: thecubelab at Aug 10, 2010, 07:57 AM

            Great, thanks .. I was looking at the wrong place and it was there all the time!!

            I don’t suppose you’ve had an error like this when trying to add a simple link to somewhere? I get this when clicking the ’insert link’ tool. Used it before in Evolution!

            The error is Internal Server error. http://www.evoluteonline.co.uk/manager/?a=30&id=1 86.173.11.224 /assets/components/tinymce/jscripts/tiny_mce/plugins/modxlink/link.php www.evoluteonline.co.uk Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 500

            Thanks - if not, let me know please and I’ll re-post

            Steve

            nope, not familiar with that error.