django-ckeditor icon indicating copy to clipboard operation
django-ckeditor copied to clipboard

Ckeditor inline

Open radzhome opened this issue 10 years ago • 1 comments

If you have inlines, and this doesn't matter if you added the fields via widget or model, still same thing occurs. The ckeditor iframe body is not initiated appropriately, normally it looks like this:

<body contenteditable="true" class="cke_editable cke_editable_themed cke_contents_ltr cke_show_borders" spellcheck="false"><p><br></p></body>

instead you get only:

<body></body>

This is if you use inlines only and use the "add another object" button in the admin i.e.

class TeamMemberInline(admin.StackedInline): model = TeamMember extra = 0

class BiosAdmin(admin.ModelAdmin): inlines = (TeamMemberInline, ) list_display = ('title', )

So when you click "add another team member" in the django admin for bio, it adds it and looks like its a ckeditor widget but it isn't editable.

radzhome avatar Aug 11 '14 17:08 radzhome

https://github.com/riklaunim/django-ckeditor/pull/36 -- maybe this will help :)

riklaunim avatar Aug 24 '14 18:08 riklaunim