FIX: quoting a section inside expanded reply misattributed

1. expand "in reply to"
2. select text
3. quote reply

Was incorrectly attributed to parent post
This commit is contained in:
Sam 2016-03-30 17:34:31 +11:00
parent 4d5074994c
commit 4d71356e52
1 changed files with 10 additions and 8 deletions

View File

@ -27,6 +27,7 @@ export default createWidget('embedded-post', {
html(attrs, state) {
return [
h('div.reply', {attributes: {'data-post-id': attrs.id}}, [
h('div.row', [
this.attach('post-avatar', attrs),
h('div.topic-body', [
@ -37,6 +38,7 @@ export default createWidget('embedded-post', {
new RawHtml({html: `<div class='cooked'>${attrs.cooked}</div>`})
])
])
])
];
}
});