Re: [ADDON] Tabbed smiley
Reply #27 –
Should be easy enough, although I haven't tested this yet. I'd start by changing the language file to this:
$txt['tabbedSmiley_tabs'] = ' ';
That's just to give it some content that won't be visible, which is easier than what I was thinking before.
Anyway, the important part is assigning a :before pseudo element in the CSS and putting text there. Something like this should work:
sceditor-emot-head-tabs>li:nth-child(2):before {
content: "Any text you want";
}
sceditor-emot-head-tabs>li:nth-child(3):before {
content: "Another tab title";
}
sceditor-emot-head-tabs>li:nth-child(4):before {
content: "My penguin likes chocolate cake";
}
sceditor-emot-head-tabs>li:nth-child(5):before {
content: "There is chewing gum stuck to my seat";
}
Etc.