This repository was archived by the owner on Jan 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +24
-7
lines changed Expand file tree Collapse file tree 2 files changed +24
-7
lines changed Original file line number Diff line number Diff line change 25
25
< div class ="ce-example__button " id ="saveButton ">
26
26
editor.save()
27
27
</ div >
28
-
29
28
< div class ="ce-example__statusbar ">
30
29
Readonly:
31
30
< b id ="readonly-state ">
47
46
48
47
<!-- Load Official Tools -->
49
48
< script src ="https://cdn.jsdelivr.net/npm/@editorjs/header@latest "> </ script >
50
-
49
+ < script src =" https://cdn.jsdelivr.net/npm/@editorjs/delimiter@latest " > </ script >
51
50
<!--
52
51
<script src="https://cdn.jsdelivr.net/npm/@editorjs/simple-image@latest"></script>
53
- <script src="https://cdn.jsdelivr.net/npm/@editorjs/delimiter@latest"></script>
54
52
<script src="https://cdn.jsdelivr.net/npm/@editorjs/checklist@latest"></script>
55
53
<script src="https://cdn.jsdelivr.net/npm/@editorjs/list@latest"></script>
56
54
<script src="https://cdn.jsdelivr.net/npm/@editorjs/quote@latest"></script>
87
85
88
86
// Load Official Tools
89
87
header : Header ,
88
+ delimiter : Delimiter ,
90
89
// image: SimpleImage,
91
- // delimiter: Delimiter,
92
90
// checklist: Checklist,
93
91
// list: List,
94
92
// quote: Quote,
122
120
"text" :"This is an example of using EditorJs, with the @calumk/editorjs-codeflask package"
123
121
}
124
122
} ,
123
+ {
124
+ "type" :"delimiter"
125
+ } ,
125
126
{
126
127
"type" : "code" ,
127
128
"data" : {
Original file line number Diff line number Diff line change 1
1
# EditorJs - Codeflask
2
2
3
+ ### NPM
3
4
npm i @calumk/editorjs-codeflask
4
5
6
+ ### JS
7
+ https://cdn.jsdelivr.net/npm/@calumk/editorjs-nested-checklist@latest
8
+
9
+ ---
10
+
11
+ ## About
12
+
5
13
This is an EditorJs wrapper for [ CodeFlask] ( https://kazzkiq.github.io/CodeFlask/ ) - A lovely lightweight zero-dep code formatter
6
14
7
15
It was built to be an improvement on :
@@ -15,13 +23,19 @@ It was built to be an improvement on :
15
23
16
24
17
25
## Built with:
26
+
18
27
* [ CodeFlask] ( https://kazzkiq.github.io/CodeFlask/ )
19
28
* [ Prism] ( https://www.npmjs.com/package/prismjs )
20
29
* [ Prism ESM Importer] ( https://www.npmjs.com/package/prismjs-components-importer )
21
30
* [ Nice Select 2] ( https://www.npmjs.com/package/nice-select2 )
22
31
23
32
24
- ## Data Format :
33
+ ---
34
+
35
+ # Technical Info
36
+
37
+ ## Data Format
38
+ The data imported/exported from the block is as follows:
25
39
26
40
| Name | Description |
27
41
| --------------- | ---------------------------------------------------------- |
@@ -30,7 +44,9 @@ It was built to be an improvement on :
30
44
| showlinenumbers | Will show/hide the line numbers (Default true) (WIP - [ Codeflask #132 ] ( https://github.com/kazzkiq/CodeFlask/issues/132 ) ) |
31
45
32
46
33
- ---
47
+
48
+
49
+ <!-- ---
34
50
35
51
## Markdown Compatability
36
52
@@ -48,4 +64,4 @@ Example :
48
64
49
65
```javascript
50
66
\\ Hello World
51
- ```
67
+ ``` -->
You can’t perform that action at this time.
0 commit comments