Documentation for the new 2.4 Tinymce pluggin framework?

Documentation for the new 2.4 Tinymce pluggin framework?

Sam Mudle -
Vastausten määrä: 3

Hey, I've developed an additional button for GESHI (https://moodle.org/mod/forum/discuss.php?d=176780) in TinyMce.  It works fine, but is annoying to hack core moodle files.

Can anyone direct me to how to properly add new TinyMCE pluggins in Moodle 2.4.  (Namely, this feature: http://tracker.moodle.org/browse/MDL-33041)

Thanks!

Arviointien keskiarvo: -
Vastaus Sam Mudle

Re: Documentation for the new 2.4 Tinymce pluggin framework?

Dan Poltawski -

http://docs.moodle.org/dev/TinyMCE_plugins seems to be the best we've got.

Vastaus Dan Poltawski

Re: Documentation for the new 2.4 Tinymce pluggin framework?

Davo Smith -
Kuva: Core developers Kuva: Particularly helpful Moodlers Kuva: Peer reviewers Kuva: Plugin developers

Just checking, as it appears inconsistent with other plugins, but should:

/lang/yourplugin/tinymce_yourplugin.php Language strings. All strings used from TinyMCE JavaScript files must start with "yourplugin:*" prefix.

read

/lang/en/tinymce_yourplugin.php Language strings. All strings used from TinyMCE JavaScript files must start with "yourplugin:*" prefix.

... or something like that?

Vastaus Davo Smith

Re: Documentation for the new 2.4 Tinymce pluggin framework?

Dan Poltawski -

I think so, see: lib/editor/tinymce/plugins/moodleemoticon/

as an example.