mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 03:20:46 +02:00
Print with embed (#5109)
This commit is contained in:
@@ -18,6 +18,7 @@ import {
|
||||
SearchActions,
|
||||
ExportActions,
|
||||
BookmarkActions,
|
||||
PrintActions,
|
||||
} from '@app/contexts/viewer/viewerActions';
|
||||
import {
|
||||
BridgeRef,
|
||||
@@ -125,6 +126,7 @@ interface ViewerContextType {
|
||||
searchActions: SearchActions;
|
||||
exportActions: ExportActions;
|
||||
bookmarkActions: BookmarkActions;
|
||||
printActions: PrintActions;
|
||||
|
||||
// Bridge registration - internal use by bridges
|
||||
registerBridge: <K extends BridgeKey>(
|
||||
@@ -277,6 +279,7 @@ export const ViewerProvider: React.FC<ViewerProviderProps> = ({ children }) => {
|
||||
searchActions,
|
||||
exportActions,
|
||||
bookmarkActions,
|
||||
printActions,
|
||||
} = createViewerActions({
|
||||
registry: bridgeRefs,
|
||||
getScrollState,
|
||||
@@ -333,6 +336,7 @@ export const ViewerProvider: React.FC<ViewerProviderProps> = ({ children }) => {
|
||||
searchActions,
|
||||
exportActions,
|
||||
bookmarkActions,
|
||||
printActions,
|
||||
|
||||
// Bridge registration
|
||||
registerBridge,
|
||||
|
||||
Reference in New Issue
Block a user