Change API of track revisions to declarative

This commit is contained in:
Dolan
2020-11-04 00:00:16 +00:00
parent 37e610d2b3
commit 34b2029efe
4 changed files with 37 additions and 12 deletions

View File

@ -170,6 +170,12 @@ export class File {
this.hyperlinkCache = cache;
}
if (options.features) {
if (options.features.trackRevisions) {
this.settings.addTrackRevisions();
}
}
}
public addSection({