Commit Graph

182 Commits (710d5bcf50f9988ac1c6ddc526d515225adedca3)

Author SHA1 Message Date
zhanzhenping 710d5bcf50
feat: 实现首页项目拖拽排序功能以及部分功能优化 (#955)
* feat: 首页项目拖拽排序功能

* feat: 增加首页项目拖拽排序增加只能管理员进行, 排序失败元素回到原本位置

* perf: 新建文章以后直接进入到编辑文章页面

* perf: 优化文档打开时或刷新时样式闪动问题
2024-07-04 09:43:33 +08:00
hotqin888 66cd615461
update cherry-markdown.js&cherry_markdown.js (#947)
* update images upload

* modify js res.url

* add froala

* froala-editor.js

* update cherry-markdown&cherry_markdown.js
2024-06-11 18:52:03 +08:00
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
hotqin888 db620be8df
update images upload (#944)
* update images upload

* modify js res.url
2024-06-03 10:58:07 +08:00
hotqin888 22589e344c
add prev&next read (#941)
* add prev&next read
* add prev&next in default read.tpl
* update prev&next
2024-05-09 13:33:27 +08:00
张胜 c810f81fc1
cherry markdown支持上传图片pdf以及word (#936)
* 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

* fix: cherry display not complete

* support upload pdf&word&picture

* support upload pdf&word&picture

---------

Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
2024-04-19 13:18:14 +08:00
ydf 5504c4350b
[bug] fix kancloud js & firefox show style & fix search highlight (#926)
Co-authored-by: admin <you@example.com>
2024-01-09 19:54:31 +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
xiangshenb 663eb28de2
修复python代码库异步请求获取数据的时候高亮显示问题 (#920)
* 修复代码库读取缓存数据不高亮的问题

* 代码块重复点击高亮样式问题修复

---------

Co-authored-by: xiangshen <xiangshen@gw.com.cn>
2024-01-05 10:42:25 +08:00
xiangshenb d1b2476092
修复代码库读取缓存数据不高亮的问题 (#919)
Co-authored-by: xiangshen <xiangshen@gw.com.cn>
2023-12-19 13:19:47 +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
张胜 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
张胜 2e3aebe315
update cherry-markdown and update editormd code block style (#888)
* 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

---------

Co-authored-by: zhangsheng.93 <zhangsheng.93@bytedance.com>
2023-08-21 15:09:47 +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
wanghaima d3993a2f08 1.迁移表时添加字段注释
2.修复游客状态评论接口报空指针的问题
2022-10-28 12:33:36 +08:00
gsw945 b00536f927 移动favicon.ico到static目录 2022-07-20 15:04:01 +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
wangbin13 0d0582c37c Merge remote-tracking branch 'upstream/master' 2022-03-05 18:29:59 +08:00
zhang sheng 88d2207abe fix last item be cover after add view_count feature
修复增加阅读次数后,目录最后一项会被盖住的问题
2021-11-01 22:44:25 +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
玖亖伍 c4d05d2a25
Merge pull request #735 from gsw945/master
add iframe support
2021-10-09 18:31:38 +08:00
gsw945 b624fea255 添加iframe支持(conf `enable_iframe`) 2021-10-09 18:23:57 +08:00
gsw945 019b4e8e1b wangEditor编辑器层级错误bug修复 2021-10-09 15:06:07 +08:00
Gogs 65cd6b96b8 mindmap add custom-height setting
用户可以通过在```mindmap后追加>number的格式设定思维导图的高度
例如```mindmap>600即设定整体思维导图高度为600px
2021-10-08 17:27:44 +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
zhangsheng 1290dea30d feature-mindmap: editor.md add mindmap
主要在markdown编辑器中增加思维导图渲染方式,引入markmap开源组件
2021-09-24 14:37:52 +00: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 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 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
wangbin05 27dea7b8bd 提交评论时,判断文章是否存在。删除时判断是否有权限删除。 2021-04-04 16:44:14 +08:00
wangbin05 3d12583eba 增加删除评论 2021-04-03 22:44:43 +08:00
wangbin05 7fb0e66ddc 增加评论功能 2021-04-03 17:40:08 +08:00
wangbin05 5b274ce836 增加文章阅读次数 2021-03-31 19:32:18 +08:00
LawyZHENG 5404db07eb "dingtalk QR login" frontend 2021-03-25 16:30:12 +08:00
LawyZHENG 3ca09b7cbf 钉钉初步免登,移动端样式优化 2021-03-18 15:02:19 +08:00
lifei6671 b510a45908 feat:1、实现空节点功能,当文档标记为空目录时不加载内容页无法编辑内容
2、实现HTTP接口方式登录,
3、优化markdown编辑器部分功能
2019-05-20 17:38:37 +08:00
lifei6671 492b712cc2 fix:解决锚标记刷新页面丢失问题。 2019-04-23 15:36:32 +08:00
lifei6671 87019f7e0d refactor:优化样式 2019-04-08 16:37:47 +08:00
lifei6671 b1979a3fdb feat:增加对svg图片格式支持 2019-03-11 17:36:45 +08:00
lifei6671 1a40caaa6c feat:1、增加项目搜索
2、移除对项目标签和项目令牌的支持
2019-01-15 19:36:11 +08:00
lifei6671 437b11614e feat:优化流程图过大导致的撑破页面的问题 2018-11-28 17:33:22 +08:00
lifei6671 bf5ec20eaa perf:优化json转换工具 2018-11-21 18:10:25 +08:00
lifei6671 835a8a15d0 feat:新增json转table工具 2018-11-21 18:07:24 +08:00