编辑器编写代码块出现闪屏问题 #22
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
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: zhengyi/halo-plugin-vditor#22
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?
非常神奇,Vditor本体并不会触发资源重写,但时在halo中却出现了github.css重写,也没有找到对应的源码
问题结论,Vditor的
addStyle
方法会判断样式的href是否和cdn一致,但从dom中获取的href包含了网址信息, 而插件提供的则为静态信息,因此导致Vditor认为样式不一致而触发样式重载。