"wiki" section
Configures how the wiki and wysiwyg editor behaves in the system.
A typical example
{
"defaultMode": "wysiwyg",
"jsCompressingMode": "none",
"styles": {
"style": [
{
"name": "commentbox",
"text": "float: right; width: 20%; border: 2px solid #E5E5E5; background: #F5F5F5; font-size: 7pt; padding: 4px; margin-left: 4px;"
},
{
"name": "blue",
"text": "color: blue;"
},
{
"name": "cyan",
"text": "color: cyan;"
},
{
"name": "gray",
"text": "color: gray;"
},
{
"name": "green",
"text": "color: green;"
},
{
"name": "magenta",
"text": "color: magenta;"
},
{
"name": "orange",
"text": "color: orange;"
},
{
"name": "pink",
"text": "color: pink;"
},
{
"name": "red",
"text": "color: red;"
},
{
"name": "yellow",
"text": "color: yellow;"
}
]
}
}
Attributes
Attributes
Description
editWikiFieldsInOverlay : true
If editing the wiki fields in a wysiwyg editor in an overlay is allowed
generalIframeSupport : false
If iframes are kept in HTML cleanup of the wiki editor.
"cssStylesToPreserve" Property
To avoid dropping of styling from imported data during ReqIF import, add the "cssStylesToPreserve" property to the "wiki" node in the Application Configuration:
"wiki": {
"cssStylesToPreserve" : "font-family,font-variant"
}
* 
Caution:
This property is merely a suggestion to the system. If the styles can be converted to wiki like font-weight:bold to wiki's "__", then those are dropped to limit the regression impact of this configuration. The same applies to font-style Italic.
The styles are also dropped if "inherit" is set as the value.
There could be undesired consequences with wiki/html text as this property bypasses the cleanup added to avoid adverse effects of preserving such styling.
Was this helpful?