Skip to content
Snippets Groups Projects

Refactor the embedded player code injection logic in order to not change the initial structure

Merged Quoc Huy Nguyen Dinh requested to merge fix-spoilers into develop

When adding a video URL in the spoiler code, the current way we inject the embedded player iframe code changes the HTML structure of the original content because it's splitting the original HTML into section and wraps each section inside a DIV. I've refactor this in order to keep the original structure intact.

Prod: https://hive.blog/hive-196233/@tarazkp/spoilers-not-included

Staging: https://staging-blog.hive.io/hive-196233/@tarazkp/spoilers-not-included

Edited by Quoc Huy Nguyen Dinh

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading