mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
14 lines
385 B
JavaScript
14 lines
385 B
JavaScript
/*global Markdown:true*/
|
|
|
|
window.PagedownCustom = {
|
|
insertButtons: [
|
|
{
|
|
id: 'wmd-quote-post',
|
|
description: I18n.t("js.composer.quote_title"),
|
|
execute: function() {
|
|
// AWFUL but I can't figure out how to call a controller method from outside our app
|
|
return Discourse.__container__.lookup('controller:composer').importQuote();
|
|
}
|
|
}
|
|
]
|
|
};
|