
MikeB
Staff

Feb 1, 2010, 11:41 PM
Post #4 of 10
(9208 views)
Shortcut
|
|
Re: [doitnow] wysiwyg - drop down for fonts
[In reply to]
|
Can't Post
|
|
Hi there, From what you've mentioned it sounds like the issue is related to the buttons that are set up to display in the WYSIWYG editor. The file you're looking at lists all of the available fonts, though there's a separate JavaScript file that lists which buttons to actually display on your WYSIWYG toolbar as the editor is loaded. You'll want to log onto your server and navigate to /artman2/javascript/ and open up "loadWysiwyg.js". In this file you're looking for this line of code: wysiwyg.features=[ // buttons to display It's quite likely you'll have a value in the section after this line that says "StyleAndFormatting" or "Styles". Just find this (or both) and replace it with "FontName". You may also want to add other basic style features if they were removed such as "FontSize", "Bold", "Italic", or "Underline". Just add these after "FontName" separated by commas. Once you save loadWysiwyg.js back to your server you should no longer see the styles and should see just regular font names in the dropdown. You'll want to note that I haven't tested the specific WYSIWYG with tweaks and patches that you're using but a change like this shouldn't cause any issues for you and just be sure to back up loadWysiwyg.js before you get started. Let me know how this works out for you! Cheers, Mike Briggs - Product Specialist support@interactivetools.com [hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url] Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]
|