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

Content in inline editor is wrapped when its font style is changed #5187

Closed
nelito987 opened this issue Oct 8, 2024 · 2 comments
Closed
Labels
Bug Something isn't working C:Editor Regression Regression found, broken functionality which was working previously

Comments

@nelito987
Copy link

Describe the bug
When the user selects a word and changes its style (for example bold, italic, etc.) the content of the inline Editor is wrapped on multiple lines.

To reproduce
Steps to reproduce the behavior:

  1. Go to Dojo - https://dojo.telerik.com/JNAQLLsy
  2. Select a word in the editor and change its style from the tools.

Expected behavior
The content should not wrap.

Screenshots
image

Workaround

<style>
      .k-editor{
        display: block
      }
</style>

Dojo - https://dojo.telerik.com/iZZPZIGg

Regression since 2022.1.119

Affected package (please remove the unneeded items)

  • theme-default
  • theme-bootstrap
  • theme-material

Affected suites (please remove the unneeded items)

  • Kendo UI for jQuery

Affected browsers (please remove the unneeded items)

  • All
@nelito987 nelito987 added Bug Something isn't working C:Editor Regression Regression found, broken functionality which was working previously labels Oct 8, 2024
@epetrow
Copy link
Contributor

epetrow commented Nov 18, 2024

@nelito987, this does not look like a themes related issue to me. The problem (as far as I understood) only occurs in the scenario when you have a plain text node as the content of the Editor. If the content is text and is wrapped in any valid HTML element (e.g. <span>, <p>) the issue is not reproducible. Furthermore other suites seem to "enforce" wrapping plain text inside a paragraph if it is passed as the content, for example.

@nelito987
Copy link
Author

The issue is moved to the kendo-ui-core repo - telerik/kendo-ui-core#8055

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working C:Editor Regression Regression found, broken functionality which was working previously
Projects
None yet
Development

No branches or pull requests

2 participants