Closed (fixed)
Project:
Custom Elements
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
23 May 2024 at 09:30 UTC
Updated:
2 Jul 2024 at 15:49 UTC
Jump to comment: Most recent
This will spark discussion about how to do a formatter for image fields, I'm sure.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
roderikThis MR in principle is only a single commit at the moment (the last one; link does not show my comment).
In practice it includes https://git.drupalcode.org/project/custom_elements/-/merge_requests/65 == #3448384: Replace twitter, video and image processors ; I can rebase it after that is reviewed.
(Or I can just push the last commit onto MR 65 if you want to not review that one standalone.)
Comment #6
fagoas discussed we want to move this to a separate formater first
Comment #7
roderikComment #9
fagothx, looks great, merged!
I only had one comment, which could be added in a small follow-up PR if you agree.
Else, I'd suggest to add another small follow-up for introducing a new config option into the field/image formatter if the reference points to an image: An image-style drop-down.
That would be handy for media-references pointing to media-iamges as well, but I guess this should be its own follow-up.
Setting to needs-work for reading my comment and deciding how to continue!
Comment #10
roderikThanks! I added this feedback into #3455426: Iterate on formatter code; add LinkCeFieldFormatter with some other points for which I have code. (I think grouping some formatter specific changes in one issue is fine.)
Will work on that soon.