Просмотр исходного кода

activify this.isApplyPukiwikiLikeLinkerPlugin

yusuketk 5 лет назад
Родитель
Сommit
f884fd31b9
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/client/js/components/PageEditor/LinkEditModal.jsx

+ 1 - 2
src/client/js/components/PageEditor/LinkEditModal.jsx

@@ -34,8 +34,7 @@ class LinkEditModal extends React.PureComponent {
       markdown: '',
       markdown: '',
     };
     };
 
 
-    // this.isApplyPukiwikiLikeLinkerPlugin = window.growiRenderer.preProcessors.some(process => process.constructor.name === 'PukiwikiLikeLinker');
-    this.isApplyPukiwikiLikeLinkerPlugin = true;
+    this.isApplyPukiwikiLikeLinkerPlugin = window.growiRenderer.preProcessors.some(process => process.constructor.name === 'PukiwikiLikeLinker');
 
 
     this.show = this.show.bind(this);
     this.show = this.show.bind(this);
     this.hide = this.hide.bind(this);
     this.hide = this.hide.bind(this);