Initial Commit
This commit is contained in:
25
local/modules/Tinymce/Config/config.xml
Normal file
25
local/modules/Tinymce/Config/config.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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"/>
|
||||
</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>
|
||||
18
local/modules/Tinymce/Config/module.xml
Normal file
18
local/modules/Tinymce/Config/module.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module>
|
||||
<fullnamespace>Tinymce\Tinymce</fullnamespace>
|
||||
<descriptive locale="en_US">
|
||||
<title>TinyMCE WYSIWYG editor</title>
|
||||
</descriptive>
|
||||
<descriptive locale="fr_FR">
|
||||
<title>Editeur visuel TinyMCE</title>
|
||||
</descriptive>
|
||||
<version>2.3.1</version>
|
||||
<author>
|
||||
<name>Manuel Raynaud</name>
|
||||
<email>manu@raynaud.io</email>
|
||||
</author>
|
||||
<type>classic</type>
|
||||
<thelia>2.2.0</thelia>
|
||||
<stability>alpha</stability>
|
||||
</module>
|
||||
9
local/modules/Tinymce/Config/routing.xml
Normal file
9
local/modules/Tinymce/Config/routing.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<routes xmlns="http://symfony.com/schema/routing"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
||||
|
||||
<route id="tinymce.configure" path="/admin/tinymce/configure" methods="post">
|
||||
<default key="_controller">Tinymce\Controller\ConfigureController::configure</default>
|
||||
</route>
|
||||
</routes>
|
||||
Reference in New Issue
Block a user