2

Can anyone tell me if there is anywhere I can find out what each of these TinyMCE plugins are for?

$in['plugins']='inlinepopups,tabfocus,paste,media,fullscreen,wordpress,wpeditimage,wpgallery,wplink,wpdialogs,wpfullscreen';

I'm wondering because if I remove the wordpress one that the editor will stop stripping out my <p> tags, but I also lose all my spacing in the html view of the editor as well.

  • TinyMCE is a separate project that WordPress uses. It's sometimes difficult to determine if the question is best asked here, or is 'off topic.' Depends on the degree of integration, I suppose. This one is more on the 'off topic' side, as you're not asking how to integrate. You can find each plugin easily by searching TinyMCE plugin [name] - for example: tinymce.com/tryit/tab_focus.php – marfarma Aug 27 '12 at 19:50
  • 2
    These plugins are WordPress specific, and so the question is absolutely on topic here. – fuxia Aug 27 '12 at 19:58
  • @toscho - You're half right. As for the rest, I took it as a challenge (and penance for jumping the gun with my comment) to figure out the rest. – marfarma Aug 28 '12 at 19:47
  • btw - if you're primarily interested in preventing wp from stripping out certain tags, there filters for that. See: wpsnipp.com/index.php/functions-php/… for one. – marfarma Aug 28 '12 at 19:55
1

The first few you listed are not WordPress specific, and information about them can be found as follows:

  1. inlinepopups
  2. tabfocus
  3. paste
  4. media
  5. fullscreen

As for the WordPress specific plugins, their source code is here (trac). There are no comments, but here's my take based on a very cursory read through:

  1. wordpress: seems to setup the editor with default buttons, classes, size, etc
  2. wpeditimage: seems to add the insert media dialog
  3. wpgallery: launches tb_show("",tinymce.documentBaseURL+"/media-upload.php?post_id="+f+"&tab=gallery&TB_iframe=true&width="+d+"&height="+g) which adds the gallery dialog
  4. wplink: seems to add the insert link dialog
  5. wpdialogs: adds tinyMCEPopup js function, probably used by the other dialogs
  6. wpfullscreen: puts the editor in wordpress 'distraction free' full screen mode. Not sure why this one and the standard fullscreen plugin both exist.
  • The look of the WP-Fullscreenmode (aka dfw; distraction free writing) is different from the default fullscreen plugin. The dfw also need specific DOM elements and css. If you use a custom editor and do not provide these DOM elements and css, the default fullscrenn plugin works as a fallback. – Ralf912 Dec 30 '12 at 4:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.