Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-17721

Setting backgroundColor style on RichTextEditor causes text formatting to revert to defaults

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Adobe Flex SDK 3.2 (Release)
    • None
    • mx: Rich Text Editor
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run attached MXML file
      2. Select the existing text and format it as fontSize: 24, bold, italic, underline, and purple.
      3. Click the Button to change the RichTextEditor control's internal TextArea's background color.

      Actual Results:
      After clickig the button and setting the background color, the applied styles are lost and the text formatting returns to its default state.

      Expected Results:
      Applied styles should be maintained.

      Workaround (if any):
      Re-set the RichTextEditor's htmlText property after calling setStyle() on the internal TextArea (see attached file).

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: