Skip to content

Commit

Permalink
add dist js
Browse files Browse the repository at this point in the history
  • Loading branch information
nodeloc committed Apr 4, 2024
1 parent 7fd4075 commit cdb025e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 18 deletions.
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,9 @@

[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nodeloc/flarum-ext-my-emoji/blob/master/LICENSE) [![Latest Stable Version](https://img.shields.io/packagist/v/nodeloc/flarum-ext-my-emoji.svg)](https://packagist.org/packages/nodeloc/flarum-ext-my-emoji) [![Total Downloads](https://img.shields.io/packagist/dt/nodeloc/flarum-ext-my-emoji.svg)](https://packagist.org/packages/nodeloc/flarum-ext-my-emoji)

Simple emoji manager for Flarum.
Simple emoji manager for Flarum. Modify from flamoji.

Screenshots:

![Picker](https://i.imgur.com/I7l1s6O.png)

- [Settings](https://i.imgur.com/hqlbvZB.png)
- [Edit Emoji Modal](https://i.imgur.com/nonfIjB.png)

## Features

- Based on [joeattardi/emoji-button](https://github.com/joeattardi/emoji-button) repository.
- Add an emoji picker to the text editor (compatible with dark mode).
- Show Twemoji or unicode myemoji in the picker.
- Search myemoji in your own language.
- Add custom myemoji to the picker.
- Import and export custom emoji configurations.
- Everything is dynamically loaded (no CDNs) when the picker is opened (there should be no performance impact until the user interacts with the picker).

## Installation

Expand Down
2 changes: 2 additions & 0 deletions js/dist/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions js/dist/admin.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions js/dist/forum.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions js/dist/forum.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion js/src/forum/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ app.initializers.add(

extend(TextEditor.prototype, 'toolbarItems', function (items) {
items.remove('emoji');

items.add(
'MyEmoji',
TextEditorButton.component({
Expand Down
2 changes: 1 addition & 1 deletion less/forum.less
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@
span.MyEmoji img {
height: 5em;
margin: 0.5em;
vertical-align: -0.5em;
vertical-align: middle;
}

0 comments on commit cdb025e

Please sign in to comment.