Topic on Extension talk:TinyMCE

TinyMCE editor not displayed

8
Summary by DuncanCrane

Fix added to master branch

Loman87 (talkcontribs)

Hi,

great extension! But I couldn't try it :) After installing and adding the patch to WikiEditor.hooks, when I click on edit there is a call like this ?title=Page_title&action=tinymceedit, which is correct, I guess. Anyway no WYSIWYG editor is loaded.

At this link there is a screenshot. No php error is shown. Here is my version:

Product Version
MediaWiki 1.31.1
PHP 7.0.33-0ubuntu0.16.04.3 (apache2handler)
MySQL 5.7.25-0ubuntu0.16.04.2
ICU 55.1
Elasticsearch 5.6.1
Lua 5.1.5

Thanks for the help!

Lorenzo

DuncanCrane (talkcontribs)

Hi Lorenzo

I'm very sorry I didn't spot your question until now and thank you for using this extension. I wonder do you get the same problem if you remove the patch for the wiki editor? If not then the problem may be the same or related to this one. Would you let me know if this is the case? DuncanCrane (talk) 09:36, 20 June 2019 (UTC)

Loman87 (talkcontribs)

Hi, thanks for your answer. I tried disabling the wiki editor patch (that is correctly places in WikiEditorHooks.php) but TinyMCE isn't working anyway. The only difference is that with the patch disabled the wiki editor toolbar is loaded.

Any other ideas?

Thanks,

Lorenzo


190.90.156.130 (talkcontribs)

Hi, I have the same problem as Loman87, some idea that it can be, so far I can't make it work.

I appreciate any help.

86.139.55.197 (talkcontribs)

Hi

Sorry for the delay and thank you for using this extension. It may be that another extension is incompatible with this one. Would you try disabling all extensions except TinyMCE and trying it again. If that works, perhaps you would add the disabled extensions back one at a time, testing to see if TinyMCE still works after each one is enabled. This should allow us to identify which extension is causing the problem, if any.

Many thanks

Duncan

Loman87 (talkcontribs)

Thanks for your answer but I found another solution. The issue was related to wgTinyMCEDirectionality and here there is a patch to correct a line in MW_tinymce.js.

All the best,

Lorenzo

86.164.120.53 (talkcontribs)

Hi Lorenzo That's great that Yaon had provided a fix. I'll mark as resolved and ensure that the master branch is up to date.

Many thanks

Duncan

86.164.120.53 (talkcontribs)

Hi Lorenzo, great that Yaron had already provided a fix. I'll mark as resolved