Closed (fixed)
Project:
TinyMCE
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2005 at 16:02 UTC
Updated:
13 Dec 2005 at 17:20 UTC
Jump to comment: Most recent file
Advimage and Advlink don't properly load, along with a few other plugins, using the CVS version. I'll have a patch soon to fix this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | tinymce_1.patch | 4.23 KB | m3avrck |
Comments
Comment #1
m3avrck commentedOk here's a patch which fixes the following issues:
1. Advanced plugins (e.g., advanced image, advanced links, etc...) now correctly load. Problem was related to the fact that these don't have buttons associated with them so they weren't being loaded.
2. extended_valid_elements is no longer overwritten. If 2 or more plugins set an extended_valid_elements, it was ovewritten by the last plugin, now they are appended so they all are correctly loaded.
3. Plugins with no buttons and no features (e.g., contextmenu) correctly load now
Comment #2
m3avrck commentedFixed in CVS.
Comment #3
kiev1.org commentedThank You
Works only somewhere have lost file_browser
like is example here http://tinymce.moxiecode.com/example_full.php?example=true
without file_browser in any way it is impossible
Comment #4
m3avrck commentedAre you saying the file browser doesn't work with it anymore? You need to enable it and set it up following the TinyMCE directions, this module shouldn't affect that. If you still have trouble please post what is wrong. Thanks!
Comment #5
kiev1.org commentedYou about it have forgotten
it it is connected separately - look - here it is present (Full)
http: // tinymce.moxiecode.com/example_full.php? example=true
and at you it is not present - because it should be "connected" - to register in tinyMCE.init ({
file_browser_callback: "fileBrowserCallBack"
AND add function fileBrowserCallBack (field_name, url, type, win) - here it needs to be made.
( tinymce/tinymce/examples/example_full.htm )
However as it to register in module Drupal - I do not know yet. It would be desirable to have it accessible as default eg. as advimage
Comment #6
m3avrck commentedOk thanks, I'll look into this.
Comment #7
m3avrck commentedHi kiev, please look at the INSTALL.txt and look at the
function theme_tinymce_themefor adding this ability. It should be very easy to add$init['file_browser_callback'] = 'fileBrowserCallBack'; drupal_add_js('PATH/TO/filemanager.js');to that theme function to get this to work.At this time, I don't see too much benefit to including these as part of the distributed module since these are pay-to-use features and don't fit in the scope of this module, which relies only on free code. Thanks!
Comment #8
kiev1.org commentedBut I anywhere have not found such file filemanager.js
Comment #9
m3avrck commentedYes kiev, you have to *buy* and *download* that file seperately from here: http://tinymce.moxiecode.com/paypal/item_filemanager.php ... it is *not* included with the default download, it is completely seperate. Hope this helps!
Comment #10
kiev1.org commented:((( mmm
FckEditor it is able by default, and it is possible filemanager to take from it?
Comment #11
m3avrck commentedI do not know, that it outside the scope of this module, this module *only* interfaces with TinyMCE. Try the Drupal forums, someone might know there!
Comment #12
(not verified) commented