TinyMCE has a few more possibilities than Sumernote, but sadly it doesn't support image browsing or upload - people using it would need to insert URL's ...
So I wonder if this is intentionally, or something being forgotten?
Anyhow I'm hoping to see a CKEditor on steroids (with video plugin etc.) added to the Marketplace soon.
So I wonder if this is intentionally, or something being forgotten?
Anyhow I'm hoping to see a CKEditor on steroids (with video plugin etc.) added to the Marketplace soon.

Share this post:
Responses (6)
-
Accepted Answer
Their site recommends the following plugin for images/files but not sure how to install it:
http://www.moxiemanager.com -
Accepted Answer
Yep, but it's not free so it can't be added to Arastta as default.
But Arastta also has a quite descent image manager included allready, so I guess it's "just" a matter of getting it fired up inside TinyMCE by adding a browse button to the image/video insert (URL field). Isn't it what's done for Sumernote? -
Accepted Answer
I'm digging in this, and have found out some parts...
I got the advanced tab added and working for image insert/edit, and I also have a browse button on the URL field, but need to figure out what the correct call to filemanager.php would be.
Anyhow for summernote there is a override for the image browser: https://github.com/arastta/arastta/blob/master/admin/view/javascript/common.js#l287-l312
For TinyMCE we need to replace this line https://github.com/arastta/arastta/blob/master/admin/view/javascript/common.js#l671 with those lines:
language: editor_language,
image_advtab: true,
file_browser_callback : "myCustomFileBrowser"
Where "myCustomFileBrowser" should be replaced with a working function... anyone who see what we need to do here, maybe write a new function?
Edit: Javascript isn't my thing, but found this doc: http://www.tinymce.com/wiki.php/tinymce3x:how-to_implement_a_custom_file_browser -
Accepted Answer
Me thinking out load... going slightly of topic...
If TinyMCE isn't fully integrated into Arastta, it shouldn't be in core, but better proposed as "core supported" extension. It would probably be the safest path anyway, as then the users could use any of those fully loaded CKEditor's available for OC, without having to modify them first. The changes done to get TinyMCE into Arastta seems to have broken the compatibility for those extensions. -
Accepted Answer
Cüneyt is writing some new triggers for editors so will check this after that, most probably next week. -
Accepted Answer
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »