removed table styles and fixed trigger color

This commit is contained in:
Aleh Khantsevich
2024-07-02 02:14:59 +02:00
parent 3d69f96b96
commit cd3880c85c
3 changed files with 7 additions and 2 deletions

View File

@@ -10,6 +10,10 @@
<link rel="stylesheet" href="./global.css" /> <link rel="stylesheet" href="./global.css" />
<style> <style>
.jodit-toolbar-button__trigger svg > path {
fill: black;
}
#editor { #editor {
height: 100%; height: 100%;
} }

View File

@@ -3,6 +3,7 @@ const editor = Jodit.make("#editor", {
"toolbar": true, "toolbar": true,
"buttons": "bold,italic,underline,strikethrough,eraser,ul,ol,font,fontsize,paragraph,indent,outdent,left,brush", "buttons": "bold,italic,underline,strikethrough,eraser,ul,ol,font,fontsize,paragraph,indent,outdent,left,brush",
"inline": true, "inline": true,
"adaptiveToolbar": false,
"toolbarInlineForSelection": false, "toolbarInlineForSelection": false,
"showCharsCounter": false, "showCharsCounter": false,
"showWordsCounter": false, "showWordsCounter": false,

View File

@@ -4720,7 +4720,7 @@ html.jodit_fullsize-box_true {
color: var(--jd-color-error) color: var(--jd-color-error)
} }
.jodit-context table, .jodit-wysiwyg table { /*.jodit-context table, .jodit-wysiwyg table {
border: none; border: none;
border-collapse: collapse; border-collapse: collapse;
empty-cells: show; empty-cells: show;
@@ -4739,7 +4739,7 @@ html.jodit_fullsize-box_true {
padding: .4em; padding: .4em;
user-select: text; user-select: text;
vertical-align: middle vertical-align: middle
} }*/
.jodit-form__inserter { .jodit-form__inserter {
--jd-color-table-cell-background-hover: var(--jd-color-button-background-hover) --jd-color-table-cell-background-hover: var(--jd-color-button-background-hover)