Skip to content

Commit

Permalink
use SimpleImage from cdn (#355)
Browse files Browse the repository at this point in the history
* use simpleimage from cdn

* add comments

* fix spaces

* fix comments

* remove comments

* update simple-image script
  • Loading branch information
talyguryn authored Jul 30, 2018
1 parent 9ca4e70 commit d9b0e5e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 278 deletions.
21 changes: 10 additions & 11 deletions example/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,24 @@
</div>
</div>

<!--Load plugins -->
<!-- Load Tools -->
<script src="plugins/text/text.js?v=100"></script>
<link rel="stylesheet" href="plugins/text/text.css">

<script src="https://cdn.rawgit.com/codex-editor/header/25d39a1e/dist/bundle.js"></script>

<script src="plugins/simple-image/simple-image.js?v=100"></script>
<link rel="stylesheet" href="plugins/simple-image/simple-image.css">

<script src="plugins/list/list.js?v=100"></script>
<link rel="stylesheet" href="plugins/list/list.css">

<link rel="stylesheet" href="tools-inline/term/term.css">
<script src="tools-inline/term/term.js"></script>

<script src="plugins/quote/quote.js?v=100"></script>
<link rel="stylesheet" href="plugins/quote/quote.css">

<!--Load CodeX Editor -->
<script src="https://cdn.rawgit.com/codex-editor/header/ecc00aa2/dist/bundle.js"></script>

<script src="https://cdn.rawgit.com/codex-editor/simple-image/51f6f9f2/dist/bundle.js"></script>

<link rel="stylesheet" href="tools-inline/term/term.css">
<script src="tools-inline/term/term.js"></script>

<!-- Load CodeX Editor's Core -->
<script src="../build/codex-editor.js?v=108"></script>

<!-- Initialization -->
Expand All @@ -75,7 +74,7 @@
class: Term,
shortcut: 'CMD+SHIFT+M'
},
image: SimpleImageTool,
image: SimpleImage,
list: {
class: List,
inlineToolbar: true
Expand Down
37 changes: 0 additions & 37 deletions example/plugins/simple-image/simple-image.css

This file was deleted.

230 changes: 0 additions & 230 deletions example/plugins/simple-image/simple-image.js

This file was deleted.

0 comments on commit d9b0e5e

Please sign in to comment.