Skip to content

Commit 536f435

Browse files
修复部分bug
1 parent 7a7b301 commit 536f435

File tree

16 files changed

+123
-23
lines changed

16 files changed

+123
-23
lines changed

ISSUE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- 针对编辑区域的`max-height``min-height`做一些处理,而且和全屏还不能通用
55
- 先点击'B'再输入内容这种形式,前期先支持 webkit 和 IE,火狐的支持后面再加上
66
- Panel 在右上角增加一个“关闭”按钮
7-
7+
- src/js/editor/Bar 改为 Progress,仅供上传图片使用
88

99

1010
项目徽章 https://github.com/EyreFree/GitHubBadgeIntroduction

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
## 介绍
77

8-
**wangEditor**——轻量级web富文本编辑器,配置方便,使用简单。支持IE10+浏览器。
8+
**wangEditor** —— 轻量级 web 富文本编辑器,配置方便,使用简单。支持 IE10+ 浏览器。
99

1010
- 官网:[www.wangEditor.com](http://www.wangeditor.com/)
1111
- 文档:......
@@ -33,6 +33,7 @@ editor2.create()
3333
## 运行 demo
3434

3535
- 下载源码 `git clone git@github.com:wangfupeng1988/wangEditor.git`
36+
- 安装或者升级最新版本 node(最低`v6.x.x`
3637
- 进入目录,安装依赖包 `cd wangEditor && npm i`
3738
- 安装包完成之后,windows 用户运行`npm run win-example`,Mac 用户运行`npm run example`
3839
- 打开浏览器访问[localhost:3000/index.html](http://localhost:3000/index.html)

example/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
</head>
1313
<body>
1414
<div class="body">
15+
<p>可访问 <a href="http://www.wangeditor.com/" target="_blank">wangEditor 官网</a> 了解更多内容</p>
1516
<div id="div3">
1617
<p>欢迎使用 <b>wangEditor</b> 富文本编辑器</p>
1718
</div>

example/upload-files/1.jpeg

39.7 KB
Loading

release/wangEditor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@
343343
}
344344
.w-e-text ul,
345345
.w-e-text ol {
346-
margin-left: 20px;
346+
margin: 10px 0 10px 20px;
347347
}
348348
.w-e-text blockquote {
349349
display: block;

release/wangEditor.js

Lines changed: 56 additions & 7 deletions
Large diffs are not rendered by default.

release/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.

release/wangEditor.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/wangEditor.min.js.map

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

src/js/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ const config = {
4343

4444
// 上传图片的自定义参数
4545
uploadImgParams: {
46-
/* token: 'abcdef12345' */
46+
// token: 'abcdef12345'
4747
},
4848

4949
// 上传图片的自定义header
5050
uploadImgHeaders: {
51-
/* 'Accept' : 'text/x-json' */
51+
// 'Accept' : 'text/x-json'
5252
},
5353

5454
// 配置 XHR withCredentials

0 commit comments

Comments
 (0)