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:
parent
4d5074994c
commit
4d71356e52
|
@ -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>`})
|
||||
])
|
||||
])
|
||||
])
|
||||
];
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue