zurb / tribute

ES6 Native @mentions
https://zurb.github.io/tribute/example/
MIT License
2.04k stars 304 forks source link

Attach to SimpleMDE #45

Closed raf66 closed 7 years ago

raf66 commented 7 years ago

Is it possible to attach Tribute to the Simple Markdown Editor "SimpleMDE"? https://github.com/NextStepWebs/simplemde-markdown-editor

mrsweaters commented 7 years ago

Yes, this should be possible as the editor uses CodeMirror under the hood and doesn't rely on iframes. Tribute is not compatible with editors that rely on iframes.

mrsweaters commented 7 years ago

Feel free to reopen if you can't get it to work.

sf-john-kim commented 4 years ago

Got it to work with EasyMDE (built on top of CodeMirror), but The backspace will not update the results, so once you hit backspace/delete, the content stops updating.

juliangay commented 4 years ago

@sf-john-kim Would you mind posting the snippet of how you attached Tribute to the editor? Tx!