Joen A.
Joen A.
Inspired by excellent work here, I've started #43143 to do the same for the Image block. I would be grateful for some help in porting over some of the inheriting...
Ah, thanks for the clarity, I had a feeling. Another option is to draw the dashed border on the placeholder component instead of the SVG, so it will naturally get...
Alright, I tinkered with this enough to get a headache. Trying clever inheritance tricks, I got _really_ close while maintaining the semi-transparent currentColor stroke: But unfortunately, I couldn't thread the...
There's some nuance. Right now the placeholder is drawn using `currentColor` (and transparency) to ensure that its appearance works in any context. I.e. white text on dark background you'll have...
Cool. We should probably try it. The thing is, we can always come back to these (especially if we can clean up the code and componentize it a bit) and...
I've gone ahead and created #43228 which deduplicates and simplifies the code for these dashed placeholders. Part of that PR is also a fix that should enable border inheritance in...
This is great, my GIF also shows border and radius working well in the setup state:  > There are still several issues with applying borders to the block's placeholder....
@aaronrobertshaw I pushed a fix for the inner color: What do you think? If you're cool with it, looks like this one needs updated snapshots.
> I agree. Still, it might be good to (separate to this PR) explore adding a background to the placeholder so that it is still visible when placed on a...
Excellent sleuthing. As far as I can tell, the major difference is the positioning of the diagonal, which is off when those styles are inherited: It is not off when...