Skip to content

Commit

Permalink
fix: font css of edit area
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 committed Sep 23, 2018
1 parent 9d56fe5 commit 8863696
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "suneditor",
"version": "2.1.0",
"version": "2.1.1",
"description": "Pure JavaScript based WYSIWYG web editor",
"main": "src/suneditor.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion dist/css/suneditor.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/suneditor.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sideEffects": [
"./src/assets/css/*.css"
],
"version": "2.1.0",
"version": "2.1.1",
"description": "Pure JavaScript based WYSIWYG web editor",
"main": "src/suneditor.js",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions sample/build/suneditor.customize.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/assets/css/suneditor-contents.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
/* suneditor contents */
.sun-editor-editable {
font-family: Helvetica Neue, sans-serif;
font-size: 13px;
word-break: break-all;
padding: 10px 20px 10px 20px;
margin: 0;
}

.sun-editor-editable * {
font-family: Helvetica Neue, sans-serif;
font-size: 13px;
font-size: inherit;
font-family: inherit;
}

/* float */
Expand Down
1 change: 0 additions & 1 deletion src/lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,6 @@ const core = function (context, util, plugins, lang) {
},

onClick_toolbar: function (e) {
editor.focus();
e.preventDefault();
e.stopPropagation();

Expand Down

0 comments on commit 8863696

Please sign in to comment.