mirror of
https://github.com/flarum/core.git
synced 2025-08-08 09:26:34 +02:00
Fix: extend Component in ReplyPlaceholderComponent
This commit is contained in:
committed by
Franz Liedke
parent
6c9971eeba
commit
7e5b40c532
@@ -1,11 +1,15 @@
|
||||
/*global s9e*/
|
||||
|
||||
export default class ReplyPlaceholderPreview {
|
||||
import Component from "../../common/Component";
|
||||
|
||||
export default class ReplyPlaceholderPreview extends Component {
|
||||
view() {
|
||||
return <div className="Post-body" />;
|
||||
}
|
||||
|
||||
oncreate(vnode) {
|
||||
super.oncreate(vnode);
|
||||
|
||||
// Every 50ms, if the composer content has changed, then update the post's
|
||||
// body with a preview.
|
||||
let preview;
|
||||
|
Reference in New Issue
Block a user