AM2 & CMS text editors
4 posts by 2 authors in: Forums > CMS Builder
Last Post: December 14, 2007 (RSS)
By steve_e - December 14, 2007
Can you tell me if both programs use the same wysiwyg text editors? The reason I'm asking is that in cmsbuilder you can select and style text through the dropdown box at the top left of the text editor (selecting <heading1> etc., but unless I've done something silly you don't have that option in AM2, just a font selector?
I like the CMS style selector very much! Is there a way of getting it to show you a full range of styles from your own external stylesheet?
Regards, Steve.
Re: [steve_e] AM2 & CMS text editors
By Dave - December 14, 2007
In Article Manager 2 you can adjust the wysiwyg in this file:
[webroot]/javascript/loadWysiwyg.js
If you search for "buttons" you'll find some code that lists all the available buttons. There's a few there that may do what you want (such as the "StyleAndFormatting").
In CMS Builder the WYSIWYG code is in this file (just search for "buttons" and you'll find it):
[program dir]/lib/menus/default/edit_functions.php
And to answer the second question, I believe both editors have ways of listing styles from external stylesheets and letting the user pick from those. I'll post more details on doing that in CMS Builder that in a moment.
interactivetools.com
Re: [steve_e] AM2 & CMS text editors
By Dave - December 14, 2007 - edited: December 14, 2007
I wrote up a tutorial for this:
http://www.interactivetools.com/iforum/Products/CMS_Builder/P58380
Feel free to post any questions on that thread.
interactivetools.com
Re: [Dave] AM2 & CMS text editors
By steve_e - December 14, 2007
I'm currently using a combination of both in a new site I'm putting together, so it took me a while to realise why I could do some things in one and not in another... [:P]