mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 04:34:13 -06:00
11 lines
292 B
CoffeeScript
11 lines
292 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()
|
|
]
|