ckeditor error

40 views
Skip to first unread message

Henk huisman

unread,
Apr 19, 2016, 8:17:55 PM4/19/16
to web2py-users
I installed ckEditor from the repository.
When I try to use it with a simple SQLFORM like

def test():
    form = SQLFORM.factory(
        Field('requiredfield', required=True, notnull=True),
        Field('textfield', 'text', widget=ckeditor.widget)
    )
    return dict(form=form)


I get a SyntaxError: Unexpected token ,

Anybody an idea what is going wrong?
Version 2.14.3




Carlos Kitu

unread,
Apr 21, 2016, 4:05:23 AM4/21/16
to web2py-users
Hi Henk,
I recently used this slice for one of the projects I'm working on(still at web2py 2.13.4), and everything went fine:

Actually I didn't need the upload feature and applied a simplified configuration.

Did you follow those instructions?

Best regards.

Henk huisman

unread,
Apr 21, 2016, 9:32:32 PM4/21/16
to web2py-users

Hmm, buggy night 2 nite......
Reply all
Reply to author
Forward
0 new messages