mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-12-21 19:29:53 +08:00
add froala (#945)
* update images upload * modify js res.url * add froala * froala-editor.js
This commit is contained in:
@@ -164,7 +164,8 @@ func (c *BookController) SaveBook() {
|
||||
if !models.NewItemsets().Exist(itemId) {
|
||||
c.JsonResult(6006, i18n.Tr(c.Lang, "message.project_space_not_exist"))
|
||||
}
|
||||
if editor != EditorMarkdown && editor != EditorCherryMarkdown && editor != EditorHtml && editor != EditorNewHtml {
|
||||
// if editor != EditorMarkdown && editor != EditorCherryMarkdown && editor != EditorHtml && editor != EditorNewHtml {
|
||||
if editor != EditorMarkdown && editor != EditorCherryMarkdown && editor != EditorHtml && editor != EditorNewHtml && editor != EditorFroala {
|
||||
editor = EditorMarkdown
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user