Extra CSS-stylenames MicroTiny in V2.0

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
(M)
Forum Members
Forum Members
Posts: 118
Joined: Tue Mar 18, 2008 11:43 pm

Extra CSS-stylenames MicroTiny in V2.0

Post by (M) »

Will there be an option to specify CSS-stylenames that are added to a dropdownbox in the editor?

Or is there an other way to do this within the custom MicroTiny for the new CMS 2.0
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Extra CSS-stylenames MicroTiny in V2.0

Post by calguy1000 »

You can extend the functionality of MicroTiny (you always have been able to) by copying the template (it's actually a javascript template) to module_custom/MicroTiny/templates and making modifications there.

As there is expanded ability to attach stylesheets to different MicroTiny instances, and the format menu in MicroTiny is now much more powerful than it was, and MicroTiny is intended to stay minimalist and simple... (And the styles flexibility is very powerful in TinyMCE 4.0) we didn't feel it that important to add a user interface for adding styles.

It is much simpler, more reliable and more flexible to simply copy the file, and edit it.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
JamesT
Forum Members
Forum Members
Posts: 175
Joined: Tue Sep 08, 2015 10:41 am

Re: Extra CSS-stylenames MicroTiny in V2.0

Post by JamesT »

Is it possible to create a menu item in MicroTiny which will enable me to highlight some text and change:

some text

into:

<span class="highlight">some text</span>

like the CMSMS 1.x editor used to do? If so, can someone please tell me which file to edit and what to put inside it?

Thanks.
Post Reply

Return to “CMSMS Core”