<?xml version="1.0" encoding="UTF-8" ?>

<config xmlns="http://thelia.net/schema/dic/config"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd">

    <services>
        <service id="smarty.plugin.tinymce_lang" class="Tinymce\Smarty\TinyMCELanguage">
            <tag name="thelia.parser.register_plugin"/>
            <argument type="service" id="request_stack"/>
        </service>
    </services>

    <hooks>
        <hook id="tinymce.hook" class="Tinymce\Hook\HookManager">
            <tag name="hook.event_listener" event="module.configuration" type="back" templates="render:module_configuration.html" />
            <tag name="hook.event_listener" event="wysiwyg.js" type="back" method="onJsWysiwyg" />
        </hook>
    </hooks>

    <forms>
        <form name="tinymce.configure" class="Tinymce\Form\ConfigurationForm" />
    </forms>

</config>
