对于PJAX支持不完善的问题 #59
Labels
No Label
Area
Editor
Area
Plugin
Area
Render
Experimental
Kind
Breaking
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Idea
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Irreproducible
Status
Need More Info
Status
Need Test
Status
On Working
Status
Wait Merge
Status
Wait Upstream
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: zhengyi/halo-plugin-vditor#59
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Opened in GitHub by userHenryZeng-Zero
问题描述:
情况1
在目前的设置下,通过Hao主页进入文章
因为使用了pjax,所以并没有触发渲染。
情况2
即使从主页先进入Halo原生编辑器编写的页面
如:https://developer-zeng.com/archives/1704211071862
然后通过侧栏切入:https://developer-zeng.com/archives/1706092867029
依然没有进行渲染
疑惑:
comment in GitHub by user justice2001
关于您提出的疑惑:
comment in GitHub by user justice2001
已经找到问题所在了,核心问题是PJAX跳转时会重新加载渲染脚本,但是新加载的渲染脚本会产生冲突,所以出现了这个问题。
这个问题会在下个版本修复。
在 Hao 主题下渲染代码注入时机不恰当to 对于PJAX支持不完善的问题TODO LIST
pjax.js
=>render.js
render.js
=>render-utils.js
comment in GitHub by user HenryZeng-Zero
十分感谢