Draw.io Integration Plugin Fails with Custom Editor API Error

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The Draw. io Integration plugin (hediet.vscode-drawio) fails to open .drawio files in Cursor with an assertion error, while the same plugin works perfectly in vanilla VS Code.

Steps to Reproduce

Install Cursor 2.2.20
Install the “Draw. io Integration” plugin (hediet.vscode-drawio) from the extension marketplace
Create or open any .drawio file
Observe the error

Expected Behavior

The .drawio file should open in the Draw. io editor within Cursor, just as it does in vanilla VS Code.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Cursor Version: 2.2.20 (commit: b3573281c4775bfc6bba466bf6563d3d498d1070)
Build Date: 2025-12-12
OS: Windows 10 (10.0.19045) x64
Plugin: hediet.vscode-drawio v1.6.6-universal
VS Code Version (for comparison): 1.107.0 (works fine)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey there.

Looks like this came out in January 2023. Have you tried the latest version (v1.9.250226013
)? As somebody completely unfamilar with drawio, it seems to work well for me on Cursor 2.2!

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.