From 992a9d6ca186bb4399143dd5ee72a27a3b4909aa Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 26 Oct 2020 18:03:48 +0100 Subject: Initial commit --- src/TimberEditor.php | 148 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 src/TimberEditor.php (limited to 'src/TimberEditor.php') diff --git a/src/TimberEditor.php b/src/TimberEditor.php new file mode 100644 index 0000000..2eb3b36 --- /dev/null +++ b/src/TimberEditor.php @@ -0,0 +1,148 @@ +run(); + } + + /** + * admin_notices action callback for missing Timber Library + */ + public function adminNoticeTimberLibraryMissing() + { + ?> +
+

+ Timber + (install) + needs to be installed and active. +

+
+ +
+

+ Classic Editor + (install) + should be installed and active, because the Gutenberg Editor doesn't play well with CodeMirror currently. +

+
+