mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 18:03:25 +02:00
New plugins in an example page (#431)
* Add code and marker * update * Add shortcuts * Change marker shortcut * Update marker
This commit is contained in:
parent
8ee951ca76
commit
0ea3197a73
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -19,3 +19,9 @@
|
|||
[submodule "src/components/tools/paragraph"]
|
||||
path = src/components/tools/paragraph
|
||||
url = https://github.com/codex-editor/paragraph
|
||||
[submodule "example/tools/marker"]
|
||||
path = example/tools/marker
|
||||
url = https://github.com/codex-editor/marker
|
||||
[submodule "example/tools/code"]
|
||||
path = example/tools/code
|
||||
url = https://github.com/codex-editor/code
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -46,7 +46,9 @@
|
|||
<script src="./tools/delimiter/dist/bundle.js"></script><!-- Delimiter -->
|
||||
<script src="./tools/list/dist/bundle.js"></script><!-- List -->
|
||||
<script src="./tools/quote/dist/bundle.js"></script><!-- Quote -->
|
||||
<script src="./tools/code/dist/bundle.js"></script><!-- Code -->
|
||||
|
||||
<script src="./tools/marker/dist/bundle.js"></script><!-- Marker -->
|
||||
<script src="./tools/inline-code/dist/bundle.js"></script><!-- Inline Code -->
|
||||
|
||||
<!-- Load CodeX Editor's Core -->
|
||||
|
@ -103,12 +105,21 @@
|
|||
},
|
||||
},
|
||||
|
||||
delimiter: Delimiter,
|
||||
marker: {
|
||||
class: Marker,
|
||||
shortcut: 'CMD+SHIFT+M'
|
||||
},
|
||||
|
||||
code: {
|
||||
class: CodeTool,
|
||||
shortcut: 'CMD+SHIFT+D'
|
||||
},
|
||||
|
||||
delimiter: Delimiter,
|
||||
|
||||
inlineCode: {
|
||||
class: InlineCode,
|
||||
shortcut: 'CMD+SHIFT+M'
|
||||
shortcut: 'CMD+SHIFT+C'
|
||||
},
|
||||
},
|
||||
|
||||
|
|
1
example/tools/code
Submodule
1
example/tools/code
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 2196eac8d8e57397f99f7aa0f135361f4a2b5800
|
1
example/tools/marker
Submodule
1
example/tools/marker
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 9d16ccf1458e8cf90fc04c30cfc174fec4e7409c
|
Loading…
Reference in a new issue