Hi, I’m also having problems with custom.js and overriding the default
magnolialink plugin. I’ve added the following to the config.js file:
[code]config.extraPlugins = 'magnolialink'; (and of course added 'InternalLink'
& 'DamLink' to the config.toolbar)[/code]
but it still didn't work because CKEditor was searching for plugin.js in
[code]xx-web-webapp/VAADIN/widgetsets/info.magnolia.ui.vaadin.gwt.MagnoliaWidgetSet/ckeditor/plugins/magnolialink/plugin.js[/code]
instead of [code]/xx-web-webapp/VAADIN/js/magnolialink/plugin.js[/code], so i
had to add the following line:
[code]CKEDITOR.plugins.addExternal('magnolialink',
'/xx-web-webapp/VAADIN/js/magnolialink/plugin.js');[/code]
At this point the buttons in the toolbar showed up and there was no errors. But
what happens now is that when i click the button, gray overlay shows but
magnolia popup for link selection is never shown (also no POST request to
/xxx-web-webapp/.magnolia/admincentral/UIDL/?v-uiId=3 is sent).
What else do I have to do? Did i miss something? Thank you!
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=086ff14d-59a4-4ff9-a261-b2bd1078ea70
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------