tinyMCE edititor question

Added by Harjo Kompagnie over 4 years ago


I can't seem to get the imagemanager or filemanager to showup in the htmleditor (insertfile or insertimage)
the image button is working, but when I hit the browse button inside that popup, I don't get the system filechooser to open...

this is my method how I set the buttons:

if (elements.bean_354.editorType == 'TinyMCE') {
var js = {
content_css : application.getServerURL() + "/css/custom_content.css",
language: i18n.getCurrentLanguage(),
force_br_newlines : true,
forced_root_block : 'p',
plugins: 'safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager',
theme_advanced_font_sizes : "8px=8px, 10px=10px, 11px=11px, 12px=12px, 14px=14px, 16px=16px,18px=18px,20px=20px,22px=22px,24px=24px,26px=26px,28px=28px,36px=36px,48px=48px,72px=72px",
theme_advanced_toolbar_location: 'top', theme_advanced_toolbar_align: 'left',


Is it possible??

her is a example, where it does work: http://tinymce.moxiecode.com/tryit/full.php

Replies (3)

RE: tinyMCE edititor question - Added by Patrick Talbot over 4 years ago

imagemanager and filemanager are commercial TinyMCE plugins. see http://tinymce.moxiecode.com/enterprise/mcimagemanager_buy.php and http://tinymce.moxiecode.com/enterprise/mcfilemanager_buy.php
I cannot distribute them.
Furthermore, they would not work woth Servoy without tight integration with Servoy (there is a need for a server component for this to work).

As an alternative, I have provided a filemanager (derived from the Open Source https://github.com/simogeo/Filemanager first developed by corefive.com, and extended here).
I have integrated it with a Servoy servlet (which is contained in the BrowserSuite plugin), just set the "browsersuite.defaultPath" server plugin property in servoy-admin/plugins to an absolute location on your server, then use "advimage" in your plugins and "imnage" in your theme_advanced_buttons, you should get this filemanager, when you click on the "browse" button.

Note that there might be a bug in Windows with the version of BrowserSuite you have related to the FileManager, I have corrected it and will soon publish an update.

RE: tinyMCE edititor question - Added by Harjo Kompagnie over 4 years ago

Oke, thanks Patrick, that's great news!

I will wait, for the update, because I am developing on Windows...

about the: browsersuite.defaultPath

can we somehow script that, per company? or user?
We are using a SaaS system, so don't wanna mix-up uploads, between different tenants...

RE: tinyMCE edititor question - Added by Patrick Talbot over 4 years ago

It is not possible right now, only one path is used.

I haven't worked on this area yet, since unfortunately the FileManager didn't seem to be used, but my idea was to implement more options to allow greater control of this feature, see #181