claude-memory/graph/solutions/foundry-v13-prosemirror-editor-fix-eb9e1c.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

13 lines
727 B
Markdown

---
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 <prose-mirror> 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.