GnoxNahte
b987461c8e
Fix #15 . Embed Twitter profile timelines
...
Note: It doesn't work with non-verified accounts
2024-09-19 23:26:20 +08:00
GnoxNahte
0aa7b19d35
Fix #14 . Don't embed web images
2024-09-19 23:24:42 +08:00
GnoxNahte
bac75210b3
Fix #10 , Fix #11 . Changed how the plugin embeds it, where the embed is placed.
...
Also changed and cleaned up some css for the alt img
2024-09-19 23:23:40 +08:00
GnoxNahte
5f6a947bd4
Don't embed x.com on Obsidian versions 1.7.0 and above
...
Obsidian changelog 1.7.0: https://obsidian.md/changelog/2024-08-08-desktop-v1.7.0/
2024-09-18 08:53:07 +08:00
GnoxNahte
3ec8922f2e
Fix #9 where embeds aren't collapsed when in a collapsed bullet list.
2024-09-16 09:13:24 +08:00
GnoxNahte
46378a81b2
Fix #8 and other small changes to fallback embed
...
- If it's an error embed, just return the element without adding the placeholder.
- Add loading spinning animation.
- Fix opacity animation not working for fallback embed
2024-09-16 08:44:18 +08:00
GnoxNahte
d033541b23
Add download badge
2024-09-08 11:12:03 +08:00
GnoxNahte
10413275d1
Remove duplicated css, Add padding for fallback embed link
2024-09-08 09:41:16 +08:00
GnoxNahte
ccc3e720c4
Update to version 1.2.0
...
This update fixes: https://github.com/GnoxNahte/obsidian-auto-embed/issues/7
This commit also fixes some minor bugs:
- enable twitter by default.
- limits embed width, mostly for small screens.
2024-09-07 15:35:09 +08:00
GnoxNahte
e9104a0d47
Add an option for suggesting to embed when pasting links.
2024-09-07 13:52:34 +08:00
GnoxNahte
51f7eddf8f
Fix extra line below embed not showing
2024-09-07 13:51:20 +08:00
GnoxNahte
c3cfd70668
Redo setting classes for embeds container and embeds
...
Clean up classes made from 87225856d6 . It had duplicate classes on the container and embed.
This commit cleans up that. Now only the container has the class that identifies the type of embed
Also fix various css bugs caused by the container being the embed's parent
2024-09-07 13:51:04 +08:00
GnoxNahte
c3ee60ee66
Add github badges to README
2024-09-05 23:27:50 +08:00
GnoxNahte
87225856d6
Add placeholder when loading and a click to load option
2024-09-05 23:27:14 +08:00
GnoxNahte
05d963ad2e
Merge branch 'main' of https://github.com/GnoxNahte/obsidian-auto-embed
2024-08-25 21:13:23 +08:00
GnoxNahte
e0cae5611b
Some foundation for preload options
...
Switching computers
2024-08-25 21:13:21 +08:00
GnoxNahte
04a21a21b3
Add options to disable selected websites and other minor bugs
...
Minor bugs & additions:
- When the user is on the line to edit the embed and presses down, it'll go straight to the next line instead of the side of the embed. (Changed display to inline). However, if the user presses right when they are on the last character of the line, it'll still go to the side of the embed (still not fixed)
- Add Imgur album support
2024-08-25 21:12:48 +08:00
GnoxNahte
46afb610dd
Add a workaround for Reddit share links not being supported.
2024-08-04 10:46:17 +08:00
GnoxNahte
6278a072ca
Modify changelog
2024-07-18 21:34:33 +08:00
GnoxNahte
831e2bebd2
Update to 1.1.3
2024-07-18 21:31:07 +08:00
GnoxNahte
4e27bb0e05
Fix #6
...
Also add a default height for tiktok to prevent cumulative layout shift
2024-07-18 20:32:48 +08:00
GnoxNahte
e3fa470975
Update to 1.1.2
...
Also slightly modify README.md
2024-07-17 20:29:38 +08:00
GnoxNahte
d0e18dd8bd
Minor fix
...
Remove console output
2024-07-17 20:06:31 +08:00
GnoxNahte
7c9d25c9e9
Fix #5 . Now the plugin will not embed any internal links/images
2024-07-17 20:05:45 +08:00
GnoxNahte
db4fc8e37f
Change some docs (README, CHANGELOG, Supported website list)
2024-07-14 19:53:12 +08:00
GnoxNahte
ca12faa75d
Cache the size for embeds that have dynamic sizes (Imgur, Reddit, TikTok, Twitter/X)
...
Hopefully it should improve [Cumulative Layout Shift](https://web.dev/articles/cls ) for embeds that were loaded previously.
Also fixes https://github.com/GnoxNahte/obsidian-auto-embed/issues/4#issuecomment-2226989583 which was caused by TikTok not sending the resize message sometimes, especially if the time between each request is very short.
2024-07-14 12:03:21 +08:00
GnoxNahte
7c29dd1398
Update to 1.1.1
2024-07-13 20:03:26 +08:00
GnoxNahte
b55a7c4a8e
Add SoundCloud songs embeds #3
2024-07-13 19:49:36 +08:00
GnoxNahte
57224373f6
Fix reddit not resizing properly
...
- Remove auto size setting since it's not needed.
- Modify README to remove the reddit resizing warning and also other minor changes
- Added comments to separate the different websites in styles.css.
- Slightly clean up TikTok's embed code, following cleanup in Reddit's code
2024-07-13 19:21:38 +08:00
GnoxNahte
b47ca410b4
Add TikTok embeds. #4
2024-07-13 13:07:19 +08:00
GnoxNahte
c17f8acd47
Update to 1.1.0
...
Increment minor version because the features for the fallback (unsupported websites) embed is mostly done.
2024-07-07 11:23:41 +08:00
GnoxNahte
75a277717d
Modify README
...
Add info on how it will work if the user uses a unsupported website.
2024-07-07 11:14:46 +08:00
GnoxNahte
ab264df823
Change setting for "Adding default embed link" to "Setting default embed link text"
...
Allows the user to set default text for the link.
2024-07-07 10:48:06 +08:00
GnoxNahte
fa2bb8a0ca
Add alt text to default fallback bottom link
2024-06-28 23:31:27 +08:00
GnoxNahte
7e8c663fae
Fix resizing bug for fallback embed
2024-06-28 20:08:45 +08:00
GnoxNahte
cec33f8f97
Update to 1.0.7
2024-06-08 20:53:32 +08:00
GnoxNahte
256ebecf5c
Minor changes to README
2024-06-08 20:47:49 +08:00
GnoxNahte
5c7a19baeb
Adds an option to have a link below the default fallback embed
2024-06-08 20:38:53 +08:00
GnoxNahte
dd3e65dda1
Update to 1.0.6
2024-06-08 17:31:30 +08:00
GnoxNahte
dbb55022e0
Add support for embedding Google Docs
2024-06-08 17:22:31 +08:00
GnoxNahte
cf2db1ee02
Remove unused code and add a catch when reddit can't be embedded
2024-06-08 15:56:51 +08:00
GnoxNahte
ad30a9b302
Don't override embeds when embedding image urls (urls ending with an image extension like .png or .jpg)
2024-06-08 15:21:40 +08:00
GnoxNahte
bac1efc6b9
Update README.md with features request google form
2024-05-26 21:20:17 +08:00
GnoxNahte
0d9fc8e602
Update to 1.0.5
2024-05-04 18:18:49 +08:00
GnoxNahte
6a5cb910da
Add size options for fallback embed
2024-05-04 17:47:28 +08:00
GnoxNahte
9e9dd71a48
Modify CHANGELOG for 1.0.4
2024-04-12 13:35:27 +08:00
GnoxNahte
2d4efa68e7
Increment version to 1.04
2024-04-12 13:09:49 +08:00
GnoxNahte
53f676a769
Add commands "Add embed" and "Mark to embed"
...
- Add Embed: Adds the markdown "![]()" and places the cursor inside the brackets. Similar to Obsidian's "Insert Markdown Link".
- Mark to embed: Add the markdown on the link the cursor is on to be embedded.
2024-04-12 12:53:51 +08:00
GnoxNahte
58323e49aa
Increment version to 1.0.3
2024-04-05 23:07:07 +08:00
GnoxNahte
5e3cf5af35
Fix bug when options don't apply when embedding unsupported links
2024-04-05 22:56:36 +08:00