From 47fa7d44481053b3d4dde3b75d6c06788156ed22 Mon Sep 17 00:00:00 2001 From: Achim Fritz Date: Tue, 28 Nov 2023 10:11:02 +0100 Subject: [PATCH] !!![TASK] define requirements * require PHP ^8.1 * require TYPO3 11 or 12 --- Configuration/RTE/Richtextinputfields.yaml | 1 + Configuration/Services.yaml | 2 +- composer.json | 4 ++++ ext_emconf.php | 17 +++++++++++++++++ ext_localconf.php | 2 +- 5 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 ext_emconf.php diff --git a/Configuration/RTE/Richtextinputfields.yaml b/Configuration/RTE/Richtextinputfields.yaml index 7a47c5d..9117a9b 100644 --- a/Configuration/RTE/Richtextinputfields.yaml +++ b/Configuration/RTE/Richtextinputfields.yaml @@ -31,6 +31,7 @@ editor: removePlugins: - resize - autogrow + - softhyphen processing: overruleMode: nothing diff --git a/Configuration/Services.yaml b/Configuration/Services.yaml index 412327f..7ad2c50 100644 --- a/Configuration/Services.yaml +++ b/Configuration/Services.yaml @@ -10,4 +10,4 @@ services: B13\Richtextinputfields\EventListener\TcaToRteConfiguration: tags: - name: event.listener - event: TYPO3\CMS\RteCKEditor\Form\Element\Event\AfterPrepareConfigurationForEditorEvent + identifier: 'b13/richtextinputfields/tca-to-rte-configuration' diff --git a/composer.json b/composer.json index e3605f8..1d69f38 100644 --- a/composer.json +++ b/composer.json @@ -8,6 +8,10 @@ "extension-key": "richtextinputfields" } }, + "require" : { + "typo3/cms-rte-ckeditor": "^11.5 || ^12.4", + "php": "^8.1" + }, "autoload": { "psr-4": { "B13\\Richtextinputfields\\": "Classes/" diff --git a/ext_emconf.php b/ext_emconf.php new file mode 100644 index 0000000..96291e0 --- /dev/null +++ b/ext_emconf.php @@ -0,0 +1,17 @@ + 'richtextinputfields', + 'description' => 'Rich text editor for input fields.', + 'category' => 'backend', + 'author' => 'b13 GmbH', + 'author_email' => 'typo3@b13.com', + 'author_company' => 'b13 GmbH', + 'state' => 'stable', + 'version' => '1.0.0', + 'constraints' => [ + 'depends' => ['typo3' => '11.5.33-12.99.99'], + 'conflicts' => [], + 'suggests' => [], + ], +]; diff --git a/ext_localconf.php b/ext_localconf.php index ed0c8e5..e87b7be 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -1,6 +1,6 @@