This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/components/composer-text-area.js.es6
2014-06-24 16:53:10 -04:00

17 lines
440 B
JavaScript

export default Ember.TextArea.extend({
elementId: 'wmd-input',
placeholder: function() {
return I18n.t('composer.reply_placeholder');
}.property('placeholderKey'),
_signalParentInsert: function() {
return this.get('parentView').childDidInsertElement(this);
}.on('didInsertElement'),
_signalParentDestroy: function() {
return this.get('parentView').childWillDestroyElement(this);
}.on('willDestroyElement')
});