Page 1 of 1
Extra CSS-stylenames MicroTiny in V2.0
Posted: Thu Sep 10, 2015 2:10 pm
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
Re: Extra CSS-stylenames MicroTiny in V2.0
Posted: Thu Sep 10, 2015 3:04 pm
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.
Re: Extra CSS-stylenames MicroTiny in V2.0
Posted: Mon Oct 12, 2015 6:25 pm
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.