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

Pasting an inline widget as plain text inserts additional empty lines before and after widget text #17052

Open
lkszzajac opened this issue Sep 6, 2024 · 0 comments · May be fixed by #17068
Open
Assignees
Labels
package:clipboard package:widget squad:core Issue to be handled by the Core team. support:2 An issue reported by a commercially licensed client. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@lkszzajac
Copy link

📝 Provide detailed reproduction steps (if any)

  1. Open the inline widget implementation guide (https://ckeditor.com/docs/ckeditor5/latest/framework/tutorials/widgets/implementing-an-inline-widget.html)
  2. Copy text containing the implemented placeholder inline widget from the demo editor
  3. Paste it without formatting (Cmd + Shift + V)

✔️ Expected result

The inline widget gets pasted as its text representation inline

❌ Actual result

New empty lines are inserted before and after the inline widget pasted as plain text.

image

📃 Other details

@lkszzajac lkszzajac added type:bug This issue reports a buggy (incorrect) behavior. package:clipboard package:widget support:2 An issue reported by a commercially licensed client. squad:core Issue to be handled by the Core team. labels Sep 6, 2024
@Mati365 Mati365 self-assigned this Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:clipboard package:widget squad:core Issue to be handled by the Core team. support:2 An issue reported by a commercially licensed client. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants