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

RichTextEditor looses all formatting when any style is changed at runtime

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Create an application containing a RichTextEditor.
      2. Using (compile-time) CSS, set the font Family of the RichTextEditor to an embedded font.
      3. Set the htmlText in the RichTextEditor to some complex formatted text.
      4. Set any style via the StyleManager.

      Actual Results:
      The text in the RichTextEditor all gets reformatted in one format (whatever is specified in the CSS). This is because the StyleManager refreshes all styles in all components when the style is set, and the font styles used for the RichTextEditor UI cascade down into the inner UITextField, removing all formatting.

      Expected Results:
      Ideally, any UITextField that contains complex formatting should ignore CSS style changes and retain their formatting.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: