Skip to content

Commit

Permalink
Add table plugin to example (#493)
Browse files Browse the repository at this point in the history
* submodule pluged

* remove .git

* Add table plugin to example
  • Loading branch information
horoyami authored Nov 20, 2018
1 parent 6b14603 commit 531f1d2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@
[submodule "example/tools/embed"]
path = example/tools/embed
url = https://github.com/codex-editor/embed
[submodule "example/tools/table"]
path = example/tools/table
url = https://github.com/codex-editor/table
7 changes: 7 additions & 0 deletions example/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<script src="./tools/quote/dist/bundle.js"></script><!-- Quote -->
<script src="./tools/code/dist/bundle.js"></script><!-- Code -->
<script src="./tools/embed/dist/bundle.js"></script><!-- Embed -->
<script src="./tools/table/dist/bundle.js"></script><!-- Table -->

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

embed: Embed,

table: {
class: Table,
inlineToolbar: true
},

},

/**
Expand Down
1 change: 1 addition & 0 deletions example/tools/table
Submodule table added at 040b08

0 comments on commit 531f1d2

Please sign in to comment.