Closed mpbixal closed 5 months ago
@mpbixal I think the second option would likely be the cleanest for making this happen. @mejiaj What do you think?
@mpbixal @buddy-harlow a few questions…
<p>
inside of <address>
?The tag is meant to make the content more semantic & accessible. Option two seems like a good solution. Especially if the LOE is low.
@buddy-harlow @mejiaj
Another interesting approach we might be able to take, is to make an 'address' media type with the same fields, that way they could embed it just like an image. But that seems pretty janky to make something just text media.
How the contact info was added to https://stage-y77w3ti-tsvj5tw7p3f66.us.platformsh.site/node/30 adds a bunch of extra
tags that adds a lot of space:
@mejiaj has added this to storybook with recommended dom: Note the wrapping
tag http://localhost:5050/?path=/story/pages-contract-vehicles-contract-vehicle--defaultI went into Drupal and saved this into WYSIWYG
And it came out like: Note how it 'helpfully' added
<p>
tags inside the<address>
...Anyway you shake it, it's going to be hard to add this dom to a contract vehicle > Key Points of Contact section.
What are your guys thoughts on either: