|
|
@@ -97,6 +97,9 @@ const ArticleWidget = ({
|
|
|
if (typeof onLoad !== "undefined") {
|
|
|
onLoad(data);
|
|
|
}
|
|
|
+ if (typeof onTitle !== "undefined") {
|
|
|
+ onTitle(data.title);
|
|
|
+ }
|
|
|
}}
|
|
|
onAnthologySelect={(id: string) => {
|
|
|
if (typeof onAnthologySelect !== "undefined") {
|
|
|
@@ -114,6 +117,11 @@ const ArticleWidget = ({
|
|
|
onArticleChange(type, id, target);
|
|
|
}
|
|
|
}}
|
|
|
+ onTitle={(value: string) => {
|
|
|
+ if (typeof onTitle !== "undefined") {
|
|
|
+ onTitle(value);
|
|
|
+ }
|
|
|
+ }}
|
|
|
/>
|
|
|
) : type === "term" ? (
|
|
|
<TypeTerm
|