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

Paragraph is created inside paragraph when pressing Enter on a selected inline widget #1529

Closed
Reinmar opened this issue Feb 13, 2019 · 2 comments
Assignees
Labels
type:bug This issue reports a buggy (incorrect) behavior.
Milestone

Comments

@Reinmar
Copy link
Member

Reinmar commented Feb 13, 2019

  1. Go to http://localhost:8125/ckeditor5-widget/tests/manual/inline-widget.html
  2. Select an inline widget.
  3. Press enter.
  4. Check the model/DOM structure. You will find a paragraph inside a paragraph (or other block element).
@Reinmar Reinmar added the type:bug This issue reports a buggy (incorrect) behavior. label Feb 13, 2019
@Reinmar Reinmar added this to the iteration 22 milestone Feb 13, 2019
@Reinmar
Copy link
Member Author

Reinmar commented Feb 13, 2019

The demo comes from https://github.com/ckeditor/ckeditor5-widget/pull/70/files and related PRs (listed in the former one).

@oskarwrobel
Copy link
Contributor

oskarwrobel commented Feb 15, 2019

@oskarwrobel oskarwrobel self-assigned this Feb 15, 2019
oleq added a commit to ckeditor/ckeditor5-widget that referenced this issue Feb 18, 2019
Fix: Pressing <kbd>Enter</kbd> should split parent element when the inline widget is inside a `$block`. Closes ckeditor/ckeditor5#1529.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

3 participants