What's the CSS class that controls embed links disappearing?

The behavior of embeds (denoted with an ! before a link) disappearing is pretty irritating when I’m trying to work. When I try to look at this element with the inspector the class disappears if I interact with it.

Does anyone know what class is controlling this behavior?

I don’t know, but I think the inspector has a feature that lets you freeze things so you can look at them. (Sorry I don’t have more specific info.)

1 Like

When you say embed links are disappearing, do you mean this or something else?

CleanShot 2023-12-21 at 22.44.23

Yes, that!

I think that’s just how Live Preview works: when you move the cursor off the line with the embed link, it becomes the embed.

You could use Source mode, though that many not be appealing.

An option is using some CSS with or without alt/attribute text to add the link name back in, but that will add the text within the embed and doesn’t really address the disappearing link.

/* use alt text as title */ 
.internal-embed::before { 
    content: attr(alt); 
    font-size: 0.9em; 
    font-weight: 300; 
    color: grey; 

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.