In /admin/models/0.py, try setting:

TEXT_EDITOR = 'amy'

That will cause admin to use the Amy editor instead of EditArea -- see if 
that works.

Anthony


On Thursday, September 22, 2011 11:36:02 AM UTC-4, leftcase wrote:
>
> Hi all,
>
> I've just noticed that the web2py web-based text editor can't cope
> with this regex
>
>             requires=IS_MATCH("^([Gg][Ii][Rr]
>
> 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z]))))
> {0,1}[0-9][A-Za-z]{2})$"
> It seems to cause the editor to corrupt any further text entered in.
>
> I don't expect an answer or anything, just thought I'd point it out.
>
> Thanks,
>
> Chris
>
>

Reply via email to