Inline Icons for Mentions

Inline Icons for Mentions en

Installations 0 Likes 1

Latest version 1.0

Released 2 years ago

Puts an Inline Icon before a mention in text fields.


You may also display an Image instead with this code.

Example Character Image 

Replace [[CHARACTER ID]] with an ID. ex: 1234567

Replace [[CHARACTER IMAGE URL]] with an url. ex: https://kanka.com/image.png


.entity-story-block .entity-content a[href*="/characters/[[CHARACTER ID]]"]:before {
    background-image: url([[CHARACTER IMAGE URL]]);
    padding: 14px; content: ""; background-color: transparent; display: inline;
}