If you are willing to settle for a textfield instead of a textarea, try
<input type=textfield ex:value-content=".textfield_content"></textfield>
But as the comment says, you may also want to try Dido.
Michiel wrote:
Hi Ravi,
I don't really understand why you want to use a textarea. Are you
using an edit-lens?
The reason why it fails in Fx is that the formatter.js adds the text
in a span element as child to your textarea element. This is in
violation with the html-standard, textarea elements should only
contain plain text, no other elements.
If you really must use a textarea element, a hack may be to extend the
formatter where you add an extra option to text-formats and add
something like this:
appender(document.createTextNode(this.formatText(value))
to Exhibit.Formatter._TextFormatter.prototype.format, where you see
the creation of the span element that is causing trouble for you. Not
a nice solution, it would be better to avoid textareas.
Perhaps Dido, the newest incarnation of Exhibit from MIT is more your
thing.
Michiel
On Apr 5, 3:45 pm, chandu <thotakura.ravi.cha...@gmail.com> wrote:
Hi,
I am using <textarea ex:content=".textarea_content"></textarea> as per
the conversation in the below thread.
http://groups.google.com/group/simile-widgets/browse_thread/thread/29...
but the above fails to show the value in the textarea for FireFox
(3.6.3) though it works well in IE8.
Thanks for the help in advance.
Regards,
Ravi.
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To post to this group, send email to simile-widg...@googlegroups.com.
To unsubscribe from this group, send email to
simile-widgets+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.