Skip to content

Commit aeb126f

Browse files
author
wangeditor
committed
完善line-height
1 parent fcde728 commit aeb126f

5 files changed

Lines changed: 15 additions & 3 deletions

File tree

dist/css/wangEditor.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,14 @@
216216
margin: 10px 0;
217217
line-height: 1.8;
218218
}
219+
.wangEditor-container .wangEditor-txt p *,
220+
.wangEditor-container .wangEditor-txt h1 *,
221+
.wangEditor-container .wangEditor-txt h2 *,
222+
.wangEditor-container .wangEditor-txt h3 *,
223+
.wangEditor-container .wangEditor-txt h4 *,
224+
.wangEditor-container .wangEditor-txt h5 * {
225+
line-height: 1.8;
226+
}
219227
.wangEditor-container .wangEditor-txt ul,
220228
.wangEditor-container .wangEditor-txt ol {
221229
padding-left: 20px;

dist/css/wangEditor.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@
267267
p,h1,h2,h3,h4,h5 {
268268
margin: 10px 0;
269269
line-height: 1.8;
270+
271+
* {
272+
line-height: 1.8;
273+
}
270274
}
271275

272276
ul, ol {

dist/css/wangEditor.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/wangEditor.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "wangeditor",
33
"title": "wangEditor",
4-
"version": "2.1.17",
4+
"version": "2.1.18",
55
"description": "wangEditor - 基于javascript和css开发的 Web富文本编辑器, 轻量、简洁、易用、开源免费",
66
"homepage": "http://wangeditor.github.io/",
77
"author": {

0 commit comments

Comments
 (0)