Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails
This commit is contained in:
parent
6de079a5af
commit
aed25932b5
11 changed files with 72 additions and 7 deletions
8
app/assets/javascripts/extras.jsx
Normal file
8
app/assets/javascripts/extras.jsx
Normal file
|
@ -0,0 +1,8 @@
|
|||
import emojify from './components/emoji'
|
||||
|
||||
$(() => {
|
||||
$.each($('.entry .content, .name, .account__header__content'), (_, content) => {
|
||||
const $content = $(content);
|
||||
$content.html(emojify($content.html()));
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue