Hello,

I've CKEditor - Media Embed module installed on my Drupal 8 - https://www.drupal.org/project/ckeditor_media_embed
I want to add an other input (type text) after existing field (URL), but I don't see how to proceed to do that ...

I've my module in /modules/modified/ckeditor_media_embed and in src/Plugin/CKEditorPlugin there is MediaEmbed.php script but I don't see where is first input "URL" and add my custom input.

Any idea???

Thank :)

Comments

Jjjj1258’s picture

Nobody? :)

slewazimuth’s picture

The CKEditor in Drupal 8 core was created by the folks from ckeditor.com. When building your own modules, some of the information is on drupal.org and the rest is at ckeditor.com. Drupal 8.6.1 uses ckeditor version 4.10. I built a bunch of custom modules for my clients years ago and about a year after drupal 8 was officially released, I made some videos so clients could see how they worked. The documentation you want is found at ckeditor.com under version 4. That documentation will help you create your custom Media Embed module.