Does any one use wymeditor in web2py?

I downloaded version 0.5 and put it in the static folder, and included the 
following tag in layout.html 

<script 
src="{{=URL('static','wymeditor/jquery.wymeditor.min.js')}}"></script>

and used the following function:

<script type="text/javascript">
$(document).ready(function(){
  $('#promo_text').wymeditor();
});
</script>

For some reason this doesn't turn the promo_text textarea into a wymeditor 
instance.
What do I overlook?

Regards,

Annet

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to