Closed harmenjanssen closed 6 months ago
This enables developers to configure custom settings for the mediaEmbed section as outlined in the CKEditor MediaEmbedConfig documentation.
mediaEmbed
Example Laravel code:
// file: config/ckeditor5Classic.php return [ // ... rest of config 'mediaEmbed' => [ 'extraProviders' => [ [ 'name' => 'Example.com', 'url' => '/^example\.com\/media\/(\w+)/', 'html' => '<p>Example $1</p>', ], ], 'previewsInData' => true, ], ];
I need some custom media providers in my project, so hopefully this can be merged into the project!
Thanks in advance, let me know if you'd like to see changes.
Hi! Is there an update on this? I need this functionality in my project and would really like to avoid using a fork.
Thanks!
This is a great PR, accept!
This enables developers to configure custom settings for the
mediaEmbed
section as outlined in the CKEditor MediaEmbedConfig documentation.Example Laravel code:
I need some custom media providers in my project, so hopefully this can be merged into the project!
Thanks in advance, let me know if you'd like to see changes.