thanks Dave, below worked, but sanitize=True removes tables and other 
elements that user creates so I have to read  documentation on how to 
remove those buttons from the toolbar.

<script src="https://cdn.ckeditor.com/4.6.2/standard/ckeditor.js";></script>
<h1>What is your name?</h1>
<form action="{{=URL('view_user_profile', args=auth.user_id, 
vars=dict(z=z))}}">
<textarea name="z">{{=person.summary_self_description}}</textarea>
<script>
  CKEDITOR.replace('z', {
    height: 500,
    contentsCss: '{{=URL('static','css/contract.css')}}',
    format_tags: 'p;h1;h2;h3;h4;div',
  });
</script>
  <input type="submit" />
</form>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to