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

Widgets can be inserted into other widget's editable #1468

Open
Comandeer opened this issue Jan 17, 2018 · 2 comments
Open

Widgets can be inserted into other widget's editable #1468

Comandeer opened this issue Jan 17, 2018 · 2 comments
Labels
plugin:widget The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.

Comments

@Comandeer
Copy link
Member

Are you reporting a feature request or a bug?

Bug

Provide detailed reproduction steps (if any)

  1. Open https://sdk.ckeditor.com/samples/captionedimage.html
  2. Select and copy image widget.
  3. Paste it into image widget's caption.

Expected result

Pasted content is filtered using ACF.

Actual result

Whole widget is pasted into nested editable.

Other details

  • Installed CKEditor plugins: widget
@Comandeer Comandeer added type:bug A bug. status:confirmed An issue confirmed by the development team. plugin:widget The plugin which probably causes the issue. labels Jan 17, 2018
@Comandeer Comandeer changed the title Widgets bypass ACF Widgets could be pasted inside other widget's editable Feb 12, 2018
@f1ames
Copy link
Contributor

f1ames commented May 23, 2019

Also there is 2nd part of this issue. Switching to source mode (after 3rd step) and then back, results in widget from caption being removed (so content before and after is not consistent). Reporting it here since fixing/blocking pasting into image widget caption will also solve this.

@Comandeer
Copy link
Member Author

It seems that widgets can be also simply created inside other widget's nested editable, as shown in /tests/plugins/widget/manual/block: you can create block widget inside image's caption.

@Comandeer Comandeer changed the title Widgets could be pasted inside other widget's editable Widgets can be inserted into other widget's editable Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin:widget The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

2 participants