diff options
author | n-peugnet <n.peugnet@free.fr> | 2019-10-20 23:21:17 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2019-10-21 21:49:12 +0200 |
commit | 137f4369c2e1194da3bb733193b8636f7ae4c028 (patch) | |
tree | 32205f35e809bb02afd59460f56f0094271b7ade /app | |
parent | ba671a7c0880f8154a7b86d4cb172b0171e84021 (diff) | |
download | wcms-137f4369c2e1194da3bb733193b8636f7ae4c028.tar.gz wcms-137f4369c2e1194da3bb733193b8636f7ae4c028.zip |
include CodeMirror in edit page
- add npm prerequisite
- add codemirror through npm
- add webpack trough npm to build the js bundles
- add first codemirror enhenced textarea
Diffstat (limited to 'app')
-rw-r--r-- | app/view/templates/edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/view/templates/edit.php b/app/view/templates/edit.php index 4c7fc61..28e245f 100644 --- a/app/view/templates/edit.php +++ b/app/view/templates/edit.php @@ -30,7 +30,7 @@ <script> const pageid = '<?= $page->id() ?>'; </script> -<script src="<?= Model::jspath() ?>edit.js"></script> +<script src="<?= Model::jspath() ?>edit.bundle.js"></script> </body> <?php $this->stop('page') ?>
\ No newline at end of file |