Topic on Extension talk:TinyMCE

TinyMCE doesn't show any of the underlying text on some pages

3
86.135.35.77 (talkcontribs)

I’ve installed tinyMCE on my installation but for several pages it just doesn’t work.  I get a delay, then the tinyMCE menu, but then no text shows up below it for editing (even though there is text, and I can see it by selecting “Edit source” instead of “Edit” (which invokes tinyMCE).  I’m running mediawiki 1.31.0, and my server is running 7.3.13 (which I can’t change).  Any ideas?

FYI I installed tinyMCE by going to my extensions folder and doing:

git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TinyMCE.git

It completes with no errors.

I then put:

wfLoadExtension( 'TinyMCE' );

in my LocalSettings.php

Suggestions?  A bug?

-Tom


DuncanCrane (talkcontribs)
DuncanCrane (talkcontribs)

Hi Tom

Thank you for trying this extension.  Andre's advice is good, however, I recreated your environment (except I'm using PHP 7.1.33) and found that it should work.  Unfortunately I was unable to reproduce your problem although I tried a number of complex pages that I use as test cases.

Problems similar to this haver occurred in the past.  Usually it is some combination of wiki-markup that breaks the code which parses it into html (eg. a bug as you say).  If you go into your browser's 'debug' mode, usually by right clicking and selecting 'inspect', it should display if an error has occurred and in which bit of the code.

If you let me know if there is an error and where in the code it is happening that will help me to find a solution.  Even better, if you can isolate the wiki-markup that gives rise to the problem that will be even more helpful.

Kind regards

Duncan