First I have installed WYSIWYG API 6.x.1.0 with TinyMCE, I couldn't get it working so I searched for a reason read some issues mentioning IMCE causes the situation so I uninstalled IMCE, WYSIWYG and installed only WYSIWYG API 6.x.2.0-dev I still can't get it worked. Am I missing something? Or is there any problem?

I installed WYSIWYG
I copy TinyMCE folder, WYSIWYG admin page says installation is OK
So I choose TinyMCE for Filtered HTML and edit to add some buttons

But I does not appear anywhere, i can't even see on/off toggle link for visual editor.

I have tried update.php, clear cache, cron, etc.

There is something else.. But what?

Comments

sun’s picture

Status: Active » Closed (duplicate)
blockedmind’s picture

Status: Closed (duplicate) » Active

i have already read them. i have no imce module now, no image-assist module, no flash button, no javascript errors on javascript debugger. i guess it does not work at all. at least i show get toggle links right? what i get is normal textarea. i get nothing.

sun’s picture

Status: Active » Postponed (maintainer needs more info)

a) Do you get Drupal core's regular resizable textarea grippie on that textarea?

b) Is the textarea in question input format enabled?

c) Do you have any module installed that interferes with input formats? If you have, try disabling them to see who's guilty.

blockedmind’s picture

Status: Postponed (maintainer needs more info) » Active

a) No. But I get it if i disable wysiwyg module.
b) I did not understand what you mean but I have set TinyMCE for Filtered HTML type
c) No. I have disabled any possible modules can cause this (like videofilter though it is not possible)

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Hm.

What version of TinyMCE are you using?

In general, the module should work without any flaws. So there must be something else that hi-jacks its functionality - can you compile a list of debug info, as listed in #342821: Add Wysiwyg Debug ?

blockedmind’s picture

Status: Postponed (maintainer needs more info) » Active

oh... i realized that when I try to enable the module everytime it redirects me to

/batch?op=start&id=15

and i get this error

Access denied: You are not authorized to access this page.

but I'm logged in with user id 1. Can it be possible that I can't get it installed properly?

*id=15 increments everytime i guess.

blockedmind’s picture

this site is on hold for two days now, just because of wysiwyg. great. :/

sun’s picture

Status: Active » Closed (won't fix)

I don't have time to provide support for users who only complain. I have asked you to provide concrete, further debugging information. If you do not want to provide that info, you have to debug yourself.

blockedmind’s picture

Status: Closed (won't fix) » Active

well, i think you have enough information already. anyway if you really want them in your format, please:

- i have installed tinymce on wysiwyg then i tried fckeditor -- both didn't work
- obviously folders of tinymce and fckeditor? and of course with default folders of wysiwyg api!
- no caching of css nor javascript
- yes, $closure exists
- firefox 3, tried google chrome, safari, etc. -- nothing changes
- CENTOS 5.2 i686 on standard, php 5.2.5, mysql 5.0.67-community, apache 2.0.63
- default configuration with bold buttons only
- default input format settings
- no module related textarea or forms
- drupal 6 comes with 1.2.6 right?

to sum up: i can get standalone tinymce module working. wysiwyg api doesn't work, both tried with tinymce and fckeditor. it does not triggered at all. drupal core resize button doesn't show up when this module is enabled. no javascript errors on page. just a authorization error i have mentioned before, which happens to occur while enabling this module. instead of replying that message, you choosed to reply my complaining, which caused at least 5 hours delay till any possible solution. thanks for helping. any questions?

drupalhooked’s picture

Version: 6.x-2.x-dev » 5.x-1.x-dev

Hi,

I also have the similar issue. Tinymce or any other installed editor is not working with the WYSIWYG API.
On enabling Tinymce the required JS for this editor get loaded and the textarea converts to editor.
If I enable the Tinymce module I can see the following JS on the page :

1. sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js
2.

function mceToggle(id, linkid) { element = document.getElementById(id); link = document.getElementById(linkid); img_assist = document.getElementById('img_assist-link-'+ id); if (tinyMCE.getEditorId(element.id) == null) { tinyMCE.addMCEControl(element, element.id); element.togg = 'on'; link.innerHTML = 'disable rich-text'; link.href = "javascript:mceToggle('" +id+ "', '" +linkid+ "');"; if (img_assist) img_assist.innerHTML = ''; link.blur(); } else { tinyMCE.removeMCEControl(tinyMCE.getEditorId(element.id)); element.togg = 'off'; link.innerHTML = 'enable rich-text'; link.href = "javascript:mceToggle('" +id+ "', '" +linkid+ "');"; if (img_assist) img_assist.innerHTML = img_assist_default_link; link.blur(); } }

3.

tinyMCE.init({ mode : "exact", theme : "advanced", relative_urls : false, document_base_url : "/Xicom/drutubecms/websiteupgrade515/", language : "en", safari_warning : false, entity_encoding : "raw", verify_html : false, preformatted : false, convert_fonts_to_spans : true, remove_linebreaks : true, apply_source_formatting : true, theme_advanced_resize_horizontal : false, theme_advanced_resizing_use_cookie : false, plugins : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", theme_advanced_resizing : true, theme_advanced_blockformats : "p,address,pre,h1,h2,h3,h4,h5,h6", theme_advanced_buttons1 : "bold,italic,underline,justifyleft,justifycenter,justifyright,bullist,numlist,undo,redo,link,image,sup,sub,code", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", elements : "edit-field-bried-video-describ-0-value" });

But when WYSIWYG is enabled (that time I disabled the Tinymce b/c the WYSIWYG Api don't require any other module) the textarea dosen't convert to editor and there is not any css/js related with the editor on the page html.

I know WYSIWYG API is an amazing module and it would definitely work for me too.

Any help in this regard would really help me out.

Thanks!!!

sun’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

@bathyalgirish: The Drupal Tinymce module is obsolete. So is its output and loading behavior - which means that this information makes no sense here. Did you setup a wysiwyg profile for at least one input format? Or was the profile auto-generated after switching from tinymce module? If it was, could you please test whether it works after you removed all wysiwyg profiles and created a new, simple one for your first (default) input format?

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)