Project
I'd like to be able to add Code Samples within my content.
Entity Embed module is finally compatible with CKEditor 5.
Entity Browser helps select existing entities.
I used this patch to fix the autosubmit after selection: https://www.drupal.org/project/entity_browser/issues/2853751
See also: https://www.drupalarchitect.info/module/ckeditor5-entity-browser
See also: https://www.drupal.org/project/embedded_content_sdc
See also: https://www.drupal.org/project/embedded_content
View Modes
Select a view mode for an embedded code sample.
- Bare
- Inline html/css/js.
- iFrame
- Render in an iframe to encapsulate styles.