"wiki"
Configures how the wiki and wysiwyg editor behaves in the system.
Example
"wiki": {
"defaultMode": "wysiwyg",
"editWikiFieldsInOverlay": false,
"generalIframeSupport": false,
"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;"
}
]
},
"interwiki": {
"mycustomstereotype": {
"body": {
"text": "summary, status, namedPriority"
},
"link": {
"text": "${summary}"
},
"popup": {
"text": "Interwiki link: ${interwikiLink}"
}
}
}
},
Properties
Property Name
Description
Default Value
"editWikiFieldsInOverlay"
If editing the wiki fields in a wysiwyg editor in an overlay is allowed
false
"generalIframeSupport"
If iframes are kept in HTML cleanup of the wiki editor.
false
Additional Information
"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"
},
* 
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.
Related Links
Wiki
Was this helpful?