Editor not loading for inline TextField
See original GitHub issueSummernote is not loading for an inline model admin.
I have an inline model:
class ModelAInline(admin.StackedInline, SummernoteInlineModelAdmin):
model = ModelA
extra = 1
class ModelBAdmin(SummernoteModelAdmin):
...
inlines = [ModelAInline]
admin.site.register(ModelB, ModelBAdmin)
ModelB has a TextField which is loading with summernote widget correctly. ModelA has a TextField but it’s not loading correctly, it just displays a white section, iframe doesn’t seem to be loading.
I found the following JS warnings on console:
ReferenceError: content_iframe is not defined
ReferenceError: __prefix__ is not defined
Both JS errors point to line “32 > eval:1”, referring, I think, to:
eval("settings = window.parent.settings_id_modela_set-0-content/ line 32 > eval_iframe;");
I’am using version 0.5.12
Issue Analytics
- State:
- Created 9 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Inline Text Editor not working on textarea
I used a plugin Inplace Editor(https://github.com/wbotelhos/inplace) for inline editing for a profile page of a website. For some texts in ...
Read more >TinyMCE inline option not working? FAQs and Solution
The main reason for the TinyMCE inline option not working is that a textarea element doesn't work with inline mode.
Read more >Inline editor sometimes not working
I have working code that only fully works when I do a hard refresh on the page. In this case, the inline "td"...
Read more >Inline Editor not accepting input in Kendo UI for jQuery
Hi, I have been trying to use the new inline editing capability, but the editor will not take any keyboard our mouse input....
Read more >Inline Edit of Rich Text Area Field Does Not Support ...
This is because inline editing in Lightning uses the Input Rich Text Lightning Web Component. As per the documentation:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve the same problem as @boylesnick, saving inline contents for the first time. -Admin.py
Note: I’m using Grappelli