[GHS] Test coverage for using CKEditor 5's "Source Editing" with a <template> tag

Created on 6 September 2023, over 1 year ago
Updated 29 February 2024, 10 months ago

Problem/Motivation

When I have a tag in ckeditor5, the editor breaks and 'Source' button doesn't work anymore.
It is reproducible in demo as well https://ckeditor.com/ckeditor-5/demo/html-support/
Enter following code in source editing mode and see if you can toggle source button anymore.
<template id"test"><h1>Hi</h1></template>

Steps to reproduce

1. Edit a content that has ckeditor5 editor
2. Enable source editing mode.
3. Enter html code with <template> tag.
4. Disable source editing mode and enable again.
5. You can see console error throwing.

📌 Task
Status

Active

Version

11.0 🔥

Component
CKEditor 5 

Last updated 2 days ago

Created by

🇮🇳India sahal_va

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024