Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow wrapping in CKEditor5 inputs. #3571

Closed
stefanhaerter opened this issue Jul 4, 2024 · 2 comments · Fixed by #3790
Closed

Allow wrapping in CKEditor5 inputs. #3571

stefanhaerter opened this issue Jul 4, 2024 · 2 comments · Fixed by #3790
Assignees
Labels
bug Something isn't working as intended style Beautify please
Milestone

Comments

@stefanhaerter
Copy link
Contributor

stefanhaerter commented Jul 4, 2024

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 #3359 (comment)

@stefanhaerter
Copy link
Contributor Author

Reproduced in the following screenshots:

agentitsmconfigitemedit_description

Description field working normal

agentitsmconfigitemedit_dfrichtext

DynamicField RichText with buggy behavior

@stefanhaerter stefanhaerter added bug Something isn't working as intended style Beautify please labels Jul 4, 2024
@stefanhaerter stefanhaerter added this to the OTOBO 11.0.4 milestone Jul 4, 2024
@svenoe svenoe modified the milestones: OTOBO 11.0.4, OTOBO 11.0.5 Jul 29, 2024
@svenoe svenoe modified the milestones: OTOBO 11.0.5, OTOBO 11.0.6 Aug 5, 2024
@svenoe svenoe changed the title CKEditor5 issue with DynamicField RichText in AgentITSMConfigItemEdit Allow wrapping in CKEditor5 inputs. Aug 5, 2024
@svenoe
Copy link
Contributor

svenoe commented Aug 5, 2024

This also affects the CustomerInterface in general currently, which I will change with the next commit for 11.0.5. The whole thing should be reviewed, though. Wrapping should work everywhere in the editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended style Beautify please
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants