0
Welcome Guest! Login
0 items Join Now

Use TinyMCE to Edit Typography!!!!!

    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9918
    • Thanks: 92
    • Web Kahuna

    Use TinyMCE to Edit Typography!!!!!

    Posted 10 years 7 months ago
    • NOTE: Ok, I feel like a real idiot for not finding this out sooner, but that's partly because I never use a WYSIWYG and therefore have not really played with it much.

      We traditionally tell people to turn OFF their WYSIWYG editor when editing custom scripts, or typography or whatever because these editors strip out extra css classes, javascript etc. Well, I just discovered that with TinyMCE at least you can disable this 'feature'. Just go to Mambots -> Site Mambots in your joomla administrator, then click on the "TinyMCE WYSIWYG Editor" link. In the properties, set the "Code Cleanup" radio button to "Off".

      Voila, you can now just switch to the HTML mode in the editor, add any classes you need, and they wont be stripped out like they usually are.

      Joomla 1.5:

      Go to Extensions > Plugin Manager and select TinyMCE2.0

      On the right for the "Code Clean-up on Save" select "Never"

      See image below
    • Last Edit: 10 years 3 months ago by Mike VanKirk.
    • Bob Ateah's Avatar
    • Bob Ateah
    • Elite Rocketeer
    • Posts: 4518
    • Thanks: 0

    Re: Use TinyMCE to Edit Typography!!!!!

    Posted 10 years 7 months ago
    • I've been doing that for some time now... guess I should have mentioned that. :-[

      Great job Andy!
    • The member formerly known as Roland Deschain
      After your question is solved, please Edit your original post and choose the Solved message icon, thank you!
  • Re: Use TinyMCE to Edit Typography!!!!!

    Posted 10 years 7 months ago
    • Thanks for the tip. Very handy!
  • Re: Use TinyMCE to Edit Typography!!!!!

    Posted 10 years 7 months ago
    • ;D That is why I joined the Club...it's the little things that count.
    • "You can learn a lot from a dummy. So, pay attention to yourself." Quote by me.
    • azajet's Avatar
    • azajet
    • Sr. Rocketeer
    • Posts: 105
    • Thanks: 0

    Re: Use TinyMCE to Edit Typography!!!!!

    Posted 10 years 7 months ago
    • Thanks for the tip
    • Peadar's Avatar
    • Peadar
    • Hero Rocketeer
    • Posts: 261
    • Thanks: 0

    Re: Use TinyMCE to Edit Typography!!!!!

    Posted 10 years 7 months ago
    • Thanks Andy

      I use mostly use JCE as Tiny MCE gave me too much hassle.
      Following your tip I checked the config options for JCE and found a switch for html code cleanup in there as well.
      Default must be off as I never touched it and it's set to off, see attached.

      Cheers
  • Re: Use TinyMCE to Edit Typography!!!!!

    Posted 10 years 7 months ago
    • Cheers for that :)
    • James Spencer / Developer & Support / Hull, UK
    • patrick's Avatar
    • patrick
    • Rocketeer
    • Posts: 66
    • Thanks: 0

    Re: Use TinyMCE to Edit Typography!!!!!

    Posted 10 years 7 months ago
    • Tell me, will you still recommend RokTextile to edit Typography & Create new Content?
  • Re: Use TinyMCE to Edit Typography!!!!!

    Posted 10 years 7 months ago
    • Andy Miller wrote:
      NOTE: Ok, I feel like a real idiot for not finding this out sooner, but that's partly because I never use a WYSIWYG and therefore have not really played with it much.

      We traditionally tell people to turn OFF their WYSIWYG editor when editing custom scripts, or typography or whatever because these editors strip out extra css classes, javascript etc. Well, I just discovered that with TinyMCE at least you can disable this 'feature'. Just go to Mambots -> Site Mambots in your joomla administrator, then click on the "TinyMCE WYSIWYG Editor" link. In the properties, set the "Code Cleanup" radio button to "Off".
      How to do this in Joomla 1.5 ??

      Thanks.
    • Max Miecchi's Avatar
    • Max Miecchi
    • Elite Rocketeer
    • Posts: 905
    • Thanks: 0
    • MediaWorks

    Re: Use TinyMCE to Edit Typography!!!!!

    Posted 10 years 7 months ago
    • Andy Miller wrote:
      Well, I just discovered that with TinyMCE at least you can disable this 'feature'. Just go to Mambots -> Site Mambots in your joomla administrator, then click on the "TinyMCE WYSIWYG Editor" link. In the properties, set the "Code Cleanup" radio button to "Off".

      Previous versions of TinyMCE (like the one coming in bundle with the italian standard Joomla! 1.0 installation) don't show this option. That's probably why you didn't notice it before.
    • MediaWorks Worldwide
      MediaWorks Italia
      Communication, Crossmedia, Advertising, IT. Visual, Graphic and Web Design.

Time to create page: 0.240 seconds