- 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
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
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
- 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
- Add common iframe attributes in embedBase, avoiding duplicate code
- Partially fix reddit resizing bug by lazy loading it. Still occurs when there are multiple reddit embeds in the user's view
- support more imgur urls
- remove min-height from css to allow user-set heights