From d9ae99211fc84ec9817f1d7babb980ddd13d1605 Mon Sep 17 00:00:00 2001 From: farthinker Date: Tue, 17 Nov 2015 11:04:07 +0800 Subject: [PATCH] publish v1.1.2 && support html table to markdown --- bower.json | 8 ++++---- lib/simditor-markdown.js | 2 +- package.json | 8 ++++---- src/simditor-markdown.coffee | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index 9435505..164e437 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "simditor-markdown", - "version": "1.1.1", + "version": "1.1.2", "homepage": "https://github.com/farthinker/simditor-markdown", "authors": [ "farthinker " @@ -25,8 +25,8 @@ ], "dependencies": { "jquery": "~2.1.4", - "simditor": "2.3.x", - "to-markdown": "~1.1.2", - "marked": "~0.3.3" + "simditor": "~2.3.4", + "to-markdown": "~1.3.0", + "marked": "~0.3.5" } } diff --git a/lib/simditor-markdown.js b/lib/simditor-markdown.js index ff36f96..cb64678 100644 --- a/lib/simditor-markdown.js +++ b/lib/simditor-markdown.js @@ -132,7 +132,7 @@ SimditorMarkdown = (function(superClass) { }; SimditorMarkdown.prototype._fileterUnsupportedTags = function() { - return this.editor.body.find('table colgroup').remove(); + return this.editor.body.find('colgroup').remove(); }; return SimditorMarkdown; diff --git a/package.json b/package.json index 5ea068b..c4f9d9d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "simditor-markdown", "description": "Add markdown editing mode for simditor.", - "version": "1.1.1", + "version": "1.1.2", "main": "lib/simditor-markdown.js", "homepage": "https://github.com/farthinker/simditor-markdown", "author": { @@ -20,9 +20,9 @@ }, "dependencies": { "jquery": "~2.1.4", - "simditor": "2.3.x", - "to-markdown": "~1.1.2", - "marked": "~0.3.3" + "simditor": "~2.3.4", + "to-markdown": "~1.3.0", + "marked": "~0.3.5" }, "devDependencies": { "grunt": "0.x", diff --git a/src/simditor-markdown.coffee b/src/simditor-markdown.coffee index 2cf455c..784d79c 100644 --- a/src/simditor-markdown.coffee +++ b/src/simditor-markdown.coffee @@ -85,7 +85,7 @@ class SimditorMarkdown extends Simditor.Button @editor.formatter.decorate() _fileterUnsupportedTags: -> - @editor.body.find('table colgroup').remove() + @editor.body.find('colgroup').remove() Simditor.Toolbar.addButton SimditorMarkdown