bevacqua / woofmark

:dog2: Barking up the DOM tree. A modular, progressive, and beautiful Markdown and HTML editor
https://bevacqua.github.io/woofmark
MIT License
1.62k stars 74 forks source link

access to bureaucracy for attaching event listeners #39

Open jywarren opened 7 years ago

jywarren commented 7 years ago

bureaucracy is constructed here: https://github.com/bevacqua/woofmark/blob/master/src/prompts/prompt.js#L111

To attach an event listener and handle successful file upload, I'm wondering if we can return or otherwise expose bureaucracy outside the prompt.js scope, for attaching crossvent handlers.

Apologies for the flurry of issues! Not super high priority.