From 8e7a2f93b948cf1520de5aab7bba8a7424c94ea4 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 17 Oct 2018 22:35:30 +0200 Subject: [PATCH] improves in editor area --- .gitignore | 3 + bl-kernel/admin/themes/booty/css/bludit.css | 20 +- bl-kernel/admin/themes/booty/html/media.php | 51 +- bl-kernel/admin/themes/booty/index.php | 10 +- bl-kernel/admin/themes/booty/init.php | 3 +- bl-kernel/admin/views/edit-content.php | 793 +++++++++--------- bl-kernel/admin/views/new-content.php | 663 ++++++++------- bl-kernel/boot/init.php | 2 +- bl-kernel/helpers/paginator.class.php | 10 +- bl-kernel/helpers/theme.class.php | 6 + bl-kernel/js/bludit-ajax.php | 1 + bl-languages/en.json | 4 +- bl-plugins/remote-content/plugin.php | 10 +- bl-plugins/simplemde/plugin.php | 1 + bl-plugins/tinymce/plugin.php | 17 +- .../tinymce/plugins/autoheight/plugin.min.js | 41 + .../tinymce/tinymce/skins/bludit/skin.min.css | 2 +- bl-themes/blogx/img/rss.svg | 1 + 18 files changed, 874 insertions(+), 764 deletions(-) create mode 100755 bl-plugins/tinymce/tinymce/plugins/autoheight/plugin.min.js create mode 100644 bl-themes/blogx/img/rss.svg diff --git a/.gitignore b/.gitignore index 0020f568..a3e1588d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,8 +5,11 @@ bl-plugins/timemachine bl-plugins/timemachine-x bl-plugins/discovery bl-plugins/updater +bl-plugins/medium-editor bl-kernel/bludit.pro.php bl-themes/docs bl-themes/docsx bl-themes/editorial bl-themes/mediumish +bl-themes/clean-blog +bl-themes/grayscale diff --git a/bl-kernel/admin/themes/booty/css/bludit.css b/bl-kernel/admin/themes/booty/css/bludit.css index d5067ed8..b494b5cd 100644 --- a/bl-kernel/admin/themes/booty/css/bludit.css +++ b/bl-kernel/admin/themes/booty/css/bludit.css @@ -51,6 +51,12 @@ a:hover { border-color: #4a90e2; } +.btn-light { + color: #212529; + background-color: #f3f3f3; + border-color: #ced4d9; +} + .btn-form { background-color: #F3F3F3; border-color: #DDD; @@ -237,4 +243,16 @@ div.sidebar .nav-item span.oi { td.child { padding-left: 30px; -} \ No newline at end of file +} + +/* + Manage > New Content +*/ + +#jseditor { + background: #fff; + border: 1px solid #ced4da; + padding: 10px 5% !important; + font-size: 16px; + line-height: 1.5em; +} diff --git a/bl-kernel/admin/themes/booty/html/media.php b/bl-kernel/admin/themes/booty/html/media.php index cea2d8ad..0e0b91b3 100644 --- a/bl-kernel/admin/themes/booty/html/media.php +++ b/bl-kernel/admin/themes/booty/html/media.php @@ -25,7 +25,7 @@ if (!empty($listOfFilesByPage[0])) { $numberOfPages = count($listOfFilesByPage); ?> -