瀏覽代碼

activify this.isApplyPukiwikiLikeLinkerPlugin

yusuketk 6 年之前
父節點
當前提交
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: '',
     };
 
-    // 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);