Closed Denneee closed 8 months ago
Hi @Denneee , i don't know exactly why, but can you try to copy the YAML settings into yours: https://github.com/netresearch/t3x-rte_ckeditor_image/blob/main/Configuration/RTE/Plugin.yaml ?
Sadly not helping
Doesn't work for me either, even with this barebones yaml:
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Default.yaml" }
editor:
config:
removePlugins: null
importModules:
- '@netresearch/rte-ckeditor-image/Plugins/typo3image.js'
externalPlugins:
typo3image: { route: "rteckeditorimage_wizard_select_image" }
processing:
allowTagsOutside:
- img
=> PHP 8.2 TYPO3 12.4.11
I could solve it. I looked and copared with other typo3 ckeditor plugins. For the Icon to apear in the editor you need to add the following to the toolbar:
toolbar:
items:
- insertimage
because in the javascript code they named it like this:
Thanks worked for me!
@ Extension Author: It seems like a lot of work, but it is possible to auto-add the required yaml bits with PHP in the Extension code, which would highly simplify the usage of your ext. The author of EXT:iconpack does that. I haven't fully reverse-engineered it, but the critical parts seem to be in this event listener:
EXT:iconpack\Classes\EventListener\IconpackPrepareConfigurationForEditor.php
Hello @SicorDev, feel free to open a new issue for this feature request.
Comments in closed issues are often overlooked.
Bug description I did everything the instructions said, but the picture button in the text editor isn't appearing.
Steps to reproduce
Screenshots or logs My Default.yaml looks like this:
Here Image how the RTE is looking