A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: vidoe width set 100%
shuaiaac00fe64800
diff --git a/ui/src/components/Editor/utils/index.ts b/ui/src/components/Editor/utils/index.tsindex a617989b..f12df1fb 100644--- a/ui/src/components/Editor/utils/index.ts+++ b/ui/src/components/Editor/utils/index.ts@@ -141,4 +141,9 @@ export function htmlRender(el: HTMLElement | null) {table.parentNode?.replaceChild(div, table);div.appendChild(table);});++ // video width 100%+ el.querySelectorAll('video').forEach((video) => {+ video.style.width = '100%';+ });}