Twemoji selector for WoltLab Suite Core (3.0+) is a developer extension. Developers can simple add this plugin to there extension and trigger the selector.
Content
This package contains a Twemoji selector and a simple Twemoji parser. The parser converts native emojis to Twemojis.
Implementation
It is very easy to implement this extension. First add the following requiredpackage line to your package.xml.
<requiredpackage minversion="1.0.0">dev.hanashi.wsc.twemoji-selector</requiredpackage>
Twemoji Selector
Implement the following JavaScript Code into your template or JavaScript file:
require(["Hanashi/Twemoji/Selector"], function(TwemojiSelector) {
var options = {
callback: function(emoji) {
console.log(emoji);
}
};
new TwemojiSelector(options);
});
Now add following in your Template:
<twemoji-selector></twemoji-selector>
This is the default selector, where the Twemoji selector should be displayed. You can change this with the option selector.
You have the following options:
Twemoji Parser
The twemoji parser search in a selector for native emojis and replace that with a twemoji.
Implement the following JavaScript Code into your template or JavaScript file:
require(["Hanashi/Twemoji/Parser"], function(TwemojiParser) {
var options = {
selector: '#myDiv'
};
new TwemojiParser(options);
});
You have the following options:
-
Version 2.2.0
-
Hanashi -
September 15, 2023 at 10:42 AM -
1.95 MB -
8 Downloads
Version for WoltLab Suite 6.0
-
-
Version 2.1.1
-
Hanashi -
September 15, 2023 at 10:42 AM -
1.95 MB -
2 Downloads
Bug fix for WSC < 6.0
-
-
Version 2.1.0
-
Hanashi -
September 11, 2023 at 1:34 PM -
1.95 MB -
4 Downloads
- Update for WSC 6.0
- Code update
-
-
Version 2.0.0
-
Hanashi -
July 11, 2021 at 7:43 PM -
1.95 MB -
49 Downloads
- CHANGE: Switch to TypeScript
-
-
Version 1.1.2
-
Hanashi -
June 18, 2020 at 4:26 PM -
2.1 MB -
109 Downloads
Pfad fix
-
-
Version 1.1.1
-
Hanashi -
June 9, 2020 at 3:40 PM -
2.1 MB -
19 Downloads
- FIX: parsen von mehreren Emojis in einem HTML-Element
- FIX: es wurde der komplette Browser gescrollt wenn eine Kategorie angeklickt wurde
- FIX: Border-hover
-
-
Version 1.1.0
-
Hanashi -
June 8, 2020 at 7:56 AM -
2.1 MB -
5 Downloads
- FIX: Bildauflösung auf Retina Displays
- FIX: CORS
- CHANGE: Reparse im Parser ist möglich via parse
-
-
Version 1.0.0
-
Hanashi -
May 27, 2020 at 7:45 PM -
3.63 MB -
21 Downloads
-








