[Grok-dev] TinyWidget doesn't render the html
tim.terlegard at valentinewebsystems.se
Mon Apr 28 03:31:46 EDT 2008
On Apr 28, 2008, at 5:31 AM, Santiago Videla wrote:
> Hi there,
> I'm trying the TinyWidget like the wiki tutorial at http://grok.zope.org/documentation/how-to/automatic-form-generation
> It works fine, actually I didn't need to customize the edit template
> to add:
> <tal:block replace="resource_library:tiny_mce" />
> It just work.
> The problem it's that when I go to the wikipage created, it render
> the html as plain text (i.e: """<h1> this is a header </h1>""")
> any ideas ?
I suspect you need to use 'structure' like this:
<tal:block replace="structure resource_library:tiny_mce" />
otherwise html is escaped and you get <h1> which the browser
will display as <h1>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Grok-dev