Skip to content

Commit

Permalink
v1.2.0 接管首页摘要Markdown解析
Browse files Browse the repository at this point in the history
  • Loading branch information
DT27 committed Sep 9, 2016
1 parent fc10646 commit 6e77814
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* @package EditorMD
* @author DT27
* @version 1.1.1
* @version 1.2.0
* @link https://dt27.org
*/
class EditorMD_Plugin implements Typecho_Plugin_Interface
Expand All @@ -24,6 +24,7 @@ public static function activate()
Typecho_Plugin::factory('admin/write-page.php')->richEditor = array('EditorMD_Plugin', 'Editor');

Typecho_Plugin::factory('Widget_Abstract_Contents')->content = array('EditorMD_Plugin', 'content');
Typecho_Plugin::factory('Widget_Abstract_Contents')->excerpt = array('EditorMD_Plugin', 'content');
Typecho_Plugin::factory('Widget_Archive')->footer = array('EditorMD_Plugin','footerJS');
}

Expand Down
Loading

0 comments on commit 6e77814

Please sign in to comment.