Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit 292763c

Browse files
committed
Tidy up
1 parent b16a291 commit 292763c

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

example/example.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<div class="ce-example__button" id="saveButton">
2626
editor.save()
2727
</div>
28-
2928
<div class="ce-example__statusbar">
3029
Readonly:
3130
<b id="readonly-state">
@@ -47,10 +46,9 @@
4746

4847
<!-- Load Official Tools -->
4948
<script src="https://cdn.jsdelivr.net/npm/@editorjs/header@latest"></script>
50-
49+
<script src="https://cdn.jsdelivr.net/npm/@editorjs/delimiter@latest"></script>
5150
<!--
5251
<script src="https://cdn.jsdelivr.net/npm/@editorjs/simple-image@latest"></script>
53-
<script src="https://cdn.jsdelivr.net/npm/@editorjs/delimiter@latest"></script>
5452
<script src="https://cdn.jsdelivr.net/npm/@editorjs/checklist@latest"></script>
5553
<script src="https://cdn.jsdelivr.net/npm/@editorjs/list@latest"></script>
5654
<script src="https://cdn.jsdelivr.net/npm/@editorjs/quote@latest"></script>
@@ -87,8 +85,8 @@
8785

8886
// Load Official Tools
8987
header: Header,
88+
delimiter: Delimiter,
9089
// image: SimpleImage,
91-
// delimiter: Delimiter,
9290
// checklist: Checklist,
9391
// list: List,
9492
// quote: Quote,
@@ -122,6 +120,9 @@
122120
"text":"This is an example of using EditorJs, with the @calumk/editorjs-codeflask package"
123121
}
124122
},
123+
{
124+
"type":"delimiter"
125+
},
125126
{
126127
"type" : "code",
127128
"data" : {

readme.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
# EditorJs - Codeflask
22

3+
### NPM
34
npm i @calumk/editorjs-codeflask
45

6+
### JS
7+
https://cdn.jsdelivr.net/npm/@calumk/editorjs-nested-checklist@latest
8+
9+
---
10+
11+
## About
12+
513
This is an EditorJs wrapper for [CodeFlask](https://kazzkiq.github.io/CodeFlask/) - A lovely lightweight zero-dep code formatter
614

715
It was built to be an improvement on :
@@ -15,13 +23,19 @@ It was built to be an improvement on :
1523

1624

1725
## Built with:
26+
1827
* [CodeFlask](https://kazzkiq.github.io/CodeFlask/)
1928
* [Prism](https://www.npmjs.com/package/prismjs)
2029
* [Prism ESM Importer](https://www.npmjs.com/package/prismjs-components-importer)
2130
* [Nice Select 2](https://www.npmjs.com/package/nice-select2)
2231

2332

24-
## Data Format :
33+
---
34+
35+
# Technical Info
36+
37+
## Data Format
38+
The data imported/exported from the block is as follows:
2539

2640
| Name | Description |
2741
| --------------- | ---------------------------------------------------------- |
@@ -30,7 +44,9 @@ It was built to be an improvement on :
3044
| showlinenumbers | Will show/hide the line numbers (Default true) (WIP - [Codeflask #132](https://github.com/kazzkiq/CodeFlask/issues/132)) |
3145

3246

33-
---
47+
48+
49+
<!-- ---
3450
3551
## Markdown Compatability
3652
@@ -48,4 +64,4 @@ Example :
4864
4965
```javascript
5066
\\ Hello World
51-
```
67+
``` -->

0 commit comments

Comments
 (0)