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

[GHS] General HTML Support feature #9970

Closed
jacekbogdanski opened this issue Jun 28, 2021 · 1 comment · Fixed by #9963
Closed

[GHS] General HTML Support feature #9970

jacekbogdanski opened this issue Jun 28, 2021 · 1 comment · Fixed by #9963
Labels
domain:v4-compatibility This issue reports a CKEditor 4 feature/option that's missing in CKEditor 5. type:feature This issue reports a feature request (an idea for a new functionality or a missing option).

Comments

@jacekbogdanski
Copy link
Member

jacekbogdanski commented Jun 28, 2021

📝 Provide a description of the new feature

The General HTML Support ("GHS") feature will allow developers to easily enable HTML features that are not explicitly supported by any other dedicated CKEditor 5 plugins.

Some examples of HTML features that should be easily enabled using General HTML Support include:

  • The <section>, <article>, and <div> elements.
  • The <audio>, <video>, and <iframe> elements.
  • The <span> and <cite> elements.
  • Some of the attributes on existing dedicated CKEditor 5 features:
    • data-* and id attributes on e.g. <p> and <h1-h6>,
    • style and classes on e.g. <strong> and <a>.

The enabled HTML features could be loaded (e.g. via editor.setData()), pasted, output (e.g. via editor.getData()), and will be visible in the editing area. Such content could also be edited in the editor, although, to a limited extend.


If you'd like to see this feature implemented, add a 👍 reaction to this post.

@jacekbogdanski jacekbogdanski added type:feature This issue reports a feature request (an idea for a new functionality or a missing option). squad:compat domain:v4-compatibility This issue reports a CKEditor 4 feature/option that's missing in CKEditor 5. labels Jun 28, 2021
@jacekbogdanski jacekbogdanski added this to the iteration 44 milestone Jun 28, 2021
maxbarnas added a commit that referenced this issue Jun 28, 2021
Feature (html-support): Introduced General HTML Support feature. Closes #9970.
@ashishforgrz
Copy link

Can anyone give me an example of how can i use custom classes in html tags while using ckeditor 5 with react npm build. I don't know where i am stuck. Simple code example of allowing General HTML Support with react npm build would be helpfull.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:v4-compatibility This issue reports a CKEditor 4 feature/option that's missing in CKEditor 5. type:feature This issue reports a feature request (an idea for a new functionality or a missing option).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants