From 137f4369c2e1194da3bb733193b8636f7ae4c028 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Sun, 20 Oct 2019 23:21:17 +0200 Subject: 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 --- app/view/templates/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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 @@ - + stop('page') ?> \ No newline at end of file -- cgit v1.2.3 From 9250000af69b5c0ddc73537ec40573df68283dcc Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 21 Oct 2019 19:44:52 +0200 Subject: move js sources to /src/ & remove old worker stuff --- app/view/templates/layout.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'app') diff --git a/app/view/templates/layout.php b/app/view/templates/layout.php index 3c38be4..91ae378 100644 --- a/app/view/templates/layout.php +++ b/app/view/templates/layout.php @@ -18,11 +18,6 @@ echo ''; } ?> - -- cgit v1.2.3 From 088b5ce3a8bd61b2031ae57be7d48973a38ee16f Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 21 Oct 2019 21:47:24 +0200 Subject: add all other highlited editors --- app/view/templates/edittabs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/view/templates/edittabs.php b/app/view/templates/edittabs.php index 0829c48..c890677 100644 --- a/app/view/templates/edittabs.php +++ b/app/view/templates/edittabs.php @@ -13,9 +13,9 @@ foreach ($tablist as $key => $value) { echo '
'; if ($key == $opentab) { - echo ''; + echo ''; } else { - echo ''; + echo ''; } echo '
'; echo ''; -- cgit v1.2.3 From 016dc180d41c28c8fb0883b09a55b69cb060a0c1 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 21 Oct 2019 23:06:56 +0200 Subject: make font-size input work with codemirror --- app/view/templates/edittopbar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/view/templates/edittopbar.php b/app/view/templates/edittopbar.php index ec1a875..13cef96 100644 --- a/app/view/templates/edittopbar.php +++ b/app/view/templates/edittopbar.php @@ -27,7 +27,7 @@ - + -- cgit v1.2.3