Subject:WYSIWYG - Changes disappearing Author:Minollo I. Date:21 Jun 2006 03:11 PM
We can reproduce this problem, and we are investigating. The issue seems related to formatting of data contained in xsl:text instructions; if you remove xsl:text things work as expected.
Subject:WYSIWYG - Changes disappearing Author:Minollo I. Date:22 Jun 2006 05:36 PM
Just a follow up.
The problem is caused by the peculiar nature of xsl:text; when formatting text inside an xsl:text tag from the WYSIWYG environment, the proper formatting elements are created as *children* of xsl:text. As xsl:text doesn't output any sub-element (but only text nodes), those formatting instructions are lost when switching back and forth to/from text; but they wouldn't be properly rendered as XSLT result in the first place.
We have changed the behavior of WYSIWYG to force formatting applied to text inside xsl:text instructions to be global to the whole xsl:text container; that's the only way to allow formatting elements to be created as ancestors of the xsl:text element, preventing them from vanishing when the processor is run.
The change in behavior will be part of the next major Stylus Studio version.