mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
10 lines
291 B
CoffeeScript
10 lines
291 B
CoffeeScript
window.PagedownCustom =
|
|
|
|
insertButtons: [
|
|
id: 'wmd-quote-post'
|
|
description: 'Quote Post'
|
|
execute: ->
|
|
# AWFUL but I can't figure out how to call a controller method from outside
|
|
# my app?
|
|
Discourse.__container__.lookup('controller:composer').importQuote()
|
|
]
|