aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2019-10-20 23:21:17 +0200
committern-peugnet <n.peugnet@free.fr>2019-10-21 21:49:12 +0200
commit137f4369c2e1194da3bb733193b8636f7ae4c028 (patch)
tree32205f35e809bb02afd59460f56f0094271b7ade /app
parentba671a7c0880f8154a7b86d4cb172b0171e84021 (diff)
downloadwcms-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.php2
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