I can modify editor.js and also attachment_manager.js — that's not a problem for me.
What I need to figure out is how to make both scripts communicate with each other.
Ideally, I want a shared mechanism that allows Script A to set values that Script B can retrieve, and vice versa. Maybe the...