kotti_tinymce

20 views
Skip to first unread message

FFFFFFFab

unread,
Nov 2, 2012, 8:18:31 PM11/2/12
to ko...@googlegroups.com
Hello,

I'm trying the dev version of Kotti, but I have issue with image insert in tinymce. I click the "image insert" button, I browse my system to find my image, I upload it and once uploaded I click insert but with no effect, idem if image was selected in image already uploaded in the left side of the popup. Test with safari and firefox.

Any idea ? JS problem ?

FFFFFFFab

unread,
Nov 6, 2012, 1:47:41 PM11/6/12
to ko...@googlegroups.com
In __init__.py, line 153
edit_needed = resource_mapping['tinymce'].append(kotti_tinymce)
seems not include some part of kotti_tinymce javascript

Marco Scheidhuber

unread,
Nov 6, 2012, 4:14:00 PM11/6/12
to ko...@googlegroups.com, FFFFFFFab
Am 06.11.2012 19:47, schrieb FFFFFFFab:
> In __init__.py, line 153
> edit_needed = resource_mapping['tinymce'].append(kotti_tinymce)
> seems not include some part of kotti_tinymce javascript
indeed, you are right. The latest change to use js.deform takes deform
forms into account, but not forms build up on its own like the one in
kottibrowser.pt.

I made a pull request to fix this:
https://github.com/disko/kotti_tinymce/pull/4
Maybe Andreas has another idea how to fix this with js.deform.

Marco

Andreas Kaiser

unread,
Nov 7, 2012, 3:26:50 AM11/7/12
to ko...@googlegroups.com, FFFFFFFab
This is the absolutely right fix for the issue.

kotti_tinymce-0.3.1 is available on PyPI now.


Andreas
Reply all
Reply to author
Forward
0 new messages