Issue Bug Closed

#77698Custom Plugin for RTE causes Error on Editor initialization

Marco Dinnbier 08/30/16, 20:31 updated 05/06/17, 17:46

Description

I’ve tried to add a custom button to rtehtmlarea.

On initialization the RTE hangs with a 404 error for the required JavaScript File and RequireJS throws an error.

The Reason: The registerPlugin Method in Editor.js uses the following namespace for requirejs -> TYPO3/CMS/Rtehtmlarea/Plugins/<mypluginname> instead of TYPO3/CMS/<mypackagename>/Plugins/<mypluginname></mypluginname></mypackagename></mypluginname>

https://git.typo3.org/Packages/TYPO3.CMS.git/blob/HEAD:/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Editor.js#l443

I would fix it, but I need to know what is the best way for getting the full Pluginnamespace or Packagename in this scope?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.