Skip to content

Commit

Permalink
chore(release): 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
humyfred committed Dec 30, 2021
1 parent 8e99097 commit 83a7781
Show file tree
Hide file tree
Showing 16 changed files with 9,889 additions and 8,831 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,33 @@

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.6.0](https://github.com/Tencent/cherry-markdown/compare/v0.5.15...v0.6.0) (2021-12-30)


### Features

* 预览区域跟随编辑区域光标滚动 ([#72](https://github.com/Tencent/cherry-markdown/issues/72)) ([02c500b](https://github.com/Tencent/cherry-markdown/commit/02c500b24fe4ce4ad4772337e6665ac24c4dcc6f))
* **suggester:** add suggester function ([a8c35ed](https://github.com/Tencent/cherry-markdown/commit/a8c35ed9c03cb4c1eebfcb2afdc8722d16c251da))
* **suggester:** improve css ([4ab4bb6](https://github.com/Tencent/cherry-markdown/commit/4ab4bb6981747ed8fea7986b226df9c286e4888e))
* **suggester:** improve css code ([b333c71](https://github.com/Tencent/cherry-markdown/commit/b333c711ade436e1cf300707a88f419cff42e17b))
* add eslint jest plugin ([23bcbb3](https://github.com/Tencent/cherry-markdown/commit/23bcbb34fd4263075fdfa6e75c9702f8c0feea4e))
* add yarnrc & update dependencies ([ba8b5cd](https://github.com/Tencent/cherry-markdown/commit/ba8b5cdc5eb158d4052441e9351d6259de9a6892))
* init client project ([#53](https://github.com/Tencent/cherry-markdown/issues/53)) ([9f46acf](https://github.com/Tencent/cherry-markdown/commit/9f46acf009889bd7a8d77f4507e658f403023cc6))
* use jest for unit test ([0b15764](https://github.com/Tencent/cherry-markdown/commit/0b157645abd5564ec906ca1277287af9b1a79668))
* **sanitizer:** remove jsdom from browser builds & add new commonjs bundle for node env ([#62](https://github.com/Tencent/cherry-markdown/issues/62)) ([c61df0d](https://github.com/Tencent/cherry-markdown/commit/c61df0d14855cc88253545f57a686e990d067be3))


### Bug Fixes

* **list:** support checklist && add test case ([f4d6a2a](https://github.com/Tencent/cherry-markdown/commit/f4d6a2acad817c11ed785f4a1704e3145db6684a))
* suggester 初始化判断有问题 ([cb22da6](https://github.com/Tencent/cherry-markdown/commit/cb22da6e252dfd216f49855a2966fa88198910ff))
* **custom-syntax:** revert get config from customSyntax & fix type error ([ebc5aee](https://github.com/Tencent/cherry-markdown/commit/ebc5aee4262d40f6755c759247515ddb66939225))


### Code Refactoring

* **list:** implement list with tree ([43ba79a](https://github.com/Tencent/cherry-markdown/commit/43ba79a09e948a499178bcfe9cb334efb378741e))

### [0.5.15](https://github.com/Tencent/cherry-markdown/compare/v0.5.14...v0.5.15) (2021-12-12)


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.

48 changes: 41 additions & 7 deletions dist/cherry-markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@
.cherry-markdown ul li,
.cherry-markdown ol li {
list-style: inherit; }
.cherry-markdown ul li p,
.cherry-markdown ol li p {
margin: 0; }
.cherry-markdown div ul,
.cherry-markdown div ol {
margin-bottom: 0; }
Expand Down Expand Up @@ -2022,6 +2025,36 @@ green #859900
.Cherry-Math svg {
max-width: 100%; }

.cherry-suggester-panel {
display: none;
position: absolute;
left: 0;
top: 0;
background: #fff;
border: 1px solid #ccc;
border-radius: 2px;
max-height: 200px;
box-shadow: 0 2px 8px 1px #00000033; }
.cherry-suggester-panel .cherry-suggester-panel__item {
border: none;
white-space: nowrap;
min-width: 50px;
padding: 5px 13px;
color: #333;
display: block;
cursor: pointer; }
.cherry-suggester-panel .cherry-suggester-panel__item.cherry-suggester-panel__item--selected {
background-color: #f2f2f5;
text-decoration: none;
color: #eb7350; }

.cherry-suggestion {
background-color: #ebf3ff;
color: #3582fb;
padding: 1px 4px;
border-radius: 3px;
cursor: pointer; }

/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
Expand Down Expand Up @@ -2241,27 +2274,28 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
.CodeMirror-scroll {
overflow: scroll !important;
/* Things will break if this is overridden */
/* 30px is the magic margin used to hide the element's real scrollbars */
/* 50px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror */
margin-bottom: -30px;
margin-right: -30px;
padding-bottom: 30px;
margin-bottom: -50px;
margin-right: -50px;
padding-bottom: 50px;
height: 100%;
outline: none;
/* Prevent dragging from highlighting the element */
position: relative; }

.CodeMirror-sizer {
position: relative;
border-right: 30px solid transparent; }
border-right: 50px solid transparent; }

/* The fake, visible scrollbars. Used to force redraw during scrolling
before actual scrolling happens, thus preventing shaking and
flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
position: absolute;
z-index: 6;
display: none; }
display: none;
outline: none; }

.CodeMirror-vscrollbar {
right: 0;
Expand Down Expand Up @@ -2295,7 +2329,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
height: 100%;
display: inline-block;
vertical-align: top;
margin-bottom: -30px; }
margin-bottom: -50px; }

.CodeMirror-gutter-wrapper {
position: absolute;
Expand Down
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.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.

Loading

0 comments on commit 83a7781

Please sign in to comment.