Hi there, I am porting my TinyMCE plugin, PoodLL Anwhere , to Atto.
So far so good. But I can't seem to make Atto load my PoodLL Anywhere icon for the toolbar. The button appears, and does what it is supposed to when I click it. But the icon doesn't load from the pix folder in the sub-Plugins directory. The core Atto sub-plugins all pull their icons from the [moodle]/pix/e .
Can anyone tell me where I should put the icons for the Atto toolbar?
*Update: I found the code in button.js that looks like this:
initializer: function() {
// Add the poodll button first.
this.addButton({
icon: 'e/insert_edit_poodll',
callback: this._displayDialogue,
tags: 'a'
});
So I guess I need to build the button as a YUI module. I think that means I have to install "shifter." I will play with that from now, but would the correct path then be:
insert_edit_poodll
or
lib/editor/atto/plugins/poodll/pix/insert_edit_poodll
?