Skip to content

Commit

Permalink
use quote from cdn (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
talyguryn authored Jul 31, 2018
1 parent 5206e03 commit 43ffd4d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 302 deletions.
2 changes: 1 addition & 1 deletion build/codex-editor.js.map

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions example/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
<script src="https://cdn.rawgit.com/codex-editor/simple-image/51f6f9f2/dist/bundle.js"></script><!-- Simple Image -->
<script src="https://cdn.rawgit.com/codex-editor/delimiter/9377e8a3/dist/bundle.js"></script><!-- Delimiter -->
<script src="https://cdn.rawgit.com/codex-editor/list/71e7ab61/dist/bundle.js"></script><!-- List -->

<script src="plugins/quote/quote.js?v=100"></script>
<link rel="stylesheet" href="plugins/quote/quote.css">
<script src="https://cdn.rawgit.com/codex-editor/quote/1c592bcb/dist/bundle.js"></script><!-- Quote -->

<link rel="stylesheet" href="tools-inline/term/term.css">
<script src="tools-inline/term/term.js"></script>
Expand Down Expand Up @@ -105,6 +103,10 @@
quote: {
class: Quote,
inlineToolbar: true,
config: {
quotePlaceholder: 'Enter a quote',
captionPlaceholder: 'Quote\'s author',
},
},

delimiter: Delimiter,
Expand Down
14 changes: 0 additions & 14 deletions example/plugins/quote/quote.css

This file was deleted.

283 changes: 0 additions & 283 deletions example/plugins/quote/quote.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/modules/toolbar-inline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export default class InlineToolbar extends Module {
*/
if (this.internalTools[toolName]) {
shortcut = this.internalTools[toolName].shortcut;
} else if (toolSettings && toolSettings[this.Editor.Tools.apiSettings.SHORTCUT]){
} else if (toolSettings && toolSettings[this.Editor.Tools.apiSettings.SHORTCUT]) {
shortcut = toolSettings[this.Editor.Tools.apiSettings.SHORTCUT];
}

Expand Down

0 comments on commit 43ffd4d

Please sign in to comment.