Skip to content

Commit

Permalink
Merge pull request #39 from lovefields/dev
Browse files Browse the repository at this point in the history
feat: add list block
  • Loading branch information
lovefields authored Jul 11, 2023
2 parents 616109d + 06761cc commit 0b7c435
Show file tree
Hide file tree
Showing 27 changed files with 1,398 additions and 18,786 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ Temporary Items

# assets
src/runtime/core/style/*.js
package-lock.json
64 changes: 47 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,35 @@
[![Github stars](https://img.shields.io/github/stars/lovefields/dragonEditor)](https://github.com/lovefields/dragonEditor/stargazers)
[![Github issues](https://img.shields.io/github/issues/lovefields/dragonEditor)](https://github.com/lovefields/dragonEditor/issues)
[![Github forks](https://img.shields.io/github/forks/lovefields/dragonEditor)](https://github.com/lovefields/dragonEditor/network/members)
[![Github top language](https://img.shields.io/github/languages/top/lovefields/dragonEditor)](https://github.com/lovefields/dragonEditor/)
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Flovefields%2FdragonEditor&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
[stars-src]: https://img.shields.io/github/stars/lovefields/dragonEditor
[stars-href]: https://github.com/lovefields/dragonEditor/stargazers
[issues-src]: https://img.shields.io/github/issues/lovefields/dragonEditor
[issues-href]: https://github.com/lovefields/dragonEditor/issues
[forks-src]: https://img.shields.io/github/forks/lovefields/dragonEditor
[forks-href]: https://github.com/lovefields/dragonEditor/network/members
[language-src]: https://img.shields.io/github/languages/top/lovefields/dragonEditor
[language-href]: https://github.com/lovefields/dragonEditor/
[hits-src]: https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Flovefields%2FdragonEditor&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false
[hits-href]: https://hits.seeyoufarm.com
[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://www.npmjs.com/package/dragon-editor
[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://www.npmjs.com/package/dragon-editor
[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://www.npmjs.com/package/dragon-editor
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com
[readme-ko]: https://github.com/lovefields/dragonEditor/blob/main/README.md
[readme-en]: https://github.com/lovefields/dragonEditor/blob/main/README_en.md

[![Github stars](stars-src)](stars-href)
[![Github issues](issues-src)](issues-href)
[![Github forks](forks-src)](forks-href)
[![Github top language](language-src)](language-href)
[![Hits](hits-src)](hits-href)
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

[KO](https://github.com/lovefields/dragonEditor/blob/main/README.md) / [EN](https://github.com/lovefields/dragonEditor/blob/main/README_en.md)
[KO](readme-ko) / [EN](readme-en)

# DragonEditor

Expand Down Expand Up @@ -45,6 +66,13 @@ editor.value.addImageBlock({
});
```

2. 저장

```typescript
editor.value.updateBlockData();
// do somthing
```

### 코멘트

```vue
Expand Down Expand Up @@ -83,6 +111,19 @@ editor.value.setStyles("decorationBold");
- `decorationUnderline` : 밑줄
- `decorationStrikethrough` : 취소선

2. 저장

```typescript
editor.value.updateBlockData();
// do somthing
```

3. 포커스

```typescript
editor.value.focus();
```

### 뷰어

```vue
Expand All @@ -102,14 +143,3 @@ const contentData = ref([]); // 에디터로 저장한 데이터
## 문서
- [DragonEditor Document](https://lovefields.github.io/dragonEditor-doc/) -->

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://www.npmjs.com/package/dragon-edito
[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://www.npmjs.com/package/dragon-edito
[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://www.npmjs.com/package/dragon-edito
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com
Loading

0 comments on commit 0b7c435

Please sign in to comment.