Hi @cilefen
Any progress on this issue?
@cilefen Thanks for your help.
Yes, we tested with CKEditor5 demo.
Source code editing and HTML support (https://ckeditor.com/ckeditor-5/demo/html-support)
On this demo, we edited the html code
<ul>
<!--<li>
<a target="_blank" rel="noopener noreferrer" href="https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html">HTML embed</a>
</li>-->
<li>
<a target="_blank" rel="noopener noreferrer" href="https://ckeditor.com/docs/ckeditor5/latest/features/style.html">Styles</a>
</li>
<li>
<a target="_blank" rel="noopener noreferrer" href="https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html">General HTML Support</a>
</li>
</ul>
and came out of source edit.
Then we again enable the source edit the code looks like this:
<ul>
<li>
<a target="_blank" rel="noopener noreferrer" href="https://ckeditor.com/docs/ckeditor5/latest/features/style.html">Styles</a>
</li>
<li>
<a target="_blank" rel="noopener noreferrer" href="https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html">General HTML Support</a>
</li>
</ul>
the commented
<li>
<a target="_blank" rel="noopener noreferrer" href="https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html">HTML embed</a>
</li>
was completed but lost from the editor. How can we prevent this from losing our commented code? Please provide any suggestion
rharikumar_cse → created an issue.
rharikumar_cse → created an issue.
rharikumar_cse → created an issue.
By deleting the twig file on the theme, broke the site.
We updated the twig file, and the issue got fixed.
Thanks for the prompt response and your help.
That is from custom theme twig file.
themes->custom->theme_name->templates->system->image.html.twig
{#
/**
* @file
* Theme override of an image.
*
* Available variables:
* - attributes: HTML attributes for the img tag.
* - style_name: (optional) The name of the image style applied.
*
* @see template_preprocess_image()
*/
#}
<img{{ attributes }} class="lazyload" src="/sites/files/blank.gif" data-src="{{datasrc}}" />
There is no patches added related to the media or image.
Modules
Media
Media Library
Image
Blazy UI (Latest version)
On the source it is showing as
But when we save and look on the page, the src attribute on the img tag is "sites/files/blank.gif"
rharikumar_cse → created an issue.
rharikumar_cse → created an issue.
#13 worked perfectly