diff --git a/.bowerrc b/.bowerrc new file mode 100644 index 00000000..cabe7fcb --- /dev/null +++ b/.bowerrc @@ -0,0 +1,3 @@ +{ + "directory": "lib/bower" +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 84659b06..5889460e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ _drafts/ native-support/archive/src/tmp/ native-support/archive/upload/ ui/theme/default/css/*.css -ui/theme/default/css/*.css.map \ No newline at end of file +ui/theme/default/css/*.css.map +lib/bower/ \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index d07e504a..b2aaabd9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,9 @@ [submodule "lib/fio"] path = lib/fio url = https://github.com/fex-team/fio +[submodule "lib/umeditor"] + path = lib/umeditor + url = https://github.com/fex-team/umeditor +[submodule "lib/marked"] + path = lib/marked + url = https://github.com/chjj/marked.git diff --git a/CHANGELOG.md b/CHANGELOG.md index b429caab..19c0b9ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # KityMinder 更新日志 +## v1.3.4 + +### 功能更新 + +1. 支持节点备注(GFM 格式) +2. 支持更多快捷选择 +3. 支持展开到更多层次的快捷操作 + ## v1.3.3 ### 功能更新 diff --git a/Gruntfile.js b/Gruntfile.js index a1d5ef36..1a7be5f9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -131,12 +131,21 @@ module.exports = function(grunt) { }] }, - noCache: { + pageNoCache: { src: distPages, overwrite: true, replacements: [{ - from: /src=\"(.+?)\.js\"/ig, - to: 'src="$1.js?_=' + (+new Date()) + '"' + from: /(src|href)=\"(.+?)\.(js|css)\"/ig, + to: '$1="$2.$3?_=' + (+new Date()) + '"' + }] + }, + + imageNoCache: { + src: 'dist/ui/theme/default/css/default.all.css', + overwrite: true, + replacements: [{ + from: /\.png/ig, + to: '.png?_=' + (+new Date()) }] } }, diff --git a/bower.json b/bower.json new file mode 100644 index 00000000..570c9915 --- /dev/null +++ b/bower.json @@ -0,0 +1,6 @@ +{ + "name": "kityminder", + "dependencies": { + "codemirror": "4.7.0" + } +} \ No newline at end of file diff --git a/edit.html b/edit.html index 311551c9..f95583d2 100644 --- a/edit.html +++ b/edit.html @@ -26,53 +26,6 @@