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

Richtexteditor does not produce bullet html text with alignment tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 2.0.1 (Release)
    • None
    • mx: Rich Text Editor
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      Steps to reproduce:
      The RichTextEditor does not not produce bullet html text with alignment tag.
      For example if you type your text, click on the bullet button and select right alignment button, the generated html text is:
      <TEXTFORMAT LEADING="2"><LI><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">My text.</FONT></LI></TEXTFORMAT>
      but the align="right" is missing.

      NB: sample code to reproduce:
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

      <mx:Script>
      <![CDATA[
      private function showHTMLText():void{
      htmlText.text=rte.htmlText;
      }
      private function switchHtml():void{
      rte.htmlText=htmlText.text;
      }

      ]]
      >
      </mx:Script>

      <mx:RichTextEditor id="rte" x="0" y="10" textAlign="justify">
      </mx:RichTextEditor>
      <mx:Button x="10" y="341" label="Show html text" click="showHTMLText()"/>
      <mx:Button x="185" y="341" label="Switch html text" click="switchHtml()"/>
      <mx:TextArea x="363" y="10" width="266" height="300" id="htmlText"/>

      </mx:Application>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: