dfm-8.x-1.16/src/Plugin/CKEditor5Plugin/DfmCKEditor5Image.php
src/Plugin/CKEditor5Plugin/DfmCKEditor5Image.php
<?php
namespace Drupal\dfm\Plugin\CKEditor5Plugin;
use Drupal\ckeditor5\Plugin\CKEditor5PluginDefault;
/**
* Defines Dfm image plugin for CKEditor5.
*
* @CKEditor5Plugin(
* id = "dfm_image",
* ckeditor5 = @CKEditor5AspectsOfCKEditor5Plugin(
* plugins = { "dfm.DfmImage" },
* ),
* drupal = @DrupalAspectsOfCKEditor5Plugin(
* label = @Translation("DFM Image"),
* library = "dfm/drupal.dfm.ckeditor5",
* admin_library = "dfm/drupal.dfm.admin",
* elements = { "<img>", "<img src alt height width>" },
* toolbar_items = {
* "dfm_image" = {
* "label" = "Insert images using Drupella File Manager",
* },
* },
* ),
* )
*/
class DfmCKEditor5Image extends CKEditor5PluginDefault {
}
