Skip to content

Commit 531f1d2

Browse files
authored
Add table plugin to example (codex-team#493)
* submodule pluged * remove .git * Add table plugin to example
1 parent 6b14603 commit 531f1d2

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@
3131
[submodule "example/tools/embed"]
3232
path = example/tools/embed
3333
url = https://github.com/codex-editor/embed
34+
[submodule "example/tools/table"]
35+
path = example/tools/table
36+
url = https://github.com/codex-editor/table

example/example.html

+7
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<script src="./tools/quote/dist/bundle.js"></script><!-- Quote -->
4949
<script src="./tools/code/dist/bundle.js"></script><!-- Code -->
5050
<script src="./tools/embed/dist/bundle.js"></script><!-- Embed -->
51+
<script src="./tools/table/dist/bundle.js"></script><!-- Table -->
5152

5253
<script src="./tools/marker/dist/bundle.js"></script><!-- Marker -->
5354
<script src="./tools/inline-code/dist/bundle.js"></script><!-- Inline Code -->
@@ -130,6 +131,12 @@
130131
},
131132

132133
embed: Embed,
134+
135+
table: {
136+
class: Table,
137+
inlineToolbar: true
138+
},
139+
133140
},
134141

135142
/**

example/tools/table

Submodule table added at 040b082

0 commit comments

Comments
 (0)