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

Widget type around button inserts a list item instead of a paragraph #17224

Closed
niegowski opened this issue Oct 4, 2024 · 0 comments · Fixed by #17278
Closed

Widget type around button inserts a list item instead of a paragraph #17224

niegowski opened this issue Oct 4, 2024 · 0 comments · Fixed by #17278
Assignees
Labels
package:list squad:core Issue to be handled by the Core team. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@niegowski
Copy link
Contributor

📝 Provide detailed reproduction steps (if any)

  1. Open https://ckeditor.com/docs/ckeditor5/latest/examples/builds-custom/full-featured-editor.html
  2. Insert a block image directly below the list (but not part of the list)
  3. Click "Insert paragraph before block" or press Shift+Enter

✔️ Expected result

Paragraph is inserted above the image. It's not inside a list.

❌ Actual result

A new list item is added:

2024-10-04.16.02.23.mp4

Alternative scenario:

  1. Open https://ckeditor.com/docs/ckeditor5/latest/examples/builds-custom/full-featured-editor.html
  2. Select the whole heading in editor content
  3. Drag it and drop below the last list item

✔️ Expected result

Heading is not inside a list item.

❌ Actual result

A new list item is added:

2024-10-04.16.05.35.mp4

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@niegowski niegowski added package:list squad:core Issue to be handled by the Core team. type:bug This issue reports a buggy (incorrect) behavior. labels Oct 4, 2024
niegowski added a commit that referenced this issue Oct 4, 2024
…raph-fix

Fix (list): Inserting or dropping a paragraph after the end of a list should not convert the paragraph to a list item. Closes #17224.
@niegowski niegowski self-assigned this Oct 4, 2024
@arkflpc arkflpc added this to the iteration 80 milestone Oct 24, 2024
arkflpc added a commit that referenced this issue Oct 24, 2024
Feature (bookmark): Introduces the Bookmarks feature. Closes #1944.

Fix (list): Inserting or dropping a paragraph after the end of a list should not convert the paragraph to a list item. Closes #17224.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:list squad:core Issue to be handled by the Core team. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants