Advanced Editing of Wiki Pages
HTML restrictions
This is the list of all tags you can use when editing the HTML code directly:
<a>, <address>, <area>, <b>, <big>, <blockquote>, <br>, <caption>, <center>, <col>, <colgroup>, <dd>, <div>, <dl>, <dt>, <em>, <font>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <hr>, <i>, <img>, <label>, <li>, <map>, <ol>, <p>, <pre>, <small>, <span>, <strong>, <sub>, <sup>, <table>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>, <tt>, <u>, <ul>
In particular forms and all form elements cannot be used in wiki pages.
Advanced functionality for tables
In addition to the formattings that can be set via the WYSIWYG-editor, some table properties can only be changed directly in the HTML-code. This way it is possible to make tables sortable and to define the column width.
Styled tables
| Sample property | Value |
|---|---|
| Didactic value | 10 |
| Entertainment value | 0 |
By adding the class tricia-default-table to the table, the table becomes styled like the table above.
Sortable tables
| Sample property | Value |
|---|---|
| Didactic value | 10 |
| Entertainment value | 0 |
By adding the class tricia-data-table to the table, the table becomes sortable via a click on the header cells. As a consequence, the opening table-tag looks like this:
<table class="tricia-default-table tricia-data-table">
Furthermore the first row of the table has to be assigned the value Table Head for the 'Row in table part'-property via the 'Table row properties'-dialog. In addition to that, the types of the individual cells in the first row must be set to Header via the 'Table cell properties' dialog for the above changes to have effect.
Merged table cells
If your table merges cells using the “colspan” or “rowspan” attributes, the classes "tricia-custom-data-table tricia-default-table" both have to be assigned to the table:
| Row 1, Column 1 | Row 1, Column 2 | Row 1, Column 3 |
| Row 2 MERGED! | ||
| Row 3, Column 1 | Row 3, Column 2 | Row 3, Column 3 |
Embedding Search Tables in HTML Tables
If you embed a search result as a table inside an HTML table, the HTML table has to have the classes "tricia-custom-data-table tricia-default-table".
Column widths
To specify the width of columns the colgroup-tag has to be used within the table-tag like this:
<table border="0" class="tricia-default-table tricia-data-table" style="width: 270px; margin: 0;">
<colgroup span="1"><col span="1" width="200"></col><col span="1" width="70"></col></colgroup>
<thead> ...
Applied to the above example, the result looks like this:
| Sample property | Value |
|---|---|
| Didactic value | 10 |
| Entertainment value | 0 |
Embedding videos
Siehe Einfügen von Multimedia Inhalten.
Embedding flash contents (youtube and slideshare)
Flash contents can be embedded easily with the embed() keyword like this:
$[embed()$ here goes the html snippet from youtube or slideshare $embed]$
The result looks like this:
Currently only contents from youtube or slideshare are allowed and additional html surrounding the <object> tag is removed.