- First commit to issue fork.
- @kasperg opened merge request.
- π©π°Denmark kasperg
This issue has been closed, potentially waiting for #2732429 to be resolved.
I took a stab at resolving the initial issue and have provided the related changes needed for the FAQ field module in a merge request here.
- Status changed to Active
almost 2 years ago 8:32pm 7 February 2023 - π©π°Denmark kasperg
I'll reopen this issue to indicate that there is a potential fix for this.
- πΊπΈUnited States hershy.k
hershey.k β made their first commit to this issueβs fork.
- Merge request !6Resolve #2744905 "Support permanent inline-image files within answer text" β (Open) created by Unnamed author
- Status changed to Needs review
9 months ago 8:59pm 27 February 2024 - πΊπΈUnited States hershy.k
The code changes from MR #2 appeared to be missing something. The interface used in the code was non existent in the codebase.
As noted in #5 π Inline images in the answer field are removed during file garbage collection Active ideally the custom answer text field data structure would need to be refactored to support this capability even with core's commit in https://www.drupal.org/project/drupal/issues/2857444 β .
The approach taken in MR #6 attempts to make a minor code change that would allow for support for inline-image file status to be controlled by core's
editor
module without refactoring theanswer
field's data structure.I also updated the category to a "Feature request" as it's not technically a bug but a feature that has never been supported AFAIK.
To test functionally:
- Enable faqfield module and add a faqfield type to a content type
- Use WYSIWYG formatter to upload inline-image file to answer textfield
- Save entity and verify the status of the file uploaded to system accurately reflects apermanent
status in the admin file list view