Make Jodit fill all available height of webview
This commit is contained in:
@@ -14,29 +14,19 @@
|
|||||||
fill: black;
|
fill: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
#editor {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.jodit-container:not(.jodit_inline) {
|
.jodit-container:not(.jodit_inline) {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: initial;
|
border-radius: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.jodit-wysiwyg {
|
|
||||||
min-height: 200px
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide taskbar in css. Should not be hidden from configuration, because it's used to sync state with native buttons. */
|
/* Hide taskbar in css. Should not be hidden from configuration, because it's used to sync state with native buttons. */
|
||||||
.jodit-toolbar__box {
|
.jodit-toolbar__box {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
html, body, .jodit-container, .jodit-workplace {
|
||||||
margin: 8px;
|
height: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -13,8 +13,7 @@ const joditConfig = {
|
|||||||
"uploader": {
|
"uploader": {
|
||||||
"insertImageAsBase64URI": true
|
"insertImageAsBase64URI": true
|
||||||
},
|
},
|
||||||
"enter": "DIV",
|
"enter": "DIV"
|
||||||
"minHeight": 200
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This method should be called first all the time.
|
// This method should be called first all the time.
|
||||||
|
|||||||
Reference in New Issue
Block a user