move quote formatting out of react component
This commit is contained in:
parent
b72d1a78ec
commit
b35a3531bb
5 changed files with 55 additions and 57 deletions
|
@ -33,6 +33,10 @@ export default class Range {
|
|||
this._start = this._start.backwardsWhile(this._model, predicate);
|
||||
}
|
||||
|
||||
get model() {
|
||||
return this._model;
|
||||
}
|
||||
|
||||
get text() {
|
||||
let text = "";
|
||||
this._start.iteratePartsBetween(this._end, this._model, (part, startIdx, endIdx) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue