-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
bug:extensionIssues about widgets, comment, share, search, and plugins.Issues about widgets, comment, share, search, and plugins.
Description
Bug描述
When comment plugin loads its .js and .css files, widgets on the left would not be shown until comment plugin files are loaded.
当评论插件加载.js 和 .css文件时,左侧的Widgets被阻塞渲染。
系统与环境
themes/icarus/layout/layout.jsx
https://github.com/ppoffice/hexo-theme-icarus/blob/master/layout/layout.jsx#L32
<div class={classname({
column: true,
'order-2': true,
'column-main': true,
'is-12': columnCount === 1,
'is-8-tablet is-8-desktop is-9-widescreen': columnCount === 2,
'is-8-tablet is-8-desktop is-6-widescreen': columnCount === 3
})} dangerouslySetInnerHTML={{ __html: body }}></div> // Blocking when loading comment plugin
<Widgets site={site} config={config} helper={helper} page={page} position={'left'} />
<Widgets site={site} config={config} helper={helper} page={page} position={'right'} />期望行为
Widgets would not be blocked by comment plugin.
左侧Widgets可以在页面打开时正确展示。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug:extensionIssues about widgets, comment, share, search, and plugins.Issues about widgets, comment, share, search, and plugins.

