feat(main): Initial Module
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{% extends '@PrestaShop/Admin/layout.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
{% block customhtml_edit_form %}
|
||||
{% include '@Modules/ws_customhtml/views/templates/admin/form/blocks/form.html.twig' %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{{ parent() }}
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
window.prestashop.component.initComponents(['TranslatableField', 'TranslatableInput']);
|
||||
|
||||
if (typeof window.tinymce !== 'undefined') {
|
||||
window.tinymce.init({
|
||||
selector: 'textarea.autoload_rte',
|
||||
plugins: 'code link lists image',
|
||||
toolbar: 'bold italic underline | bullist numlist | link | code',
|
||||
menubar: false,
|
||||
height: 400,
|
||||
relative_urls: false,
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user