Adding buttons and additional fonts to the WYSIWYG editor

Author
APGvNext Sam
vNext Dev
  • Total Posts : 13240
  • Joined: 2001/05/23 00:00:00
  • Status: offline
2009/02/03 20:33:37 (permalink) Customization
0

Adding buttons and additional fonts to the WYSIWYG editor

Beginning Version 3.8 (including APG vNext), we switched to a new WYSIWYG editor (tinyMCE) that has better cross browser compatibility.
 
To configure this editor, you need to locate the 5 xxxConfig.xml files in the ~/NewEditor/config folder. The configuration settings for this WYSIWYG editor are stored in these xml files.
 
BaseConfig.xml is the base config file that are inherited by all other config files. Settings in BaseConfig.xml can be overridden. Do not edit this file directly without a backup.

 
You will find the configuration options here:
http://tinymce.moxiecode..m/wiki.php/Configuration
 
Each option element (e.g. <option name="relative_urls">false</option>) in the xxxConfig.xml files corresponds to an option listed on the page above. We did not specify all options in the xml files, and you are free to add additional options to the file.
 
The section in the xml files you can modify safely is listed under
<!-- Advanced theme -->
 
In addition, you can also create buttons for PGDCodes. Go to the PGDCode section in the admincp and you'll see an icon by each of the codes that lets you add a button for it on the WYSIWYG.
 

 

JavaScript to Execute in the screenshot above:
ed.bringUpPrompt('Enter the Youtube share url:<br>http://youtu.be/xxxxxx', '[tube]{0}[/tube]')

post edited by APGvNext (Sam) - 2013/03/05 13:46:42

Attached Image(s)

#1

0 Replies Related Threads

    Jump to:
    © 2021 APG vNext Commercial Version 5.5