netresearch / t3x-rte_ckeditor_image

Image support in CKEditor for the TYPO3 ecosystem
GNU Affero General Public License v3.0
56 stars 65 forks source link

Adding the plugin in a TYPO3 12 instance #283

Closed fsuter closed 6 months ago

fsuter commented 6 months ago

Question I am currently migrating a TYPO3 instance from 11 to 12. Adding the plugin to the RTE worked flawlessly with TYPO3 11. With TYPO3 12, I just can't make it: the button for inserting images does not appear in the toolbar.

Additional information This is the configuration preset that I use (again, it worked fine with TYPO3 11):

imports:
  - { resource: 'EXT:catalog_resources/Configuration/RTE/Standard.yaml' }
  - { resource: "EXT:rte_ckeditor_image/Configuration/RTE/Plugin.yaml" }

editor:
  externalPlugins:
    liststyle:
      resource: "EXT:rte_ckeditor/Resources/Public/JavaScript/Contrib/plugins/liststyle/plugin.js"
  config:
    removePlugins: null
    toolbar:
      - [ 'Image' ]
    extraPlugins:
      - liststyle

I have tried adding explicitly the "Image" button in the toolbar, but it doesn't change a thing. I'm not even sure that this is really the button's name.

Environment

Documentation Have you checked the readme/documentation?

the-andyman commented 6 months ago

Try insertImage instead of Image in the toolbar.

fsuter commented 6 months ago

Thanks for the hint. It is indeed "insertImage" rather than "Image".

There was also an issue with my toolbar configuration. It needs to be:

    toolbar:
      items:
        - '|'
        - insertImage