cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Answered

Bold text in table cells

Problem

When I put a word in bold face, the cell is automatically converted to a different color. Which code can I use to stop this in a specific table, without deactivating it entirely?

Problem situation

When writing this:
| fdhg | dfhg | *dfgh* |
| *fdhg* | dfhg | dfgh |
| *hjngfd* | dfghj | edr |

You get this:
fdhg dfhg dfgh
fdhg dfhg dfgh
hjngfd dfghj edr

This is the result I would like to get:

(To display it here, I have written a big chunk of HTML, which is of course not a solution for the problem.)

dfghgfd vfgda
qwtrew vgjkhf
wertrew ertztre
dfghgfdhfg hgfdsfgh

-- LieVen - 06 Jul 2015

Answer

Unfortunately this is a design limitation of the Table rendering code, in that bold is displayed by generating table head entries <th>

I got it to work by using HTML to do the bold text:

asdf sdfg eryt
fdhg dfhg dfgh

Not sure if it will it will not survive wysiwyg though, so the table still needs to be in a sticky block

-- GeorgeClark - 07 Jul 2015

Thanks

Thanks for your answer. I also tried and found this solution, which was not so satisfying, but better than nothing at all. At least it works. By the way, I have deactivated wysiwyg on my wiki since I have it set up, because it did break up many other things when switching between editor modes. Maybe this is solved in the new version?

PS: Where did the "copy your name to sign" field go??

-- LieVen - 08 Jul 2015

There is a +v drop-down box toward the right of the button bar. More objects to insert. Signature is included.

-- Main.GeorgeClark - 09 Jul 2015 - 00:50

QuestionForm edit

Subject Using an extension
Extension TablePlugin
Version Foswiki 1.1.9
Status Answered
Related Topics
Topic revision: r6 - 09 Sep 2015, MichaelDaum - This page was cached on 04 May 2018 - 18:41.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License