Commit Graph

44 Commits (ad5e871a0f6a2b2774964a95f87505a460e662a9)

Author SHA1 Message Date
hotqin888 0ce6c5bbf9
add froala (#945)
* update images upload

* modify js res.url

* add froala

* froala-editor.js
2024-06-05 13:17:08 +08:00
张胜 77fccc637a
fix: cherry_markdown error (#908)
* fix: first open document, cherryMarkdown not have theme

* fix: modify prismjs style and improve image clarity

* update cherry-markdown

* optimiztion: cherry-markdown

* feat: cherry-markdown add auto-save and update icon

* fix: the mobile phone displays abnormally and Markdown does not allow conversion

---------

Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
2023-11-20 17:31:45 +08:00
张胜 21fe4b631a
markdown编辑器增加cherryMarkdown
* 使用cherryMarkdown替换editorMd

* 支持历史&边栏

* 优化代码&支持html格式渲染为预览格式&保存主题配置

* 修复drawio异常

* 优化drawio异常改法

* 自定义提示面板主题颜色

* drawio增加样式,并且更新到最新版本

* 增加代码块复制功能&&修复drawio渲染图片过大&&drawio生成图片背景改为透明

* 恢复原有markdown编辑器,新增cherry markdown编辑器

* 修复复制功能异常

* 修复drawio偶尔无法编辑

---------

Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
2023-07-03 09:41:27 +08:00
Rebellioncry ade6734779 修复只有第一次导入docx文件有效问题 2022-11-30 14:15:12 +08:00
wangbin13 0d0582c37c Merge remote-tracking branch 'upstream/master' 2022-03-05 18:29:59 +08:00
Augists a877083e96 add support for importing docx file 2022-02-11 11:10:58 +08:00
玖亖伍 1609d385c0
Merge pull request #724 from xieyg7919/master
修复项目图标上传的BUG
2021-09-28 13:48:48 +08:00
xieyg7919 3a7ef4e153 修复项目图标上传的BUG
1.BookController.go中344行,拼接上传图片保存路径时未拼接working directory
2.graphics目录下copy.go文件11行,ImageCopy方法增加image.Paletted类型的处理
2021-09-07 17:06:20 +08:00
gsw945 354f32be38 update wangEditor 2021-08-25 17:32:31 +08:00
shiqstone f02ff935fe update for init i18n 2021-04-21 22:00:03 +08:00
shiqstone 4ad0fe74d0 merge from mindoc-org/mindoc and resolved conflict 2021-04-21 20:40:54 +08:00
shiqstone 6eb26fcb23 User
refactor and update i18n, to be continue
2021-04-12 21:12:26 +08:00
wangbin8909 b21035bbfd Merge remote-tracking branch 'upstream/master' 2021-04-11 17:19:54 +08:00
shiqstone a5682f1308 refactor and update i18n, to be continue 2021-04-11 01:20:47 +08:00
wangbin05 7fb0e66ddc 增加评论功能 2021-04-03 17:40:08 +08:00
shiqstone 782ea44388 refactor, replace beego.Error with logs.Error 2021-03-30 14:24:14 +08:00
roberChen 967ef37ce9 chore: use core/logs
- depretace all adapter/logs to core/logs
2021-03-26 14:26:19 +08:00
roberChen 916c9c6c2a fix(models): use client/orm instead of adapter/orm
- using new orm api, change some related logics
- newer orm api has the concept of TxOrmer, for purpose of transaction
handling. A transaction ormer in v2 is a stateful object, it should be
dropped after using. A Ormer object is stateless and thread(routine)
    safe, and should not be used for transaction handling. More details
    count be found at official doc:
    https://beego.me/docs/mvc/model/orm.md, and pr note: https://github.com/mindoc-org/mindoc/pull/662#issuecomment-807040262
2021-03-26 11:34:02 +08:00
roberChen 9babd8106c chore: clean import errors for beego update 2021-03-24 00:28:13 +08:00
roberChen 90c1329de2 chore!(all): attempt to update beego to v2
BREAKING CHANGE: beego has update to v2, and this version of mindoc IS
NOT TESTED AND STABLE!!!
2021-03-23 21:55:50 +08:00
roberChen 79f70d830d chore!(all): update go import path
BREAKING CHANGE: use github.com/mindoc-org/mindoc as import path
2021-03-23 15:09:17 +08:00
lifei6671 b510a45908 feat:1、实现空节点功能,当文档标记为空目录时不加载内容页无法编辑内容
2、实现HTTP接口方式登录,
3、优化markdown编辑器部分功能
2019-05-20 17:38:37 +08:00
lifei6671 d8e56548ea perf:过滤内容中的非法字符,增强安全性 2019-05-20 12:08:14 +08:00
lifei6671 1a40caaa6c feat:1、增加项目搜索
2、移除对项目标签和项目令牌的支持
2019-01-15 19:36:11 +08:00
lifei6671 d735ea27ca fix:优化搜索 2018-12-24 15:23:17 +08:00
lifei6671 1b6c7e4793 fix:修复mysql兼容问题 2018-11-26 18:54:50 +08:00
lifei6671 6a7f902e81 perf:创建项目时增加默认项目空间 2018-11-21 18:15:48 +08:00
lifei6671 f1957dd9c0 feat:优化项目空间样式 2018-11-21 11:03:16 +08:00
lifei6671 9b0c649738 feat:超级管理员可修改项目集和项目密码 2018-11-20 20:55:04 +08:00
lifei6671 91df6bb024 feat:实现项目集功能 2018-11-20 20:36:14 +08:00
lifei6671 2d3b0ab674 fix:1、修复项目设置没有权限但团队可见的问题
2、修复删除项目团队失败的BUG
2018-11-15 18:31:02 +08:00
lifei6671 7b3e4f0672 feat:实现项目密码访问功能 2018-11-14 15:57:55 +08:00
lifei6671 0f705f0249 feat:实现项目团队加入功能 2018-11-12 21:01:59 +08:00
lifei6671 64edcf97ce feat:实现团队功能 2018-11-08 20:08:30 +08:00
lifei6671 d152455c50 feat:实现团队功能 2018-11-06 18:38:18 +08:00
lifei6671 bb7d1c1503 feat:1、实现文档自动保存
2、实现记住上次打开的文档,当文档编辑时会自动定位到上次打开的文档。
2018-08-17 17:33:45 +08:00
lifei6671 aa2842cdf8 feat:1、实现自定义模板功能
2、实现项目附件和图片按照项目组织
3、优化自动发布功能解决大项目发布时的性能问题
4、修复删除项目没有删除附件的问题
5、增加项目封面大小
6、增加部分项目操作日志
2018-08-14 15:57:52 +08:00
lifei6671 790b2aa611 feat:实现自定义模板功能 2018-08-13 19:05:49 +08:00
lifei6671 5b5d150d8a 解决复制项目权限校验BUG 2018-07-13 10:40:42 +08:00
lifei6671 ebf36e6146 增加项目导出目录配置,可自定义导出的缓存目录 2018-07-11 11:30:48 +08:00
lifei6671 c5fb0c760b 实现项目复制功能 2018-07-10 18:53:41 +08:00
Minho 26ee92c92b 增加更多的输出日志 2018-04-03 11:20:34 +08:00
Minho 6a49b8a42f 实现导入Markdown 2018-03-25 14:59:42 +08:00
Minho 3c87a12bdd 1、实现压缩包的Markdown文件导入
2、重命名文件
2018-03-24 22:36:35 +08:00