mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 01:05:00 +00:00
commit
7515f4eec2
@ -552,6 +552,7 @@ export default Ember.Component.extend({
|
|||||||
applySurround: (head, tail, exampleKey, opts) => this._applySurround(selected, head, tail, exampleKey, opts),
|
applySurround: (head, tail, exampleKey, opts) => this._applySurround(selected, head, tail, exampleKey, opts),
|
||||||
applyList: (head, exampleKey) => this._applyList(selected, head, exampleKey),
|
applyList: (head, exampleKey) => this._applyList(selected, head, exampleKey),
|
||||||
addText: text => this._addText(selected, text),
|
addText: text => this._addText(selected, text),
|
||||||
|
replaceText: text => this._addText({pre: '', post: ''}, text),
|
||||||
getText: () => this.get('value'),
|
getText: () => this.get('value'),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user