how can i use `oembed` media tag?
bang-star opened this issue · comments
bang-star commented
Version
Write the version that you are currently using.
- "@toast-ui/editor": "^3.2.2",
Development Environment
Write the browser type, OS and so on.
- vue3+vite
- os: macOs
Current Behavior
Write a description of the current operation. You can add sample code, 'CodePen' or 'jsfiddle' links.
i used other editor. other editor give me media data which has oembed
tag.
so I should use oembed
tag or convert data.
how can i handle oembed
tag?
// Write example code
// data from server.
const content = '<figure class="media"><oembed url="https://youtu.be/ND-lLubP6qM?si=Jqk63hHimKsn2k8a"></oembed></figure>';
Expected Behavior
Write a description of the future action.
convert plugins or solution.