Minor - fix upload file ckeditor, format code

pull/2542/head
jmontoyaa 7 years ago
parent 21d3d5dd11
commit d0dde460a8
  1. 3
      config/packages/ivory_ck_editor.yaml
  2. 1
      config/packages/sonata_media.yaml
  3. 4
      src/ThemeBundle/Resources/views/Layout/base-layout.html.twig

@ -25,7 +25,8 @@ ivory_ck_editor:
filebrowserImageUploadRoute: admin_chamilo_media_media_ckeditor_upload
filebrowserImageUploadRouteParameters:
provider: sonata.media.provider.image
context: my-context # Optional, to upload in a custom context
context: default # Optional, to upload in a custom context, see sonata_media.yaml
format: medium
plugins:
wordcount:
path: "/bundles/chamilocore/ckeditor/plugins/wordcount"

@ -68,7 +68,6 @@ sonata_media:
directory: '%kernel.root_dir%/../public/uploads/media'
create: true
providers:
# ...
file:
# the resizer must be set to false, otherwhise this can delete icon files from the fs
resizer: false

@ -34,7 +34,7 @@
{# topbar #}
{% block chamilo_topbar %}
{# creatable variable is set by the sonata page #}
{% if not creatable %} }}
{% if not creatable %}
{% include "@ChamiloTheme/Layout/topbar.html.twig" %}
{% endif %}
{% endblock %}
@ -99,7 +99,7 @@
{# menu #}
{% block chamilo_menu %}
{# creatable variable is set by the sonata page #}
{% if not creatable %} }}
{% if not creatable %}
{# course navigation links/shortcuts need to be activated by the admin #}
{% include "@ChamiloTheme/Layout/menu.html.twig" %}
{% endif %}

Loading…
Cancel
Save