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

ChangeNote Input is missing in Volto VLT edit page template due to CSS display none #66

Open
acsr opened this issue Jun 14, 2024 · 1 comment

Comments

@acsr
Copy link

acsr commented Jun 14, 2024

I was missing the well known ChangeNote (Änderungsnotiz) input field when trying to comment the changes I made to the Beethoven Sprint 2024 page for others. See my comments in: #65

In the Plone6 Volto documentation you cannot find any descriptions of the ChangeNote / Änderungsnotiz option (either in EN or DE languages) except in the workflow changes of states. Most docs refer to older Plone 3-5 manuals.

In fact the ChangeNote data is present in the history listing of the page (via "Ellipsis Menu" under the pencil icon in view mode) containing the workflow state changes and the saved revisions. But the displayed field for Änderungsnotiz is empty for edits and cannot be altered during editing or later in the history.

HTML is rendered but not visible

After investigating the html source of the editing view using the dom inspector in the browser, you can identify the corresponding input field and surrounding text as properly rendered, but hidden by a (from my point of view) misinterpreted CSS snippet inherited from _footer.scss in the webpack namespace. I cannot identify the exact origin, since the line 37 referenced in the dom inspector does not contain obvious related entries. Therefore I cannot add some path to the sourcecode and need further investigation.

Maybe a Site Manager accessible preset is preventing the display? But lacking any docs, I am still searching for a corresponding origin of a related option.

Screenshots

I provide some screenshots from Chrome official build Version 125.0.6422.142 on MacOS Ventura 13.6.7 (22G720) M1 / Apple Silicon.

Inputfield ChangeNote not visible at the lower right after "Legende zum Teaserbild"
20240614_190532-PloneDE-VLT-editview-inputfield-displaynone

Sourcecode Inputfield ChangeNote not visible (.field-wrapper-changeNote {display: none;})
20240614_190431-PloneDE-VLT-editview-inputfield-sourceelement-style-displaynone-activated

referenced CSS resource displayed (webpack://client/_footer.scss)
20240614_190508-PloneDE-VLT-editview-inputfield-sourceelement-CSS

Sourcecode Inputfield ChangeNote now visible (.field-wrapper-changeNote {display: none;} inactive)
20240614_165642-PloneDE-VLT-editview-inputfield-sourceelement-style-displaynone-deactivated

Inputfield ChangeNote now visible (Änderungsnotiz) at the lower right after "Legende zum Teaserbild"
20240614_190556--PloneDE-VLT-editview-inputfield-displayed

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

1 participant