Skip to content

Commit

Permalink
fix: add local image case for versions after 0.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahad-patel committed Oct 21, 2024
1 parent 5c6b18b commit bf6b3ef
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,14 @@ class EditorMigration {
},
};
}
} else {
extra = {
ViewExtKeys.coverKey: {
ViewExtKeys.coverTypeKey:
PageStyleCoverImageType.localImage.toString(),
ViewExtKeys.coverValueKey: coverDetails,
},
};
}
break;
default:
Expand Down

0 comments on commit bf6b3ef

Please sign in to comment.