We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CommentPost
1 parent 87637b8 commit 0895578Copy full SHA for 0895578
framework/core/js/src/forum/components/CommentPost.js
@@ -47,12 +47,23 @@ export default class CommentPost extends Post {
47
}
48
49
content() {
50
- return super.content().concat([
+ return super.content().concat(this.contentItems().toArray());
51
+ }
52
+
53
+ contentItems() {
54
+ const items = new ItemList();
55
56
+ items.add(
57
+ 'header',
58
<header className="Post-header">
59
<ul>{listItems(this.headerItems().toArray())}</ul>
60
</header>,
- <div className="Post-body">{this.bodyItems().toArray()}</div>,
- ]);
61
+ 100
62
+ );
63
64
+ items.add('body', <div className="Post-body">{this.bodyItems().toArray()}</div>, 90);
65
66
+ return items;
67
68
69
bodyItems() {
0 commit comments