Commit Graph

275 Commits (editor.md-upgrade)

Author SHA1 Message Date
gsw945 93441cad0e fix i18n key `logging_in` error 2024-03-27 09:54:19 +08:00
ydf e64bee1e1e
增加 wangEditor v4 的 国际化语言支持,support eng (#923)
* [il8] 增加html 编辑器的英文模式

* [template] add window.lang

* [wangeditor v4] 更新多语音

* [i18n] update eng langure

* [i18n] update eng langure

* update releaseBook langure

---------

Co-authored-by: admin <you@example.com>
2024-01-05 10:45:07 +08:00
Sharklet 71b8e528ff
增加清理附件按钮,对悬空无引用的图片/附件进行清理 (#918)
* add attach_clean & change_theme

* add attach_clean & change_theme

* add

* add readme

---------

Co-authored-by: root <root@DESKTOP-L84EQPB.localdomain>
2023-12-19 13:19:31 +08:00
gsw945 5011aa964f 项目空间数量超过分页数量后不显示的bug修复 2023-08-09 10:51:06 +08:00
gsw945 3d7fdf513b Merge branch 'feature/support-drawio' of https://github.com/seanly/mindoc into seanly-feature/support-drawio 2023-07-03 10:11:41 +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
Seanly Liu ebb5bdb14b implement drawio support
Signed-off-by: Ys Liu <seanly@opsbox.dev>
2023-07-03 00:02:16 +00:00
Ys Liu d7547a85df
Add mte to the Markdown editor to enhance table editing, e.g. https://susisu.github.io/mte-demo/ (#1)
Signed-off-by: Seanly Liu <seanly@opsbox.dev>
2023-06-30 23:30:43 +08:00
Go-Go-Farther 452577ca3d
bugfix:1. 修复加密文章访问,非作者和管理员不能访问的问题。还有密码修改文案。 resolves mindoc-org/mindoc#849 (#867) 2023-06-19 09:30:17 +08:00
Go-Go-Farther c8f7a2a544
修复附件不能下载问题
fixes #850
1. 修复文档为空附件不能下载
2. 修复文档设置为非markdown编辑附件不能下载
3. 兼容现存问题文档
4. 非markdown编辑文档,阅读时增加文档修改信息
2023-06-07 10:04:11 +08:00
LawyZheng 08d0e1613d
重写Auth2.0登录逻辑 (#851)
* go mod update

* feat: change to new wxwork sso login

* fix: can't log in by workwx browser

* fix: workwx auto regist

* fix: change app.conf.example

* fix: workwx account can't be disabled

* fix: workwx account delete

* fix: workwx bind error

* feat: optimize wecom login

* feat: rewrite dingtalk login

* feat: rewrite dingtalk login

* feat: optimize auth2 login
2023-04-20 13:24:28 +08:00
gsw945 725b6ac24e 临时解决阅读页面js报错'menuSetting undefined' 2023-04-17 14:25:11 +08:00
Go-Go-Farther 71d33939eb
bugfix: 统一三种类型编辑器在创建文档时,Modal框提示语不一致问题 2023-03-30 09:39:10 +08:00
gsw945 171b8700f1 修复2个无关紧要的问题
修复前端'javascript:;'跨域报错
修复当前用户角色名不翻译问题
2023-01-29 14:22:36 +08:00
wanghaima 2862cb78c0 1. 打开项目时,左侧目录应按创建文档时的实际选择默认展开或收起 2022-10-28 19:25:20 +08:00
gsw945 b00536f927 移动favicon.ico到static目录 2022-07-20 15:04:01 +08:00
Go-Go-Farther 0b83a53b56 bugfix: 1. 修复私有问题访问bug;2. 重构私有文档访问逻辑代码;3. shell生成zip包中,删除go文件。 resolves mindoc-org/mindoc#751, resolves mindoc-org/mindoc#801 2022-07-05 11:59:23 +08:00
Go-Go-Farther 3ef9801a75 opt&bugfix: 1. 私密文章验证密码Post请求,增加用户判断;2. 对应html页面增加提示文案,防止使用者误解;3. 修正匿名用户不能访问私密文章。Fixes mindoc-org/mindoc#774 2022-06-26 14:42:19 +08:00
Go-Go-Farther db5e853c28 bugfix: 管理后台获取标签列表时,template的range动作使得dot的值变为了element,.Lang访问不到问题修复。 2022-05-29 16:13:37 +08:00
gsw945 8d92550458 fix error `mindoc:runtime error: invalid memory address or nil pointer dereference` 2022-05-18 11:17:03 +08:00
玖亖伍 07204d6d7f 评论功能修复 2022-05-14 20:54:59 +08:00
玖亖伍 a5dfdb4b6e
Merge branch 'master' into master 2022-05-09 18:19:08 +08:00
gsw945 634d640e31 导出页面移除不存在的mermaid.css引用 2022-05-07 18:21:34 +08:00
gsw945 8ff4c28927 Merge branch 'master' of https://github.com/gsw945/mindoc into master 2022-05-07 18:17:38 +08:00
gsw945 0671b0cd40 企业微信登录初步调通 2022-05-07 18:06:46 +08:00
wangbin13 0d0582c37c Merge remote-tracking branch 'upstream/master' 2022-03-05 18:29:59 +08:00
wangbin13 1eccb69105 Update setting.tpl 2022-03-05 18:15:38 +08:00
Augists f3c1c4bd3a html accept docx 2022-02-11 13:42:26 +08:00
Augists a877083e96 add support for importing docx file 2022-02-11 11:10:58 +08:00
gsw945 50888fb134 新版 mermaid 不需要css文件,移除不存在的css引用 2021-12-27 13:40:37 +08:00
玖亖伍 654ec053bc
Merge pull request #732 from jh244212647/master
update mermaid and change editormd.js to editormd.min.js
2021-10-09 18:35:45 +08:00
gsw945 b624fea255 添加iframe支持(conf `enable_iframe`) 2021-10-09 18:23:57 +08:00
gsw945 8515abcd9d markdown编辑页面支持预览跳转 2021-10-09 16:33:11 +08:00
zhang sheng 53714831f0 update mermaid and change editormd.js to editormd.min.js
可以制作饼图 状态图等图形并且更新editormd.js为editormd.min.js
可以使加载更快,min.js使用uglify-js压缩生成
2021-09-30 15:18:05 +00:00
gsw945 6dcc714a3f 历史记录对比模板bug修复 2021-09-09 14:58:59 +08:00
gsw945 482305becd closes #699, closes #707, closes #711, closes #720;修复文档历史查看模板bug 2021-09-09 14:43:54 +08:00
gsw945 2ede417d40 adjust layout and menus for wangEditor 2021-08-31 11:10:29 +08:00
gsw945 354f32be38 update wangEditor 2021-08-25 17:32:31 +08:00
shiqstone 0fb6fcb114 fix bug for i18n and beego v2 2021-04-21 20:44:19 +08:00
shiqstone 4ad0fe74d0 merge from mindoc-org/mindoc and resolved conflict 2021-04-21 20:40:54 +08:00
shiqstone cb70c35037 refactor, fix bug and update i18n(management), to be continue 2021-04-21 12:22:34 +08:00
shiqstone d9e2b0bc8b refactor, fix bug and update i18n(user center), to be continue 2021-04-19 14:32:55 +08:00
shiqstone 93d377f3b9 refactor, fix bug and update i18n(blog), to be continue 2021-04-19 11:24:12 +08:00
shiqstone 25e06a767b refactor, fix bug and update i18n(search), to be continue 2021-04-18 14:45:04 +08:00
shiqstone 7294ba5489 refactor and update i18n (project space), to be continue 2021-04-18 14:25:52 +08:00
shiqstone c4e6ada23a refactor, fix bug and update template i18n, to be continue 2021-04-16 12:46:43 +08:00
shiqstone 26a7793dd8 refactor and update i18n (template), to be continue 2021-04-15 21:27:01 +08:00
shiqstone 78e35ad8a9 refactor and update i18n, to be continue 2021-04-15 19:25:02 +08:00
shiqstone cbe47213d7 refactor and update i18n, to be continue 2021-04-15 11:21:50 +08:00
shiqstone 6eb26fcb23 User
refactor and update i18n, to be continue
2021-04-12 21:12:26 +08:00