Commit 92e70904 authored by catch's avatar catch

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

parent d1868836
...@@ -2,6 +2,8 @@ editor.filter_xss: ...@@ -2,6 +2,8 @@ editor.filter_xss:
path: '/editor/filter_xss/{filter_format}' path: '/editor/filter_xss/{filter_format}'
defaults: defaults:
_controller: '\Drupal\editor\EditorController::filterXss' _controller: '\Drupal\editor\EditorController::filterXss'
options:
_theme: ajax_base_page
requirements: requirements:
_entity_access: 'filter_format.use' _entity_access: 'filter_format.use'
...@@ -23,6 +25,8 @@ editor.image_dialog: ...@@ -23,6 +25,8 @@ editor.image_dialog:
defaults: defaults:
_form: '\Drupal\editor\Form\EditorImageDialog' _form: '\Drupal\editor\Form\EditorImageDialog'
_title: 'Upload image' _title: 'Upload image'
options:
_theme: ajax_base_page
requirements: requirements:
_entity_access: 'filter_format.use' _entity_access: 'filter_format.use'
...@@ -31,5 +35,7 @@ editor.link_dialog: ...@@ -31,5 +35,7 @@ editor.link_dialog:
defaults: defaults:
_form: '\Drupal\editor\Form\EditorLinkDialog' _form: '\Drupal\editor\Form\EditorLinkDialog'
_title: 'Add link' _title: 'Add link'
options:
_theme: ajax_base_page
requirements: requirements:
_entity_access: 'filter_format.use' _entity_access: 'filter_format.use'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment