Skip to content

Commit

Permalink
Publish v2.3.17
Browse files Browse the repository at this point in the history
  • Loading branch information
biallo committed Jul 23, 2018
1 parent ad8e4ff commit 6153dd0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simditor",
"version": "2.3.16",
"version": "2.3.17",
"homepage": "http://simditor.tower.im/",
"authors": [
"farthinker <farthinker@gmail.com>"
Expand Down
1 change: 0 additions & 1 deletion lib/simditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,6 @@ Formatter = (function(superClass) {
}
this._cleanNodeStyles($node);
if ($node.is('span')) {
$node.text($node.text().trim());
if ($node[0].attributes.length === 0) {
$node.contents().first().unwrap();
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simditor",
"version": "2.3.16",
"version": "2.3.17",
"description": "A simple online editor",
"keywords": "editor simditor",
"repository": {
Expand Down
1 change: 0 additions & 1 deletion site/assets/scripts/simditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,6 @@ Formatter = (function(superClass) {
}
this._cleanNodeStyles($node);
if ($node.is('span')) {
$node.text($node.text().trim());
if ($node[0].attributes.length === 0) {
$node.contents().first().unwrap();
}
Expand Down
2 changes: 0 additions & 2 deletions src/formatter.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ class Formatter extends SimpleModule
@_cleanNodeStyles $node

if $node.is('span')
$node.text $node.text().trim()

if $node[0].attributes.length == 0
$node.contents().first().unwrap()

Expand Down
4 changes: 2 additions & 2 deletions styles/simditor.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* Simditor v2.3.16
* Simditor v2.3.17
* http://simditor.tower.im/
* 2018-07-19
* 2018-07-23
*/
@font-face {
font-family: 'Simditor';
Expand Down

0 comments on commit 6153dd0

Please sign in to comment.