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
Commenting not working on pages with read_only
FieldPanels
#11838
Comments
After a litte bit of investigation: A read only wagtail/wagtail/admin/panels/field_panel.py Lines 331 to 342 in fd08d20
The variable
Therefore the tag
The wagtail/client/src/entrypoints/admin/comments.js Lines 247 to 253 in fd08d20
As a consequence, the |
I can confirm that the issue exists. When I set After doing some research, I mostly agree with what @mattibo mentioned above. When I changed the context's
@lb-, I'm trying to find out the exact issue, but it would be really helpful if you could take a look too. |
Issue Summary
When editing pages with
read_only
FieldPanels commenting does not work on the whole page.I guess this is the specific line:
wagtail/client/src/entrypoints/admin/comments.js
Line 22 in fd08d20
At the execution the
fieldNode
is null.Steps to Reproduce
For me it can be reproduced in a Page model with following
content_panels
:Technical details
Python 3.11.1
Django==5.0.4
wagtail==6.0.2
The text was updated successfully, but these errors were encountered: