Witek Socha
Witek Socha
We are taking a look at this, if anyone wants to check the status, observe the https://github.com/ckeditor/ckeditor5/issues/14146 and its subtasks.
The implementation is close to completion, but we would love to hear some feedback. [The details are gathered in the comment.](https://github.com/ckeditor/ckeditor5/issues/14146#issuecomment-1632607316)
:tada: This feature was merged to the `master` and is available on the [nightly releases](https://github.com/ckeditor/ckeditor5/issues/14724) and [nightly docs](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/examples/builds-custom/full-featured-editor.html) to test. [In a comment in another issue](https://github.com/ckeditor/ckeditor5/issues/14146#issuecomment-1632607316), you can find more...
I will close this issue because there's a [General HTML Support plugin](https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html) that can handle most cases, [as well as a config option to keep empty inline elements](https://ckeditor.com/docs/ckeditor5/latest/api/module_html-support_generalhtmlsupportconfig-GeneralHtmlSupportConfig.html#member-allowEmpty).
I'm not sure what you mean by redefining, GHS has the configuration that allows [enabling all HTML features](https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html#enabling-all-html-features).
The example that you showed [is not valid HTML](https://validator.w3.org/nu/#textarea) according to its spec: > **Text not allowed in element** [**`ul`**](https://html.spec.whatwg.org/multipage/#the-ul-element) **in this context.** > > Content model for element [`ul`](https://html.spec.whatwg.org/multipage/#the-ul-element):...
At the current moment, I think it's safe to say we will not implement this feature in the foreseeable future. The GHS plugin is our main proposal for preserving HTML....
> It's a valid HTML, but this is what I get (i tag need not have a separate closing tag) It's not, per [W3 HTML checker](https://validator.w3.org/nu/#textarea): `Self-closing syntax (/>) used...
> @Witoso Would there be a workaround for the 2nd use case? where we can add loops or conditions? For such input, you could try to utilize [the HTML embed...
I'm not sure if I fully understand, could it be a duplicate of: #15849?