Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

As of 11/1/2023, CKEditor 5 is now what is installed in all Drupal sites.

CKEditor 5 is a widely-used WYSIWYG text editor tailored for web applications. It offers different versions, with CKEditor 4 (CKEditor 4.x) and CKEditor 5 (CKEditor 5.x) being two of the most prominent ones. When using CKEditor When incorporating CKEditor 5 with content management systems like Drupal, it's important to understand how these versions interact with understanding its interaction with filters such as the Basic HTML Filter and Full HTML Filter , which are commonly used for content filtering and securitybecomes essential. This knowledge base page highlights sheds light on the primary differences between CKEditor 4 and compatibility of CKEditor 5 in conjunction with these filters, offering insights into its functionality for content filtering and security within the context of web development.

...

CKEditor 5 and Basic HTML Filter

  1. Modularity: CKEditor 5 is more modular and modern compared to CKEditor 4. It allows for easy integration with various filters, including the Basic HTML Filter.

  2. Security: CKEditor 5, when used with the Basic HTML Filter, offers enhanced security features, making it more robust against security threats by filtering out potentially harmful code by default.

  3. Customization: CKEditor 5 provides a flexible configuration system, enabling users to customize the editor's toolbar and behavior. This makes it easier to tailor the editor to specific needs.

  4. Accessibility: CKEditor 5 has improved accessibility features out of the box, making it a better choice for ensuring that content created is accessible to all users.

...

  1. Advanced Editing: CKEditor 5 can be integrated with the Full HTML Filter for users who need advanced content editing capabilities. It allows the use of complex HTML, but with enhanced security features.

  2. Security Enhancements: CKEditor 5, when combined with the Full HTML Filter, maintains a higher level of security compared to CKEditor 4. It mitigates security risks by providing better filtering and validation of user input.

  3. Customization: CKEditor 5 offers extensive customization options for the Full HTML Filter, allowing administrators to define which HTML elements and attributes are allowed, further enhancing content control.

...

Bootstrap is a popular front-end framework that provides a set of pre-designed styles and components to help you create responsive and visually appealing web applications. Out of the box, CKEditor5 did not have options for Table Styles, unlike CKEditor4. Here at Drupal ITS, we included several table styles provided by Bootstrap, including table-striped, table-small, table-bordered, and table-responsive.

...