Browse Source

Releases v1.4.4

master
pandao 10 years ago
parent
commit
200fb885ce
  1. 7
      CHANGE.md
  2. 2
      bower.json
  3. 4
      css/editormd.css
  4. 4
      css/editormd.logo.css
  5. 2
      css/editormd.logo.min.css
  6. 2
      css/editormd.min.css
  7. 4
      css/editormd.preview.css
  8. 2
      css/editormd.preview.min.css
  9. 6
      editormd.amd.js
  10. 4
      editormd.amd.min.js
  11. 6
      editormd.js
  12. 4
      editormd.min.js
  13. 4
      examples/php/upload.php
  14. 2
      lib/codemirror/addons.min.js
  15. 2
      lib/codemirror/modes.min.js
  16. 2
      package.json
  17. 6
      plugins/image-dialog/image-dialog.js
  18. 2
      src/editormd.js

7
CHANGE.md

@ -447,4 +447,9 @@ v1.2.0 主要更新:
- 新增配置项 `autoCloseBrackets``showTrailingSpace`
- 新增配置项 `matchBrackets`、`indentWithTabs` 和 `styleSelectedText`
- 改进:修改 CSS `font-family`,改进跨平台中英文字体显示;
- 修改了 `README.md`
- 修改了 `README.md`
####v1.4.4
- 修复 Bug [#81](https://github.com/pandao/editor.md/issues/81),即不支持 `:+1:` 的问题;
- 修复 Bug [#85](https://github.com/pandao/editor.md/issues/85),即图片上传返回结果不支持 `Content-Type=application/json` 的问题;

2
bower.json

@ -1,6 +1,6 @@
{
"name": "editor.md",
"version": "1.4.3",
"version": "1.4.4",
"homepage": "https://github.com/pandao/editor.md",
"authors": [
"Pandao <pandao@vip.qq.com>"

4
css/editormd.css

@ -2,12 +2,12 @@
* Editor.md
*
* @file editormd.css
* @version v1.4.3
* @version v1.4.4
* @description Open source online markdown editor.
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-05-05
* @updateTime 2015-05-09
*/
@charset "UTF-8";

4
css/editormd.logo.css

@ -2,12 +2,12 @@
* Editor.md
*
* @file editormd.logo.css
* @version v1.4.3
* @version v1.4.4
* @description Open source online markdown editor.
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-05-05
* @updateTime 2015-05-09
*/
/*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 */

2
css/editormd.logo.min.css

@ -1,2 +1,2 @@
/*! Editor.md v1.4.3 | editormd.logo.min.css | Open source online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-05-05 */
/*! Editor.md v1.4.4 | editormd.logo.min.css | Open source online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-05-09 */
/*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 */@font-face{font-family:editormd-logo;src:url(../fonts/editormd-logo.eot?-5y8q6h);src:url(.../fonts/editormd-logo.eot?#iefix-5y8q6h)format("embedded-opentype"),url(../fonts/editormd-logo.woff?-5y8q6h)format("woff"),url(../fonts/editormd-logo.ttf?-5y8q6h)format("truetype"),url(../fonts/editormd-logo.svg?-5y8q6h#icomoon)format("svg");font-weight:400;font-style:normal}.editormd-logo,.editormd-logo-1x,.editormd-logo-2x,.editormd-logo-3x,.editormd-logo-4x,.editormd-logo-5x,.editormd-logo-6x,.editormd-logo-7x,.editormd-logo-8x{font-family:editormd-logo;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;font-size:inherit;line-height:1;display:inline-block;text-rendering:auto;vertical-align:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.editormd-logo-1x:before,.editormd-logo-2x:before,.editormd-logo-3x:before,.editormd-logo-4x:before,.editormd-logo-5x:before,.editormd-logo-6x:before,.editormd-logo-7x:before,.editormd-logo-8x:before,.editormd-logo:before{content:"\e1987"}.editormd-logo-1x{font-size:1em}.editormd-logo-lg{font-size:1.2em}.editormd-logo-2x{font-size:2em}.editormd-logo-3x{font-size:3em}.editormd-logo-4x{font-size:4em}.editormd-logo-5x{font-size:5em}.editormd-logo-6x{font-size:6em}.editormd-logo-7x{font-size:7em}.editormd-logo-8x{font-size:8em}.editormd-logo-color{color:#2196F3}

2
css/editormd.min.css

File diff suppressed because one or more lines are too long

4
css/editormd.preview.css

@ -2,12 +2,12 @@
* Editor.md
*
* @file editormd.preview.css
* @version v1.4.3
* @version v1.4.4
* @description Open source online markdown editor.
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-05-05
* @updateTime 2015-05-09
*/
@charset "UTF-8";

2
css/editormd.preview.min.css

@ -1,4 +1,4 @@
/*! Editor.md v1.4.3 | editormd.preview.min.css | Open source online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-05-05 */
/*! Editor.md v1.4.4 | editormd.preview.min.css | Open source online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-05-09 */
@charset "UTF-8";/*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 *//*!
* Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)

6
editormd.amd.js

@ -2,12 +2,12 @@
* Editor.md
*
* @file editormd.amd.js
* @version v1.4.3
* @version v1.4.4
* @description Open source online markdown editor.
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-05-06
* @updateTime 2015-05-09
*/
;(function(factory) {
@ -129,7 +129,7 @@
};
editormd.title = editormd.$name = "Editor.md";
editormd.version = "1.4.3";
editormd.version = "1.4.4";
editormd.homePage = "https://pandao.github.io/editor.md/";
editormd.classPrefix = "editormd-";

4
editormd.amd.min.js

File diff suppressed because one or more lines are too long

6
editormd.js

@ -2,12 +2,12 @@
* Editor.md
*
* @file editormd.js
* @version v1.4.3
* @version v1.4.4
* @description Open source online markdown editor.
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-05-06
* @updateTime 2015-05-09
*/
;(function(factory) {
@ -59,7 +59,7 @@
};
editormd.title = editormd.$name = "Editor.md";
editormd.version = "1.4.3";
editormd.version = "1.4.4";
editormd.homePage = "https://pandao.github.io/editor.md/";
editormd.classPrefix = "editormd-";

4
editormd.min.js

File diff suppressed because one or more lines are too long

4
examples/php/upload.php

@ -11,7 +11,7 @@
* Copyright@2015 Editor.md all right reserved.
*/
header("Content-Type:text/html; charset=utf-8");
header("Content-Type:application/json; charset=utf-8");
header("Access-Control-Allow-Origin: *");
require("editormd.uploader.class.php");
@ -23,7 +23,7 @@
$savePath = realpath($path . '../uploads/') . DIRECTORY_SEPARATOR;
$saveURL = $url . '../uploads/';
$formats = array(
$formats = array(
'image' => array('gif', 'jpg', 'jpeg', 'png', 'bmp')
);

2
lib/codemirror/addons.min.js

File diff suppressed because one or more lines are too long

2
lib/codemirror/modes.min.js

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@
{
"name": "editor.md",
"version": "1.4.3",
"version": "1.4.4",
"description": "Open source online markdown editor.",
"directories": {
"doc": "docs",

6
plugins/image-dialog/image-dialog.js

@ -3,8 +3,8 @@
*
* @file image-dialog.js
* @author pandao
* @version 1.3.0
* @updateTime 2015-05-06
* @version 1.3.1
* @updateTime 2015-05-09
* {@link https://github.com/pandao/editor.md}
* @license MIT
*/
@ -149,7 +149,7 @@
dialog.loading(false);
}
var json = uploadIframe.contentWindow.document.body.innerHTML;
var json = uploadIframe.contentWindow.document.body.innerText;
json = (typeof JSON.parse !== "undefined") ? JSON.parse(json) : eval("(" + json + ")");
if (json.success === 1)

2
src/editormd.js

@ -47,7 +47,7 @@
};
editormd.title = editormd.$name = "Editor.md";
editormd.version = "1.4.3";
editormd.version = "1.4.4";
editormd.homePage = "https://pandao.github.io/editor.md/";
editormd.classPrefix = "editormd-";

Loading…
Cancel
Save