--- id: eb9e1c56-3387-4ee1-8879-c93e5b97404c type: solution title: "Foundry v13 ProseMirror editor fix" tags: [vagabond-rpg, foundry-vtt, prosemirror, fix] importance: 0.7 confidence: 0.8 created: "2025-12-15T21:36:28.206205+00:00" updated: "2025-12-15T21:36:28.206205+00:00" --- Fixed ProseMirror editors not working in Foundry v13 ApplicationV2 item sheets. The {{editor}} Handlebars helper doesn't work with ApplicationV2 - must use custom element instead. Also need to use foundry.applications.ux.TextEditor.implementation.enrichHTML() for preparing rich text content (global TextEditor is deprecated). Wrapper div must be named differently than Foundry's internal .editor-container to avoid CSS conflicts.