【问题标题】:Can I use SVG within a customized the Azure AD B2C user interface?是否可以在自定义的 Azure AD B2C 用户界面中使用 SVG?
【发布时间】:2018-05-31 15:45:53
【问题描述】:

我正在构建一个自定义的Azure AD B2C user interface

我在我的页面中包含了一个 SVG 标记。

<body>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <svg width="100" height="100">
                    <circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" />
                </svg>

                <div id="api"/></div>
            </div>
        </div>
    </div>    
</body>

如果我直接访问该页面,SVG 标记将按预期呈现。如果我访问 Azure AD B2C 流程中的页面,则省略 SVG 标记。

自定义的 Azure AD B2C 用户界面是否支持 SVG?

【问题讨论】:

    标签: html azure svg azure-active-directory azure-ad-b2c


    【解决方案1】:

    不,很遗憾不支持。在此屏幕截图中查看允许的标签:


    用户语音:Stop Blocking Custom HTML Elements and Attributes | Add Angular SSR Support

    猜你喜欢
    • 2021-07-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-11-24
    • 2020-05-23
    • 1970-01-01
    相关资源
    最近更新 更多