Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ckeditor inline #47

Open
radzhome opened this issue Aug 11, 2014 · 1 comment
Open

Ckeditor inline #47

radzhome opened this issue Aug 11, 2014 · 1 comment

Comments

@radzhome
Copy link

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.

@riklaunim
Copy link
Owner

#36 -- maybe this will help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants