Fix editor text

This commit is contained in:
Никита Губарь 2024-08-21 15:06:03 +03:00
parent 4c839a899b
commit c384da9df3
4 changed files with 28 additions and 10 deletions

View File

@ -726,7 +726,9 @@ export const ModalTiсket = ({
editor={ClassicEditor} editor={ClassicEditor}
data={inputsValue.description} data={inputsValue.description}
config={{ config={{
toolbar: ["link"], toolbar: {
shouldNotGroupWhenFull: true
},
removePlugins: [ removePlugins: [
"CKFinderUploadAdapter", "CKFinderUploadAdapter",
"CKFinder", "CKFinder",

View File

@ -709,6 +709,9 @@ export const TicketFullScreen = () => {
editor={ClassicEditor} editor={ClassicEditor}
data={inputsValue.description} data={inputsValue.description}
config={{ config={{
toolbar: {
shouldNotGroupWhenFull: true
},
removePlugins: [ removePlugins: [
"CKFinderUploadAdapter", "CKFinderUploadAdapter",
"CKFinder", "CKFinder",

View File

@ -616,15 +616,18 @@ export const TrackerModal = ({
editor={ClassicEditor} editor={ClassicEditor}
data={descriptionTicket} data={descriptionTicket}
config={{ config={{
toolbar: [ toolbar: {
"heading", items: [
"|", "heading",
"bold", "|",
"italic", "bold",
"link", "italic",
"bulletedList", "link",
"numberedList" "bulletedList",
], "numberedList"
],
shouldNotGroupWhenFull: true
},
removePlugins: ["BlockQuote"], removePlugins: ["BlockQuote"],
placeholder: "Описание задачи", placeholder: "Описание задачи",
link: { link: {

View File

@ -107,6 +107,12 @@
.ck-toolbar { .ck-toolbar {
border: none !important; border: none !important;
border-radius: 8px 8px 0 0 !important; border-radius: 8px 8px 0 0 !important;
&__items {
@media (max-width: 424px) {
flex-wrap: wrap !important;
}
}
} }
.ck-placeholder { .ck-placeholder {
@ -363,6 +369,10 @@
grid-template-columns: 55% 45%; grid-template-columns: 55% 45%;
column-gap: 20px; column-gap: 20px;
@media (max-width: 725px) {
display: block;
}
&__left { &__left {
display: flex; display: flex;
flex-direction: column; flex-direction: column;