mezzanine icon indicating copy to clipboard operation
mezzanine copied to clipboard

RichTextField TinyMCE not editable after order change in DyanmicTabularInline

Open stepmr opened this issue 13 years ago • 4 comments

Another one :)

Django: 1.4.1 Mezzanine: 1.2.2 Browsers: Chrome 21, Firefox 14, Safari 5.1.7

Have two or more DyanmicTabularInlines with content, reorder, and the editor .mceIframeContainer is blank. Content can still be edited by clicking fullscreen button. But is un-editable otherwise.

Normal: td.mceIframeContainer > body.mceContentBody Problem: td.mceIframeContainer > body (is blank)

Suspect executing tinyMCE.init via a "post order" event may fix issue. Issue may also have something to do with http://www.tinymce.com/wiki.php/Configuration:add_form_submit_trigger

stepmr avatar Aug 12 '12 07:08 stepmr

I can recreate it but it's very difficult to sort these with TinyMCE fields in it - very unwieldy.

Not saying we shouldn't fix this issue, we definitely should - but I'd be reluctant to expect everyone to be able to use this easily.

stephenmcd avatar Aug 12 '12 09:08 stephenmcd

It's a weird use-case anyway (orderable slides with richtext captions) and with tabularinlines not great UX. Probably work better with orderable dynamic stacked inlines.

I'll try it out with ckeditor and see how it works.

Been meaning to look at Grappelli 2.4 anyway, think they're using SASS and have new changelist filter style options.

stepmr avatar Aug 12 '12 21:08 stepmr

Ckeditor is a no go. I'm swamped this week, but I'll have a look at the JS this weekend to see if I can figure something out for TinyMCE.

stepmr avatar Aug 13 '12 22:08 stepmr

I came to submit a bug report on this and find it's a 5 year old bug! Just making a note here that I ran into it today. I also am not getting the "Add another" button on StackedDynamic but I do get it on Tabular, probably a bug for another report but I need to test some more just to make sure it's not something I'm doing wrong.

overshard avatar Feb 10 '17 00:02 overshard