nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.

Home Page:http://ui.toast.com/tui-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can i use `oembed` media tag?

bang-star opened this issue · comments

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.