Browse Source

activify this.isApplyPukiwikiLikeLinkerPlugin

yusuketk 5 years ago
parent
commit
f884fd31b9
1 changed files with 1 additions and 2 deletions
  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: '',
     };
 
-    // 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.hide = this.hide.bind(this);