Adobe Flex RichTextEditor
is there any way to save text on adobe richtexteditor to text fil开发者_如何转开发e or somethin?
to save an TextFlow-Object into String or XML, there are two methods. also you can import it. So you can save content of an TLF in database or whereever.
Import:
TextFlowUtil.importFromString(string)
TextFlowUtil.importFromXML(xml)
Both methods offer an second parameter for the whitespaces.
Export:
outputTextArea.text = TextFlowUtil.export( inputTextArea.textFlow ).toXMLString();
BR Frank
精彩评论