DEV: Allows widgets to extend post-controls (#11897)
This commit is contained in:
parent
792c2b94f6
commit
f6e6ae5e24
|
@ -568,6 +568,15 @@ export default createWidget("post-menu", {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const extraPostControls = applyDecorators(
|
||||||
|
this,
|
||||||
|
"extra-post-controls",
|
||||||
|
attrs,
|
||||||
|
state
|
||||||
|
);
|
||||||
|
|
||||||
|
postControls.push(extraPostControls);
|
||||||
|
|
||||||
const extraControls = applyDecorators(this, "extra-controls", attrs, state);
|
const extraControls = applyDecorators(this, "extra-controls", attrs, state);
|
||||||
const beforeExtraControls = applyDecorators(
|
const beforeExtraControls = applyDecorators(
|
||||||
this,
|
this,
|
||||||
|
|
Loading…
Reference in New Issue