question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rich text editor in InlinePanels broken in 1.5

See original GitHub issue

Thanks for all your great work on Wagtail!

Just did a pip install of 1.5 into an existing project, now the rich text fields display as plain text (<p> tags visible) and the editor buttons do not appear:

screen shot 2016-06-01 at 10 00 53 am

Console errors say Uncaught ReferenceError: makeHalloRichTextEditable is not defined once for each rich text field:

screen shot 2016-06-01 at 10 01 01 am

I ran python manage.py collecstatic --noinput --clear and python manage.py migrate after the upgrade… did I miss another step or is this broken?

Also: just confirmed that downgrading to 1.4.5 fixes this issue for me - rich text editor works properly.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
m1kolacommented, Jun 3, 2016

Fixed in #2673

0reactions
thearrowcommented, Jun 2, 2016

This is on the main Page editing view, yes.

The RichTextField is inside an InlinePanel, suppose I should have mentioned that in the original issue.

Abbreviated code:

class HomePage(Page):
    ...
    content_panels = Page.content_panels + [
        ...
        InlinePanel('info_items', label="Info Items"),
        ...


class InfoItem(Orderable):
    page = ParentalKey(HomePage, related_name='info_items')
    body = RichTextField(blank=True)
    ...
    content_panels = Page.content_panels + [
        FieldPanel('body'),
        ...
    ]
Read more comments on GitHub >

github_iconTop Results From Across the Web

Wagtail 1.5.1 release notes — Wagtail 2.12.5 documentation
When editing a document link in rich text, the document ID is no longer erroneously ... Rich text editor is no longer broken...
Read more >
Broken Rich Text Editor layout | Blazor Forums - Syncfusion
Hi, I'm using Rich Text Editor in my project but it's rendering a broken layout: So, I found that this is because I'm...
Read more >
YUI rich text editor broken on latest Firefox - Stack Overflow
Well, it been few days I'm observing that YUI 2.9 rich text editor is grayed out in latest Firefox version 58.
Read more >
Rich text editor acting up, shifting between typed words
Rich text editor acting up, shifting between typed words. Processing in the canvas text box, I cannot move forward after each typed word....
Read more >
Broken UI for rich text editor - Jira Cloud
Hi, We are using the editor core component of latest jira design for our add on and we are also supporting wikimarkup as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found