diff --git a/docs/.vitepress/config/index.mts b/docs/.vitepress/config/index.mts index 6200874d27..e38e45e1ef 100644 --- a/docs/.vitepress/config/index.mts +++ b/docs/.vitepress/config/index.mts @@ -85,5 +85,24 @@ const config: UserConfig = { }, }, }, + + postRender(context) { + // Inject the teleport markup + if (context.teleports) { + const body = Object.entries(context.teleports).reduce( + (all, [key, value]) => { + if (key.startsWith('#el-popper-container-')) { + return `${all}