RichTextContent Issue (FeinCMS 1.5)

31 views
Skip to first unread message

cjflory

unread,
Dec 14, 2011, 12:20:47 AM12/14/11
to Django FeinCMS
I'm trying out FeinCMS 1.5 and Elephantblog, and running into an issue
with TinyMCE in the RichTextContent content-type. Whenever one of
these content-types is added to a page in the admin, you can't focus
your cursor in the TinyMCE textarea. However, if you click "Save and
continue editing" after adding the RichTextContent item is added to
the page, you can then click in TinyMCE and start entering your
content. Has anyone else ran into this issue, or is this a known
bug? Thanks!

Matthias Kestenholz

unread,
Dec 14, 2011, 1:16:53 AM12/14/11
to django-...@googlegroups.com
This sounds like a really old bug which should. be fixed for a long time already. The same symptoms show wenn the hidden content type form (the one with __prefix__ in. its name) is converted into a TinyMCE instance too, f.e. because TinyMCE isn't initialized with mode "none" or for some other reason. What happens is that the HTML code is copied (the visuals), but there is no behavior attached to it (a TinyMCE instance)

I'm at a loss why this should happen, though.


Thanks
Matthias

cjflory

unread,
Jan 17, 2012, 4:48:52 PM1/17/12
to Django FeinCMS
I haven't had time to look into this for a while, but I just realized
what the issue was. I had edited the jQuery selectors for which
textareas to add TinyMCE to, and what I added was too broad of a
selector. My selectors were causing the newly added RichTextContent
textarea to be selected more than once when adding TinyMCE.

Thanks for your quick response, Matthias. I really like FeinCMS &
Elephantblog!

Clem


On Dec 14 2011, 1:16 am, Matthias Kestenholz <m...@feinheit.ch> wrote:
Reply all
Reply to author
Forward
0 new messages