Inline Icons for Mentions

Inline Icons for Mentions

Konstantin Engel
15th Jun, 2022
0 installations 0 likes

Latest version 1.0

Released 2 years ago on 15th Jun, 2022

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;
}
Install

User comments & reviews