Skip to content

Commit

Permalink
publish v1.1.2 && support html table to markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
farthinker committed Nov 17, 2015
1 parent 26cfd5a commit d9ae992
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simditor-markdown",
"version": "1.1.1",
"version": "1.1.2",
"homepage": "https://github.com/farthinker/simditor-markdown",
"authors": [
"farthinker <[email protected]>"
Expand All @@ -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"
}
}
2 changes: 1 addition & 1 deletion lib/simditor-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/simditor-markdown.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d9ae992

Please sign in to comment.