Topic on Extension talk:TinyMCE/Flow

Using both Visual Editor & TinyMCE

3
Christharp (talkcontribs)

Quick question: Is it possible to use both Visual Editor & TinyMCE extension? I'm thinking of having them handle different namespaces. I'm assuming there would be a conflict, but just curious (Before this extension existed I once backdoored TinyMCE via JavaScript & attached it a text area in Extension:Page Forms|Page Forms but that was less than ideal. Specially since it was the basic version without any Wiki syntax & I don't think this method would work via namespace)

Alongaks (talkcontribs)

Hey, Christharp


While I was perusing to see if my prior question was answered, noticed yours and figured I would offer some of my observations. :-)


Long story short - having both VisualEditor and TinyMCE appears fine technically, but don't really play nice with both enabled. Seems to be an either/or deal.


I am running the following environment:

MW 1.35.7

PHP 8.0.22

MySQL 5.5.68

TinyMCE REL1_35 2022-06-19T19:20:56

VisualEditor 0.1.2


I found toggling in Preferences > Editing > 'Use the TinyMCE editor to edit pages' and ensure to untoggle 'Enable the visual editor...' will allow editing in the typical 'Edit' tab of a page. Loading the TinyMCE toolbar.


If I wanted to get the VisualEditor functionality back, I had to not only untoggle TinyMCE from preferences and toggle back VisualEditor, but also had to disable the TinyMCE extension in LocalSettings _then_ completely clear the cache from the browser for the site. Relaunch the site and then VE was back. Otherwise, VE would quickly try to launch but it was no-go.


May not really help for what you are looking for, but FYI.

Christharp (talkcontribs)

Thanks. It's what I figured, which is why I asked before doing the work & having to deal with the crap you describe. I may try my old hack of doing it via JavaScript, but that's less than ideal.

Reply to "Using both Visual Editor & TinyMCE"