PDA

View Full Version : How To Get Formatted Text From Richtexteditor


jaivardhan
12-12-2006, 05:18 AM
Hi All,

I m using richtexteditor component of laszlo stored in \lps\components\incubator\rich-text\ .editor is formatting the text properly.Now i want to store and display that formatted text in some some other view or say inputtext.But when i collect the text of richtexteditor, it simply returns me the simple text with no formatting at all.i m using getText().Is their any other way to do that .Please help me.Thanks in advance.

laszlo_newbie
12-11-2008, 03:34 AM
Given that you named your richtexteditor object as objA, then

objA.messagebody.txt.getHTMLText();

rcyeager
12-11-2008, 07:08 AM
I'm sure the original poster appreciates the two-year response time, almost to the day. :-)

Robert Yeager
http://www.qrowd.com
http://www.cooqy.com

laszlo_newbie
12-11-2008, 12:19 PM
I'm sure the original poster appreciates the two-year response time, almost to the day. :-)

Robert Yeager
http://www.qrowd.com
http://www.cooqy.com

It took me some digging to figure that out myself. I posted the response in hopes of helping others who may have the same problem in the future. I'm new to the forum and I'm sorry if I violated any silent code for posting in this forum.

rcyeager
12-11-2008, 01:25 PM
No silent code of forum conduct here...I figured you were noting a solution to a problem, just trying to make fun from the point of view of the original poster.

Cheers,

Robert Yeager
http://www.qrowd.com
http://www.cooqy.com

jaivardhan
01-30-2009, 02:23 AM
thanks laszlo_newbie,

Hi Robert, I figured out the solution on the same day of posting...lol...but the solution posted by him will definitely help other newbies....



Regards,
jaivardhan