0 Replies Latest reply on Sep 11, 2009 2:23 PM by GordonSmith

    [svn:fx-trunk] 10168: The 'content' property for rich text in Spark components is now get/ set rather than set-only, so that it plays well with states.

    GordonSmith Level 4

      Revision: 10168

      Author:   gosmith@adobe.com

      Date:     2009-09-11 14:23:32 -0700 (Fri, 11 Sep 2009)

       

      Log Message:

      ***********

      The 'content' property for rich text in Spark components is now get/set rather than set-only, so that it plays well with states. The getter will always return a TextFlow because this is the canonical representation of rich text content in TLF, and if you have edited or programatically mutated the content the current TextFlow is what the states mechanism should save off.

       

      QE notes: Please test state-dependent 'content' in the Spark RichText, RichEditableText, and TextArea.

      Doc notes: I've added more documentation regarding the 'content' property.

      Bugs: SDK-23120

      Reviewer: Carol

      Tests run: ant checkintests

      Is noteworthy for integration: Yes

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-23120

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as