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?

/shout/web/v5.7.25.R20130905/wysiwygPro/3.3.2.R20130204/code/

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

 

/shout/web/v5.7.25.R20130905/wysiwygPro/3.3.2.R20130204/code/

same as EDITOR_URL

This is DEPRECATED

/shout/web/v5.7.25.R20130905/wysiwygPro/3.3.2.R20130204/code/

same as EDITOR_URL

Should work with all URL parameters and properties.

UTF-8

htmlCharset value

 

/shout/web/v5.7.25.R20130905/wysiwygPro/3.3.2.R20130204/code/themes/blue/wysiwygpro/

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

Useful registering adding custom buttons.

/shout/web/v5.7.25.R20130905/wysiwygPro/3.3.2.R20130204/code/themes/blue/wysiwygpro/buttons/ 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) 

wprosid=c4fa24c159b307584d39828455d4f5ab

WysiwygPro session query string.

 


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