Re: [web2py] Installation of an editor plugin in web2py app

2014-12-16 Thread Ramashish Gaurav
I used the first implementation of XML ( where sanitisation is true ), but few formatting effects are not working right. I solved the problem of underlining the text by including 'u' tag in list of permitted tags, but couldn't solve the problem of font size, font family, font colour, backgroun

Re: [web2py] Installation of an editor plugin in web2py app

2014-12-16 Thread Maboroshi
Web2py has really decent security issue prevention built in, see here: http://web2py.com/books/default/chapter/34/01/introduction#Security *cheers :D On Mon, Dec 15, 2014 at 11:49 PM, Ramashish Gaurav wrote: > > Thanks all the way Andrew. This was the perfect solution to my problem, > for wh

Re: [web2py] Installation of an editor plugin in web2py app

2014-12-15 Thread Ramashish Gaurav
Thanks all the way Andrew. This was the perfect solution to my problem, for which I wasted a day. One more thing, if you wish to, please give me some info about XSS attack, how can we ignorantly get caught in it and measures taken to prevent XSS attacks. On Tuesday, December 16, 2014 1:20:20

Re: [web2py] Installation of an editor plugin in web2py app

2014-12-15 Thread Maboroshi
Hey there if I understand correctly you want to not display html but the formatted output. If so then use this in your view and add any html you would like to allow. {{=XML(row.textfromeditor, sanitize=True, permitted_tags=['a', 'b', 'blockquote', 'br', 'i', 'li',

Re: [web2py] Installation of an editor plugin in web2py app

2014-12-15 Thread Ramashish Gaurav
Dear Andrew, Many thanks for your response and elaborate explanation of installation of ck-editor. However I used another light weight editor nicEdit since the installation was pretty easy as directed at http://nicedit.com/ . However I am in a problem, not related to installation of editors, bu

Re: [web2py] Installation of an editor plugin in web2py app

2014-12-14 Thread Maboroshi
Your error at this point isn't from ckeditor but you are using a reserved sql keyword in your database table/field. I suggest removing this line *check_reserved=['all']* or change the name of one of the fields/tables in question. As a side reference here is a brief bit of info for implementing cke

[web2py] Installation of an editor plugin in web2py app

2014-12-13 Thread Ramashish Gaurav
Hi all ! First of all, I am a newbie in web2py. I am working on a project and need to install an editor plugin in my web2py app named "editor". After hours of search I got ck_editor4 plugin , installed it and then made some chang