Parameter Placeholders

When constructing the editor you may use placeholders with some properties and methods.

Placeholders are a string that represent an editor property whose value you cannot be certain of, wysiwygPro will replace the placeholder with the final correct value before displaying the editor.

Placeholder

Description 

Where can it be used?

##EDITOR_URL## 

The URL of the wysiwygPro folder. This value is taken from the WPRO_EDITOR_URL config file define or editorURL property if set, otherwise it is autodetected when possible. 

Should work with all URL parameters and properties. And all defines in config.inc.php

##name## 

The internal id name of the editor 


##_originalName## 

The name of the editor. 

Useful when registering a new button and you want to set the button function.

##originalName## 

Same as above

Useful when registering a new button and you want to set the button function.

##value## 

The initial value of the editor 

 

##address## 

same as EDITOR_URL 

This is DEPRECIATED 

##editorURL## 

same as EDITOR_URL 

Should work with all URL parameters and properties.

##charset## 

htmlCharset value 

 

##themeURL## 

The URL of the wysiwygpro folder within the current editor theme folder.

Useful registering adding custom buttons. 

##buttonURL## The URL of the folder within the current theme folder that contains the button images.

Useful when creating new buttons. (assuming the image for your button is stored here) 

##wpsid## 

WysiwygPro session query string 

 

##phpsid## 

PHP SID query string if required. 

 

##save## 

The current language value for 'Save'

Useful when setting the saveButtonLabel property 

##send## 

The current language value for 'Send'

Useful when setting the saveButtonLabel property

##post## 

The current language value for 'Post'

Useful when setting the saveButtonLabel property

  


This online documentation specifically covers version 3.0 and above, developers using earlier versions should refer to their PDF or MS-Word manual that was included in the product download.

WysiwygPro.com