Embedding content from your site within a formatted text field with CKEditor.
Image
Inline images can be used in your content.
Images can be uploaded to the file system via CKEditor.
Drag and drop images are supported by default.
Decide if you want to allow using bare images in WYSIWYG, or use media everywhere. View on Drupal.org #3073901It's not easy to change Status: Active.
The standard profile configures Basic HTML with Images, but View on Drupal.org #3258492many developers replace that with Media Status: Needs work.
Media
Embedded media is well supported in Drupal.
It's the best way to embed images, video, even document thumbnails and other kinds of Media content.
There are different CKEditor features between Image and Media, and drag and drop doesn't work.
Issues
- View on Drupal.org #3117172Allow CKEditor styles for <drupal-media> Status: Active
- View on Drupal.org #3132324Make it possible to override custom fields when embedding media in CKEditor Status: Active
- View on Drupal.org #3138257Need to be able to override the link text of embedded media files Status: Active
Entity Embed
Embed any entity in CKEditor with Entity Embed.
View on Drupal.org #3430164Entity Embed Drupal 11 support Status: Closed (fixed).
View on GitLab #3430097Embed Drupal 11 support Status: Closed.
Views
View Views Entity Embed on Drupal.orgViews Entity EmbedCovered by the Drupal security advisory policy (1,345 installs)
Paragraphs
View Paragraphs Entity Embed on Drupal.orgParagraphs Entity EmbedCovered by the Drupal security advisory policy (2,016 installs)
View Paragraphs Inline Entity Form on Drupal.orgParagraphs Inline Entity FormCovered by the Drupal security advisory policy (624 installs)
oEmbed
media.oembed.provider_repository service pulls data from https://oembed.com/providers.json
To create a media type, a media source needs to be defined, see details in the change record.
Use oEmbed Providers to enable additional media type sources.
URL Embed can embed oEmbed content.
View on GitLab #3490287Proposal for a Media Widget field that can support inline and remote resources Status: Closed.
HTML
With source editing allowed, and html tags unrestricted, you can paste in embed codes containing scripts or iframes.
CKEditor5 HTML Embed provides a nice UI to separate embed code from your content.
However, if content entry needs to be secured, those have to be limited.
Layouts
View CKEditor Layouts on Drupal.orgCKEditor LayoutsCovered by the Drupal security advisory policy (693 installs)
Templates
View CKEditor5 Plugin Pack on Drupal.orgCKEditor5 Plugin PackCovered by the Drupal security advisory policy (54,197 installs): Templates
View Embedded Content on Drupal.orgEmbedded ContentCovered by the Drupal security advisory policy (3,352 installs)
View CKEditor5 Template on Drupal.orgCKEditor5 TemplateCovered by the Drupal security advisory policy (7,983 installs)
View CKEditor Templates on Drupal.orgCKEditor TemplatesCovered by the Drupal security advisory policy (5,607 installs)