I add this to my base template:
<script>
// Replace the textarea with a CKEditor instance (replace 'content_body' with
the id of your textarea)
CKEDITOR.replace('content_body', {
height: 500,
contentsCss: '{{=URL('static','css/contract.css')}}',
format_tags: 'p;h1;h2;h3;h4;div',
});
</script>
On Thursday, April 13, 2017 at 11:51:55 AM UTC-7, Alex Glaros wrote:
>
> CKEditor is now available from CDN: http://cdn.ckeditor.com/
>
> can someone please provide example of how to integrate into w2p?
>
> is it safe, if not, way to sanitize?
>
> thanks,
>
> Alex Glaros
>
--
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.