Consider the following code, set up for
GluePlugin:
| *Company ID* | *Supplier Type* | *Partner Rank* | *Service Focus* | *Supplier Markets* | *Market Focus* |
%~~ SEARCH{
~~~ search="META:FORM.*?ApplicationForm"
~~~ topic="XYZ*" nosearch="on" nototal="on" regex="on" noheader="on"
~~~ excludetopic="%TOPIC%"
~~~ format="|
~~~ [[$topic][$formfield(CompanyID)]] |
~~~ $formfield(SupplierType) |
~~~ $formfield(PartnerRank) |
~~~ $formfield(Service Focus) |
~~~ $formfield(SupplierMarkets) |
~~~ $formfield(MarketFocus) |
~~~ " }%
If this code is in a page that is edited with WYSIWYG, whether or not the code in this section is modified, when the page is saved the result is
| *Company ID* | *Supplier Type* | *Partner Rank* | *Service Focus* | *Supplier Markets* | *Market Focus* |
%~~ SEARCH{ ~~~ search="META:FORM.*?ApplicationForm" ~~~ topic="XYZ*" nosearch="on" nototal="on" regex="on" noheader="on" ~~~ excludetopic="%TOPIC%" ~~~ format="| ~~~ [[$topic][$formfield(CompanyID)]] | ~~~ $formfield(SupplierType) | ~~~ $formfield(PartnerRank) | ~~~ $formfield(Service Focus) | ~~~ $formfield(SupplierMarkets) | ~~~ $formfield(MarketFocus) | ~~~ " }%
This breaks the code. (Glue Plugin cannot use it.)
(it also violates the Principle of Least Surprise. WYSIWYG should not reformat the content of the page unless the USER reformts the content.
--
TWiki:Main/VickiBrown
- 2012-03-03
Agreed, the WYSIWYG editor munges text too much. Someone needs to give the integration some TLC and make this editor more robust.
In the mean time you can enclose problematic text in
<sticky>...</sticky>
tags.
--
TWiki:Main/PeterThoeny
- 2012-03-03