Skip to content

Commit

Permalink
chore(release): 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
humyfred committed Sep 6, 2022
1 parent a2198cb commit e1e3ecf
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 12 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.8.1](https://github.com/Tencent/cherry-markdown/compare/v0.8.0...v0.8.1) (2022-09-06)


### Bug Fixes

* 懒加载逻辑不能幂等 ([a2198cb](https://github.com/Tencent/cherry-markdown/commit/a2198cb9f6b0ecb720be3e2c26a4385e9b49e7d7))

## [0.8.0](https://github.com/Tencent/cherry-markdown/compare/v0.7.9...v0.8.0) (2022-09-01)


Expand Down
2 changes: 1 addition & 1 deletion dist/cherry-markdown.core.common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cherry-markdown.core.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cherry-markdown.engine.core.common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cherry-markdown.engine.core.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cherry-markdown.engine.core.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cherry-markdown.esm.js

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions dist/cherry-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -49846,9 +49846,14 @@
return content.replace(/<img ([^>]*?)src="([^"]+)"([^>]*?)>/g, function (match, m1, src, m3) {
var _context14, _context15;

// 如果已经替换过data-src了,或者没有src属性,则不替换
if (/data-src="/.test(match) || !/ src="/.test(match)) {
return match;
}

if (focus === false) {
// 如果src已经加载过,或者已经替换过data-src了,或者没有src属性,则不替换
if (_this5.isLoaded(src) || /data-src="/.test(match) || !/ src="/.test(match)) {
// 如果src已经加载过,则不替换
if (_this5.isLoaded(src)) {
return match;
} // 前noLoadImgNum张图片不替换

Expand Down Expand Up @@ -79581,7 +79586,7 @@
});
}

var VERSION = "0.8.0-e2086f15";
var VERSION = "0.8.1-a2198cb9";
var CherryStatic = /*#__PURE__*/function () {
function CherryStatic() {
_classCallCheck(this, CherryStatic);
Expand Down
2 changes: 1 addition & 1 deletion dist/cherry-markdown.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cherry-markdown.min.js

Large diffs are not rendered by default.

Binary file modified dist/fonts/ch-icon.eot
Binary file not shown.
Binary file modified dist/fonts/ch-icon.ttf
Binary file not shown.
Binary file modified dist/fonts/ch-icon.woff
Binary file not shown.
Binary file modified dist/fonts/ch-icon.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cherry-markdown",
"license": "Apache-2.0",
"version": "0.8.0",
"version": "0.8.1",
"description": "a new markdown editor",
"repository": {
"type": "git",
Expand Down

0 comments on commit e1e3ecf

Please sign in to comment.