Commit Graph

53 Commits (3b1a66c93cc8f04e379382ed528272bdb57ed809)

Author SHA1 Message Date
Joaquín Sánchez 9da77637b2
chore: bump to eslint-config `v2.8.0` (#2651)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2024-03-05 14:48:58 +00:00
Joaquín Sánchez 3120bbb77f
feat(content-rich html parsing): add paragraphs LTR/RTL direction support (#2545) 2024-03-05 06:25:58 +00:00
Joaquín Sánchez 3adf92ea56
feat: add LTR/RTL in hashtags and mentions support (#2541)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-04 19:51:32 +00:00
Ayo Ayco 957f0d3b17
feat: display embedded media player (#2417) 2023-11-07 09:57:44 +00:00
Sma11X 293534fb8b
fix: correct links content with query symbol (#2377) 2023-10-22 16:14:37 +00:00
patak c00354c833 fix: custom emojis 2023-07-06 21:33:01 +02:00
patak fc97e8ff5b fix: pasting emojis 2023-05-08 21:10:52 +02:00
patak 9564985a4e
fix: unicode emojis when editing (#2002) 2023-04-22 19:12:17 +02:00
patak 3732a2cc16
fix: copy and paste custom-emoji (#1873) 2023-03-09 11:18:03 +00:00
Vjacheslav Trushkin fa3cfd6059
fix: get custom emoji id from title attribute (#1871) 2023-03-08 21:19:53 +01:00
Zaidhaan dbfb450e23
fix: allow parsing codeblocks with multiple text nodes in children (#1842) 2023-03-02 15:27:32 +01:00
Zaidhaan f98c667613
fix: properly parse bolded italics (#1808) 2023-02-23 08:13:39 +01:00
Tuur Martens a1b2da3d5e
feat: adjust hide username emojis pref to only hide in timeline (#1631) 2023-02-05 14:00:25 +01:00
Tuur Martens e92d1c6adf
feat: add preference to hide emojis in usernames (#1612) 2023-02-04 18:02:05 +01:00
patak 359cc4935b fix: leading space when hiding mentions 2023-01-19 12:12:58 +01:00
patak a48524e7ad
feat: inline some mentions to reduce spacing (#1307) 2023-01-19 11:26:01 +01:00
patak 5785047856 fix: properly hide redundant mentions 2023-01-18 19:23:14 +01:00
patak 3132f4fdea
feat: hide redudant mentions (#1293) 2023-01-18 16:59:37 +01:00
patak 40c0afb09d chore: fix typo 2023-01-18 08:01:50 +01:00
Svyatoslav Kryukov 08eebb651d
fix: use global regex to escape backticks (#1253) 2023-01-17 12:26:36 +01:00
Daniel Roe 80da856402 fix: handle parsing pure plain text 2023-01-16 20:41:42 +00:00
jviide 8c170961cb
feat: support all HTML elements allowed by Glitch (#1233)
Closes https://github.com/elk-zone/elk/issues/1230
2023-01-16 19:04:27 +01:00
Anthony Fu b049b40298
fix(editor): mention handling on post editing (#1223) 2023-01-16 12:36:22 +00:00
Anthony Fu 8bb6ee7639 refactor: fix auto import confliction 2023-01-16 12:40:47 +01:00
Darius Kruythoff 95dda1fdb6
feat: have all emojis respect prefers-reduced-motion (#962) 2023-01-16 00:51:52 +00:00
Daniel Roe c280ee389c
feat: support additional html elements (#1102) 2023-01-14 11:40:53 +01:00
Anthony Fu 36ae8be40a
feat: collapse mentions (#1034) 2023-01-13 01:08:56 +01:00
Vjacheslav Trushkin 79753fd508
fix: catch exceptions in HTML parser (#994) 2023-01-12 11:13:20 +00:00
Daniel Roe 8da4a8e78a fix: escape backticks within codeblocks
resolves https://github.com/elk-zone/elk/issues/970
2023-01-11 23:54:45 +00:00
Daniel Roe c2850a34ae
fix: use mention accts within a status to render links (#955) 2023-01-11 18:18:06 +01:00
Daniel Roe f9509f8987
fix: escape/textify the contents of inline and block code (#954) 2023-01-11 16:24:13 +00:00
Daniel Roe 6f7bdf274f
refactor: use `tiny-decode` for parsing html entities (#922) 2023-01-09 23:08:42 +01:00
jviide 162b56f5cb
fix: add nofollow noreferrer noopener to Twitter mentions (#910) 2023-01-09 15:47:41 +01:00
Anthony Fu c647a87ba1 fix(content): twitter handle matching 2023-01-08 12:17:16 +01:00
Anthony Fu 2df2fefdc9 fix(tiptap): mention transform, close #521 2023-01-08 10:39:16 +01:00
Anthony Fu a4c0e9dd2e chore: change top-level function style 2023-01-08 09:21:35 +01:00
三咲智子 Kevin Deng 5c8f75b9b7
refactor: upgrade masto 5 (#867) 2023-01-08 14:21:09 +08:00
patak 3dc20ea2f9 fix: preserve paragraphs when editing a status 2023-01-07 23:42:30 +01:00
Anthony Fu 6944a74653 refactor: html parsing 2023-01-07 10:31:48 +01:00
jviide 5c0e1790fa
fix: sanitize HTML from Mastodon servers (#788) 2023-01-05 08:21:09 +01:00
三咲智子 8983edd1bb
fix: SSR render error on profile page 2023-01-04 17:26:31 +08:00
Vjacheslav Trushkin fa9c418e21
feat: replace emoji with SVGs (#129) (#584)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-01-02 05:53:53 +01:00
Anthony Fu ff0ad77676 fix: insert space around custom emojis 2022-12-27 22:08:48 +01:00
Anthony Fu dc94d707b0 fix: emoji replacement 2022-12-27 21:42:58 +01:00
Anthony Fu 8f68fa12e4 feat: custom emoji font in editor 2022-12-27 20:13:50 +01:00
Joaquín Sánchez 4d21d27f94
feat: render custom server emojis on editor (#579) 2022-12-27 19:38:57 +01:00
Anthony Fu d9b0e85f63 feat: emoji font 2022-12-27 19:37:22 +01:00
Robert van Hoesel f8ebc0e99a
fix: don't decode HTML entities (`&foo;`) until rendering (#465) 2022-12-20 00:23:06 +00:00
Daniel Roe 7887629954
fix: don't parse rich content in display name (#449)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-12-17 21:01:20 +00:00
Daniel Roe 9395b7031e
feat: render app shell with ssr to improve loading experience (#448) 2022-12-17 17:55:29 +01:00