Etherpad 安装插件

首先Etherpad是个好项目!

几乎可以称为Google Docs的本地版本.

然后今天发现Etherpad别有洞天地有一个管理接口, 只需要改一下目录里的settings.json

把默认的admin什么的用户打开就行了

然后就可以通过访问<url>/admin来进行插件安装管理啦.

插件推荐

可参考这两篇文章1 2

ep_aa_file_menu_toolbar, ep_adminpads, ep_colors, ep_clear_authorship_no_prompt, 
ep_headings, ep_historicalsearch, ep_markdownify, ep_markdown, 
ep_mathjax, ep_page_view, ep_print, ep_prompt_for_name, 
ep_timesliderdiff, ep_tasklist, ep_tables

Bug Fix

貌似Etherpad.org上提供的Windows发行包的admin中plugin搜索功能有问题, 需要手动修复一下.

参考Github Issue

Windoes package errors and exits the server when the “plugin manager” under admin (http://127.0.0.1:9001/admin/plugins) is viewed (simple auth completed for an admin user).

Blows up when data.versions is a non-object and quits: “TypeError: Object.keys called on non-object”

Bug found in: ~\etherpad-lite-win\node_modules\ep_etherpad-lite\node_modules\npm\lib\search.js line 89

Was:

 , version: Object.keys(data.versions)[0] || []

My local fix:

 , version: Object.keys(data.versions || {})[0] || []