1.修改帮助显示,变更帮助页面实现,采用markdown格式文件

2.添加markdown工具栏国际化
This commit is contained in:
wangwenrui
2019-01-27 11:02:55 +08:00
parent e1efb84e1f
commit da9744d60d
127 changed files with 20111 additions and 765 deletions

View File

@@ -113,9 +113,8 @@ public class SystemController extends BaseController{
public boolean saveHelp(HttpServletRequest request, HttpServletResponse response,ModelMap model,@RequestParam(required=true,value="editedHelpInfo")String editedHelpInfo,@RequestParam(required=true,value="helpHrefVal")String helpHrefVal){
try {
StringBuffer helpInfo=new StringBuffer("<!DOCTYPE html>");
StringBuffer helpInfo=new StringBuffer();
helpInfo.append(URLDecoder.decode(editedHelpInfo,"utf-8"));
helpInfo.append("</html>");
String htmlName=URLDecoder.decode(helpHrefVal,"utf-8");
String htmlPath=request.getServletContext().getRealPath("/")+htmlName;