Commit 5cf7ffcd authored by catch's avatar catch
Browse files

Issue #2640086 by markcarver: Editor routes don't use the ajax_base_page theme negotiator

(cherry picked from commit 92e70904)
parent 3ca5f127
Loading
Loading
Loading
Loading
+6 −0
Changes for core/modules/editor/editor.routing.yml: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ editor.filter_xss:
  path: '/editor/filter_xss/{filter_format}'
  defaults:
    _controller: '\Drupal\editor\EditorController::filterXss'
  options:
    _theme: ajax_base_page
  requirements:
    _entity_access: 'filter_format.use'

@@ -23,6 +25,8 @@ editor.image_dialog:
  defaults:
    _form: '\Drupal\editor\Form\EditorImageDialog'
    _title: 'Upload image'
  options:
    _theme: ajax_base_page
  requirements:
    _entity_access: 'filter_format.use'

@@ -31,5 +35,7 @@ editor.link_dialog:
  defaults:
    _form: '\Drupal\editor\Form\EditorLinkDialog'
    _title: 'Add link'
  options:
    _theme: ajax_base_page
  requirements:
    _entity_access: 'filter_format.use'