RotherOSS / otobo

OTOBO is one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management. https://otobo.io/
GNU General Public License v3.0
241 stars 72 forks source link

CKEditor5 issue with DynamicField RichText in AgentITSMConfigItemEdit #3571

Open stefanhaerter opened 2 days ago

stefanhaerter commented 2 days ago

Heya,

we are running OTOBO 11.0.1 and using the CMDB module.

We have encountered a layouting issue with the new CKEditor 5 Component. When editing CMDB Formatted Text Fields the CKEditor component displays the whole paragraph in one line and shows > a horizontal scrollbar instead of line-wrapping as expected.

A temporary solution was to add

.ck-content {
    text-wrap: wrap;
    white-space: pre-wrap;
}

to the Stylesheet.

Possibly already adressed in #3359 with the CKEditor Resize fixes?

Originally posted by @jennypaxian in https://github.com/RotherOSS/otobo/issues/3359#issuecomment-2208532740

stefanhaerter commented 2 days ago

Reproduced in the following screenshots:

agentitsmconfigitemedit_description

Description field working normal

agentitsmconfigitemedit_dfrichtext

DynamicField RichText with buggy behavior