EmanueleCupido - 29 Aug 2007:
On the subject of tml->HTML translation being lossy:
Having the following tml code
%I% Look at this!
and applying tml->HTML translation to it, we get the following HTML code:
<img src="/wiki412/pub/TWiki/TWikiDocGraphics/tip.gif" alt="IDEA!" title="IDEA!" width="16" height="16" border="0" /> Look at this!
The TWiki variable originally contained in the tml is not recoverable from the HTML, hence the original tml is lost.
How about tagging the HTML in such a way it carries info about TWiki variables? For instance, the HTML after translation could look something like:
<img src="/wiki412/pub/TWiki/TWikiDocGraphics/tip.gif" alt="IDEA!" title="IDEA!" width="16" height="16" border="0" /><!--twiki_origin=%^I%^--> Look at this!
In this case the original tml should be recoverable.
But I am sure there are 100s of other reasons why this approach cannot work (in addition to the effort for implementing it)
(By the way, I've first tried with a tag like
<!--twiki_origin=%I%-->
but TWiki would still expand the
%I%
. Hence the use of
%^. I guess no attention is paid to
<!-- -->
. Or perhaps it's an intentional behavior?)
CedricWeber - 03 Sep 2007:
Thanks for that Update on the WYSIWYG Developments! This feature is the one most requested by corporate-customers.
And - its good to have a Blog now!