Bilibili Tech
Bilibili Tech
Mar 12, 2026 · Frontend Development

Turning Canvas Snapshots into Real Video Cards with ProseMirror

This article recounts Bilibili’s evolution from using Canvas‑based screenshot tricks to render video cards in the Quill editor to adopting ProseMirror with Tiptap, detailing the technical debt, the new schema and NodeView architecture, performance optimizations, batch link validation, and strategies for backward compatibility and real‑time interactive components.

PerformanceProseMirrorfrontend
0 likes · 17 min read
Turning Canvas Snapshots into Real Video Cards with ProseMirror