mirror of
https://github.com/codex-team/editor.js
synced 2026-03-15 07:05:48 +01:00
Feature: remove bundles (#1541)
* Remove dist directory * Ignore dist directory * Remove local file usage * Add error banner for missing bundle * Update CHANGELOG.md * Fix missed code * Add mkdir dist command
This commit is contained in:
parent
c106819184
commit
fbd4bd9e0a
14 changed files with 33 additions and 545 deletions
|
|
@ -28,7 +28,10 @@
|
|||
</div>
|
||||
<div class="ce-example__content _ce-example__content--small">
|
||||
<div id="editorjs"></div>
|
||||
<div id="hint" style="text-align: center;">
|
||||
<div id="hint-core" style="text-align: center;">
|
||||
No core bundle file found. Run <code class="inline-code">yarn build</code>
|
||||
</div>
|
||||
<div id="hint-tools" style="text-align: center;">
|
||||
No submodules found. Run <code class="inline-code">yarn pull_tools</code>
|
||||
</div>
|
||||
<div class="ce-example__button" id="saveButton">
|
||||
|
|
@ -62,7 +65,7 @@
|
|||
Read more in Tool's README file. For example:
|
||||
https://github.com/editor-js/header#installation
|
||||
-->
|
||||
<script src="./tools/header/dist/bundle.js" onload="document.getElementById('hint').hidden = true"></script><!-- Header -->
|
||||
<script src="./tools/header/dist/bundle.js" onload="document.getElementById('hint-tools').hidden = true"></script><!-- Header -->
|
||||
<script src="./tools/simple-image/dist/bundle.js"></script><!-- Image -->
|
||||
<script src="./tools/delimiter/dist/bundle.js"></script><!-- Delimiter -->
|
||||
<script src="./tools/list/dist/bundle.js"></script><!-- List -->
|
||||
|
|
@ -79,7 +82,7 @@
|
|||
<script src="./tools/inline-code/dist/bundle.js"></script><!-- Inline Code -->
|
||||
|
||||
<!-- Load Editor.js's Core -->
|
||||
<script src="../dist/editor.js"></script>
|
||||
<script src="../dist/editor.js" onload="document.getElementById('hint-core').hidden = true;"></script>
|
||||
|
||||
<!-- Initialization -->
|
||||
<script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue