ckeditor.libraries.yml 1.81 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
drupal.ckeditor:
  version: VERSION
  js:
    js/ckeditor.js: {}
  css:
    state:
      css/ckeditor.css: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupal.debounce
    - core/ckeditor
    - editor/drupal.editor
14 15
    # Ensure to run after core/matchmedia.
    - core/matchmedia
16 17 18 19 20 21 22 23 24

drupal.ckeditor.plugins.drupalimagecaption:
  version: VERSION
  css:
    component:
      css/plugins/drupalimagecaption/ckeditor.drupalimagecaption.css: {}
  dependencies:
    - filter/caption

25 26 27
drupal.ckeditor.admin:
  version: VERSION
  js:
28
    # Core.
29
    js/ckeditor.admin.js: {}
30 31 32 33 34 35 36
    # Models.
    js/models/Model.js: {}
    # Views.
    js/views/AuralView.js: {}
    js/views/KeyboardView.js: {}
    js/views/ControllerView.js: {}
    js/views/VisualView.js: {}
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
  css:
    theme:
      css/ckeditor.admin.css: {}
      /core/assets/vendor/ckeditor/skins/moono/editor.css: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/jquery.once
    - core/jquery.ui.sortable
    - core/jquery.ui.draggable
    - core/jquery.ui.touch-punch
    - core/backbone
    - core/drupal.dialog
    - core/drupal.announce
    - core/ckeditor
    - editor/drupal.editor.admin
    # Ensure to run after core/drupal.vertical-tabs.
    - core/drupal.vertical-tabs

drupal.ckeditor.drupalimage.admin:
  version: VERSION
  js:
    js/ckeditor.drupalimage.admin.js: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/jquery.once
    - core/drupal.vertical-tabs
    - core/drupalSettings

drupal.ckeditor.stylescombo.admin:
  version: VERSION
  js:
    js/ckeditor.stylescombo.admin.js: {}
  dependencies:
    - core/jquery
    - core/drupal
75
    - core/jquery.once
76 77
    - core/drupal.vertical-tabs
    - core/drupalSettings
78 79
    # Ensure to run after ckeditor/drupal.ckeditor.admin.
    - ckeditor/drupal.ckeditor.admin