WNomunomu 2 лет назад
Родитель
Сommit
5db71ea09c
1 измененных файлов с 0 добавлено и 6 удалено
  1. 0 6
      apps/app/src/client/services/renderer/renderer.tsx

+ 0 - 6
apps/app/src/client/services/renderer/renderer.tsx

@@ -235,12 +235,6 @@ export const generatePresentationViewOptions = (
 ): RendererOptions => {
 ): RendererOptions => {
   // based on simple view options
   // based on simple view options
   const options = generateSimpleViewOptions(config, pagePath);
   const options = generateSimpleViewOptions(config, pagePath);
-  const { remarkPlugins, rehypePlugins, components } = options;
-
-  // add components
-  if (components != null) {
-    components.img = LightBox;
-  }
 
 
   if (config.isEnabledXssPrevention) {
   if (config.isEnabledXssPrevention) {
     verifySanitizePlugin(options, false);
     verifySanitizePlugin(options, false);