Click or drag to resize

SystemOptionsServicesGetPossibleTinyMceData Method


Retrieves the collection of TinyMce configuration value candicates in a specific aspect

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<TinyMceButton[]> GetPossibleTinyMceData(
	TinyMcePossibleDataGetParam data
)

Parameters

data
Type: TinyMcePossibleDataGetParam

Object containing the name of the property to get candidates for

Examples
Sample JSON input
JavaScript
{
    "data": {
        "propertyName": "PossibleButtons"
    }
}
Remarks
The choices for propertyName are: PossibleButtons, PossiblePlugins, PossibleBlockFormats, PossibleFonts, PossibleFonts, RequiredPlugins

Return Value

Type: XHRServiceResponseGenericTinyMceButton

Array of TinyMce property value candidates

Examples
Sample JSON return
JavaScript
//Result of possible block formats for TinyMce editor

{
    "code": 0,
    "error": null,
    "message": [{
        "name": "address",
        "id": "address",
        "type": "BlockFormat",
        "value": "address"
    }, {
        "name": "h1",
        "id": "h1",
        "type": "BlockFormat",
        "value": "h1"
    }, {
        "name": "h2",
        "id": "h2",
        "type": "BlockFormat",
        "value": "h2"
    }, {
        "name": "h3",
        "id": "h3",
        "type": "BlockFormat",
        "value": "h3"
    }, {
        "name": "h4",
        "id": "h4",
        "type": "BlockFormat",
        "value": "h4"
    }, {
        "name": "h5",
        "id": "h5",
        "type": "BlockFormat",
        "value": "h5"
    }, {
        "name": "h6",
        "id": "h6",
        "type": "BlockFormat",
        "value": "h6"
    }, {
        "name": "p",
        "id": "p",
        "type": "BlockFormat",
        "value": "p"
    }, {
        "name": "pre",
        "id": "pre",
        "type": "BlockFormat",
        "value": "pre"
    }]
}
See Also