[Elgg 1.8-1.12 & 2.X & 3.X: Extended TinyMCE] vr17

Release Notes


  • Upgraded to version 3.5.6 of the TinyMCE editor.
  • Great plugin ! I recommend it !

    I have two suggestions :

    - add a kind of profiles for tinymce, in order to be able to use simple tinymce (with only some buttons like in this comment area) or more complex tinymce (for page editing for example). It can be a parameter to the input/longtext view, or something like that.

    - add the possibility to add local images and not only remote images. I know it's possible using the link above the editor (Imported files) but it's not very clean ...

    Anyway, thanks for your good job ;-)

  • @remy:

    I will think about the first suggestion. Of course, it's possible to use the bundled tinymce plugin of Elgg core for a simple tinymce gui (though the tinymce editor might not be available in the most recent release then).

    Your second suggestion might be slightly beyond the scope though. The embedding of local images is achieved using the bundled embed plugin which has no connection whatsoever with the source code of the tinymce editor. The Insert/edit image option of tinymce is completely separate of that - though you can also enter local urls here if you want to embed an image stored on your server and you know the url. To be able to select local images easier it would be necessary to completely rewrite the code of the tinymce Insert/edit image functionality.

  • Great plugin, Thanks :)

    Is there a way to add Heading section in the editor?

    There is a Font Family and Font size but I'd like to add Heading section.

    Is that a plugin I need to add inside tinymce files or what?

    Thanks a lot for your help.

  • Ignore my question, you explain it in description.


  • @iionly: ok, I understand for insert/edit image functionnality ... 

  • Hello, 

    I would like to inset images in the blog without inset url. Maiby drag and drop? or upload from my Pc? 

    Do you know how can I do that?

    Thnks very much.

  • @Irda

    It's not as easy as you might think. There are several things to consider.

    First, the tinymce editor is configured to not accept images inserted by drag+drop. This is prevented by the option "paste_data_images" set to false in fmod/extended_tinymce/views/default/extended_tinymce/init.php and mod/extended_tinymce/views/default/js/elgg/extended_tinymce_init.js. The option is set to false because any image file inserted by drag+drop wouldn't be kept anyway.

    Why not keep images added by drag+drop? Security!! The htmlawed plugin filters out any of these entries. The plugin is configured by default to do so.

    Another reason to not keep any images added this way is because they would cause issue when kept. They would have to be saved within the database encoded and this would result in performance issues and additionally it wouldn't work in most cases anyway because the database entries are limited in size (not relevant in most other cases) but the limit would result in most images not saved anyway.


  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2019-4-5
  • Downloads: 22229
  • Recommendations: 52

Other Projects

View iionly's plugins