L
lihao0129
The scenario is a RTF(Rich Text Format) editor where I can input text
and meanwhile display 'style'd text or multimedia( i.e bold fonts,
pictures, movies ) in the same box...
I am currently using some HTML tags in textarea and make a "preview"
and a "refresh" button to sync between the writepad(textarea) and the
preview zone(div). But somehow the HTML tags in textarea look messy...
Since text in 'textarea' can not display HTML effects(maybe I was
wrong, please correct me), so I am actually trying to find a way to
both input text and display styles in one box..
Can someone shed some light to me on this problem or point me to some
(concept|term|link)s? really appreciate your time. : - )
Have a nice weekend,
lihao(XC)
and meanwhile display 'style'd text or multimedia( i.e bold fonts,
pictures, movies ) in the same box...
I am currently using some HTML tags in textarea and make a "preview"
and a "refresh" button to sync between the writepad(textarea) and the
preview zone(div). But somehow the HTML tags in textarea look messy...
Since text in 'textarea' can not display HTML effects(maybe I was
wrong, please correct me), so I am actually trying to find a way to
both input text and display styles in one box..
Can someone shed some light to me on this problem or point me to some
(concept|term|link)s? really appreciate your time. : - )
Have a nice weekend,
lihao(XC)