Turn Run into a declaritive API
This commit is contained in:
@ -3,9 +3,10 @@ import { FootnoteRef } from "./footnote-ref";
|
||||
|
||||
export class FootnoteRefRun extends Run {
|
||||
constructor() {
|
||||
super();
|
||||
super({
|
||||
style: "FootnoteReference",
|
||||
});
|
||||
|
||||
this.style("FootnoteReference");
|
||||
this.root.push(new FootnoteRef());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user