Added support for Markdown in Notes as requested in #936

Added EasyMDE instead of Quill as the editor, because it supports Markdown (requested in #936 ). Made the colors of the editor fit the colors of the selected theme.
This commit is contained in:
MatykoBr
2025-02-11 22:19:59 +01:00
parent a4df2ac249
commit 7f3c0f8418
17 changed files with 797 additions and 22475 deletions

View File

@@ -38,8 +38,8 @@
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/query-builder.default.min.css" />
<?php } ?>
<?php if ($this->uri->segment(1) == "notes" && ($this->uri->segment(2) == "add" || $this->uri->segment(2) == "edit")) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/plugins/quill/quill.snow.css" />
<?php if ($this->uri->segment(1) == "notes" && ($this->uri->segment(2) == "add" || $this->uri->segment(2) == "edit" || $this->uri->segment(2) == "view")) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/plugins/easymde/easymde.css" />
<?php } ?>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/loading.min.css" />