Commit Graph

39 Commits (faa96c7705b926b76c4ef2888b118905e7ead335)

Author SHA1 Message Date
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
Daniel Roe b545efeacc
fix: revert removal of parsing rich content in display name
This reverts commit 5be48b102f.
2022-12-17 16:06:45 +00:00
三咲智子 5be48b102f
fix: don't parse rich content in display name
closes #445
2022-12-17 22:30:39 +08:00
Anthony Fu 0ef44cdf50 refactor: reorganize modules 2022-12-13 15:03:36 +01:00