[TYPO3-dev] anything like rtehtmlarea_dummyplugin for 6.2 and higher
bugblatterbeast
info at bugblatterbeast.de
Thu Jun 9 22:23:05 CEST 2016
Hello,
are there any examples for adding a plugin to the rtehtmlarea using extbase? I'm working on a customized blog-extension for 6.2 and I'd like to provide rte-editing for registered front-end-users. I've managed to modify the example from rtehtmlarea_api_manual and build a viewhelper. As expected, I can't use the image and link button though.
I've also added some minor changes to rtehtmlarea_youtube_button, which is based on the rtehtmlarea_dummyplugin, but I only got it working as long as a user is logged on to the backend. Otherwise I get a php error: "Fatal error: Call to a member function getTSConfig() on a non-object in /home/www/typo3/typo3_src-6.2.19/typo3/sysext/backend/Classes/Utility/BackendUtility.php on line 2850"
I'd like to create buttons that allow adding images and links, when using the rte in the front-end. The rtehtmlarea_dummyplugin is quite outdated. Are there any recent manuals, discussions, examples or even working extensions that explain, how to add a plugin to the rte?
Any information is appreciated.
Thanks in advance and kind regards,
Nils
More information about the TYPO3-dev
mailing list