mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 17:48:48 +00:00
move quote formatting out of react component
This commit is contained in:
@@ -23,4 +23,8 @@ export default class DocumentOffset {
|
||||
asPosition(model) {
|
||||
return model.positionForOffset(this.offset, this.atNodeEnd);
|
||||
}
|
||||
|
||||
add(delta, atNodeEnd = false) {
|
||||
return new DocumentOffset(this.offset + delta, atNodeEnd);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user