RE: [Contribution] HTML WYSIWYG Editor for Product Desc, MS1 2.2

MaxiDVD <[email protected]> 13 Sep 2003 15:16:53 -0000
Newsgroups gmane.comp.web.oscommerce.contributions
Message-ID <3227528ec4b740fd5edd47aa08c7dd2e@osCommerce-Forums>
This message was sent from: Contributions
http://forums.oscommerce.com/viewtopic.php?p=228890#228890
----------------------------------------------------------------

[code]end-users (pipe in scary music) have access to the admin panel and I can promise that they would go in and delete the includes directory that they never use to save disk space or something[/code]
I can guarentee thats what they'll lol..

Thats the only repercusion..

[quote]Yeah sure will, I may included them as on/off options in admin, just back to your original question. 

editor_basic.js or/and editor_advanced.js 


you can make custom buttons pretty easy just duplicated //Custom 3 create a new under it call it //Custom 4 or alter 1,2,3 then in the top of them files you need to uncomment these or create the new ones 

this part is the placement on the WYSIWYG toolbars 
// ['custom1', 'custom3', custom3','separator'], 

also this part 

// Add custom buttons here: 
"custom1": ['custom1', ' Purpose of button 1 ', 'editor_action(this.id)', 'ed_custom.gif'], 
"custom2": ['custom2', ' Purpose of button 2 ', 'editor_action(this.id)', 'ed_custom.gif'], 
"custom3": ['custom3', ' Custom info ', 'editor_action(this.id)', 'ed_custom.gif'], 
this part defines the name of the button the mouse-over name and the image to be used for the button 

Cheers Lee[/quote]