Improve editor
This commit is contained in:
parent
9732a4e07e
commit
abd64f129c
@ -105,6 +105,13 @@ $pagesize = $database->get("page_sizes", ["sizewidth (width)", "sizeheight (heig
|
|||||||
height: <?php echo ($pubdata["landscape"] == 0 ? $pagesize["height"] : $pagesize["width"]); ?>;
|
height: <?php echo ($pubdata["landscape"] == 0 ? $pagesize["height"] : $pagesize["width"]); ?>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note-dropdown-menu.dropdown-style {
|
||||||
|
background: var(--background) !important;
|
||||||
|
}
|
||||||
|
.note-dropdown-menu.dropdown-style .note-dropdown-item:hover {
|
||||||
|
background: rgba(255,255,255,.25) !important;
|
||||||
|
}
|
||||||
|
|
||||||
<?php echo file_get_contents(__DIR__ . "/../themes/" . $pubdata['style'] . "/extra.css"); ?>
|
<?php echo file_get_contents(__DIR__ . "/../themes/" . $pubdata['style'] . "/extra.css"); ?>
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
|
@ -48,3 +48,21 @@ body {
|
|||||||
.no-underline, .no-underline:hover {
|
.no-underline, .no-underline:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pub-content .note-editable {
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pub-content .note-statusbar {
|
||||||
|
background-color: rgba(255,255,255,0.75) !important;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pub-content .note-toolbar {
|
||||||
|
background-color: rgba(255,255,255,0.75) !important;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pub-content .note-editor {
|
||||||
|
border: 0px transparent !important;
|
||||||
|
}
|
@ -7,11 +7,12 @@ $(".edit-btn").click(function () {
|
|||||||
$("#tile-" + tileid + "-content .tile-html").summernote({
|
$("#tile-" + tileid + "-content .tile-html").summernote({
|
||||||
focus: true,
|
focus: true,
|
||||||
toolbar: [
|
toolbar: [
|
||||||
|
['start', ['fullscreen', 'style']],
|
||||||
['style', ['bold', 'italic', 'underline', 'clear']],
|
['style', ['bold', 'italic', 'underline', 'clear']],
|
||||||
['font', ['strikethrough', 'superscript', 'subscript']],
|
['font', ['strikethrough', 'superscript', 'subscript']],
|
||||||
['insert', ['picture', 'link', 'video', 'table']],
|
['insert', ['picture', 'link', 'video', 'table']],
|
||||||
['fontsize', ['fontsize']],
|
['fontsize', ['fontsize']],
|
||||||
['para', ['ul', 'ol', 'paragraph']],
|
['para', ['ul', 'ol', 'paragraph']]
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user