WebYep2 & TinyMCE

General discussions about WebYep
Visual Productions
Rank 1
Rank 1
Posts: 21
Joined: Thu Oct 15, 2009 9:31 am
Contact:

WebYep2 & TinyMCE

Postby Visual Productions » Mon Sep 10, 2018 5:42 pm

Hi guys,

can someone please help me getting TinyMCE work with WY2?

I copied all files to \webyep-system\program\opt\tinymce\ (latest version 4.8.2)
But whatever I try, TinyMCE seems not to be loaded. The buttons don't show up in richt-text-editor-windows.
What am I doing wrong?

Thanks in advance,
Manuel

Steffen
Posts: 11
Joined: Wed Sep 05, 2018 4:45 pm

Re: WebYep2 & TinyMCE

Postby Steffen » Tue Sep 11, 2018 10:25 am

I think there is an error in the rich-text.php, because there ist no way to activate the Tiny, if I delete the "-" from the folder.. only the "rich-text-plain.php" will be taken!

The ckeditor runs, if I delte the "-" from this folder!

Visual Productions
Rank 1
Rank 1
Posts: 21
Joined: Thu Oct 15, 2009 9:31 am
Contact:

Re: WebYep2 & TinyMCE

Postby Visual Productions » Tue Sep 11, 2018 8:51 pm

It seems so. I'm not able to detect it. I tried it with different script-integration possibilities in the rich-text-tinymce.php but without luck.

Did you have all the files of ckeditor in the opt-folder? In my version of WY2 there are the folders tinymce and ckeditor, but they were empty...
I finally got ckeditor run on my page. But I'd really apprechiate if anyone could tell me how to activate TinyMCE!

Steffen
Posts: 11
Joined: Wed Sep 05, 2018 4:45 pm

Re: WebYep2 & TinyMCE

Postby Steffen » Mon Sep 17, 2018 7:59 am

In my opinion. there is not the problem in the rich-text-tinymce.php .. the problem is, that the rich-text-plain.php is taken, if the folder "tinymce" exist.
There is no javascript problem from the tiny!

Visual Productions
Rank 1
Rank 1
Posts: 21
Joined: Thu Oct 15, 2009 9:31 am
Contact:

Re: WebYep2 & TinyMCE

Postby Visual Productions » Fri Sep 21, 2018 9:22 am

I'm not able to solve this problem. I hope there will be an update to WebYep2 in the near future!

hargobind
Posts: 2
Joined: Sat Oct 27, 2018 9:13 am

Re: WebYep2 & TinyMCE

Postby hargobind » Sat Oct 27, 2018 9:18 am

FYI, don't bother downloading TinyMCE because WebYep uses the CDN Hosted version of TinyMCE (and CKEditor too).

I encountered a similar problem and was able to solve it with a code change.

Open the following file:

Code: Select all

webyep-system/program/editors/rich-text.php

Scroll to line 20 and change it from "redactor":

Code: Select all

    $oP->addComponent("redactor");

Change it to "tinymce":

Code: Select all

    $oP->addComponent("tinymce");


I proposed a code change on GitHub, so hopefully it will be integrated into the next release.

Visual Productions
Rank 1
Rank 1
Posts: 21
Joined: Thu Oct 15, 2009 9:31 am
Contact:

Re: WebYep2 & TinyMCE

Postby Visual Productions » Wed Nov 07, 2018 9:33 am

Thank you for this solution, TinyMCE is now loading.
But I had to copy all files into the opt-folder of WebYep. In my case it doesn't load the hosted version. Same with CKEditor by the way...


Return to “WebYep (english)”

Who is online

Users browsing this forum: No registered users and 1 guest