Versions Compared

Key

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

...

CKEditor is a widely-used WYSIWYG text editor 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 with content management systems like Drupal, it's important to understand how these versions interact with the Basic HTML Filter and Full HTML Filter, which are commonly used for content filtering and security. This knowledgebase knowledge base page highlights the primary differences between CKEditor 4 and CKEditor 5 in conjunction with these filters.

CKEditor 4 and Basic HTML Filter

  1. Compatibility: CKEditor 4 is integrated with Drupal's Basic HTML Filter by default, making it suitable for users who require a simpler content creation experience.

  2. Security: CKEditor 4, when combined with the Basic HTML Filter, provides a moderate level of security. It restricts users from adding potentially harmful HTML elements, limiting the risk of security vulnerabilities.

  3. Feature Set: CKEditor 4 offers a rich set of features for content editing, including basic formatting, lists, and media embedding. It provides a familiar toolbar interface with various options.

  4. Customization: CKEditor 4 allows some customization of the toolbar and plugins. However, it may require more advanced configuration for fine-tuning.

CKEditor 4 and Full HTML Filter

...

Advanced Features: CKEditor 4 is commonly used with the Full HTML Filter to allow more advanced content creation, as it doesn't restrict users from using complex HTML and JavaScript.

...

Security Risks: When paired with the Full HTML Filter, CKEditor 4 opens up the possibility of security risks, as users can insert potentially malicious code or scripts. Careful content moderation is necessary to mitigate these risks.

...

.

...

CKEditor 5 and Basic HTML Filter

...