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

Fix the URL editing of the CKBox/Responsive image #15093

Closed
Witoso opened this issue Sep 28, 2023 · 0 comments · Fixed by #15135
Closed

Fix the URL editing of the CKBox/Responsive image #15093

Witoso opened this issue Sep 28, 2023 · 0 comments · Fixed by #15135
Assignees
Labels
package:ckbox package:image squad:core Issue to be handled by the Core team. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@Witoso
Copy link
Member

Witoso commented Sep 28, 2023

Replacing the URL of the image, should replace the image itself. Looks like this was already planned but is not working:

writer.removeAttribute( 'srcset', image );
writer.removeAttribute( 'sizes', image );

Scope

Updating the URL of the responsive image (srcset, sources), should change it to a normal image. We should also clean the ckboxImageId attribute.

@Witoso Witoso added squad:core Issue to be handled by the Core team. type:bug This issue reports a buggy (incorrect) behavior. package:image package:ckbox labels Sep 28, 2023
@CKEditorBot CKEditorBot added the status:planned Set automatically when an issue lands in the "Sprint backlog" column. We will be working on it soon. label Oct 2, 2023
@illia-stv illia-stv self-assigned this Oct 5, 2023
@CKEditorBot CKEditorBot added status:in-progress Set automatically when an issue lands in the "In progress" column. We are working on it. and removed status:planned Set automatically when an issue lands in the "Sprint backlog" column. We will be working on it soon. labels Oct 5, 2023
@pszczesniak pszczesniak self-assigned this Oct 10, 2023
niegowski added a commit that referenced this issue Oct 16, 2023
…of-the-responsive-image

Fix (image): Remove outdated image attributes when an image is replaced by a URL. Closes #15093.
@CKEditorBot CKEditorBot removed the status:in-progress Set automatically when an issue lands in the "In progress" column. We are working on it. label Oct 16, 2023
@CKEditorBot CKEditorBot added this to the iteration 68 milestone Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:ckbox package:image 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.

4 participants