?
avatar AlexRed
AlexRed
10 Feb 2017

Steps to reproduce the issue

On Joomla 3.7.0 Beta2 create a new contact field, Type = editor.
In the single contact edit screen, in the tab "Fieds" the editor don't appear, only the "Toggle editor" button.

Expected result

the editor appear

Actual result

the editor don't appear

System information (as much as possible)

Additional comments

http://alexred.com/joomla/2017/no-editor-contact-fields.png

avatar AlexRed AlexRed - open - 10 Feb 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Feb 2017
avatar gwsdesk
gwsdesk - comment - 10 Feb 2017

I can confirm this issue. The editor is not working here


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14005.

avatar Bakual
Bakual - comment - 10 Feb 2017

This works for me.

Can you check if it works when you change the alias of the field (not the contact alias!) to another name? Because if it is the same as an already existing field (custom field or one from the contact itself) it may break.

avatar AlexRed
AlexRed - comment - 10 Feb 2017

Not work also when I change the alias of the field.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Feb 2017

Confirm Issue, no Editor-Field is shown.

Test on:

Joomla! 3.7.0-beta3
macOS Sierra, 10.12.3
Firefox 50.1.0
PHP 7.0.4
MySQLi 5.5.54-0

avatar infograf768
infograf768 - comment - 11 Feb 2017

The issue is only present when using TinyMCE.
If Editor None or CodeMirror, all is fine.

avatar gwsdesk
gwsdesk - comment - 11 Feb 2017

I confirm @infograf768 but we should fix it since most users will use an editor

avatar Bakual
Bakual - comment - 11 Feb 2017

Hmm, can you guys say which browser and OS you use? I'm pretty sure I tested with Tiny as well and it worked. Using Chrome on Windows I think.
Can you also check the console for JavaScript errors?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Feb 2017

confirm working if not using TinyMCE. No JavaScript-Errors.

Test on:

Joomla! 3.7.0-beta3
macOS Sierra, 10.12.3
Firefox 50.1.0
PHP 7.0.4
MySQLi 5.5.54-0

avatar infograf768
infograf768 - comment - 11 Feb 2017

Firefox 48.0.2 Macintosh, PHP 5.4.4

It works with Safari!

With Firefox, I do get js errors

08:29:40.475 TypeError: e is undefined
r()tinymce.min.js:13
a()tinymce.min.js:13
i/</<()tinymce.min.js:13
i()tinymce.min.js:8
.fire()tinymce.min.js:8
this.nodeChanged()tinymce.min.js:4
L.prototype.nodeChanged()tinymce.min.js:12
<anonymous>tinymce.min.js:7
i()tinymce.min.js:8
.fire()tinymce.min.js:8
s.add()tinymce.min.js:7
<anonymous>tinymce.min.js:7
i()tinymce.min.js:8
.fire()tinymce.min.js:8
L.prototype.initContentBody()tinymce.min.js:11
L.prototype.init()tinymce.min.js:11
t/<()tinymce.min.js:11
n/this.loadScripts/v/<()tinymce.min.js:4
n()tinymce.min.js:3
n/this.loadScripts/v()tinymce.min.js:4
n/this.loadScripts/v/</<()tinymce.min.js:4
o()tinymce.min.js:4
1tinymce.min.js:13:17430
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Feb 2017

Chrome works too.

avatar infograf768
infograf768 - comment - 11 Feb 2017

@Bakual
It may be of interest to know that it does work for a user field as well as article field as the editor is already loaded.

avatar gwsdesk
gwsdesk - comment - 11 Feb 2017

Works in Edge as well

avatar gwsdesk
gwsdesk - comment - 11 Feb 2017

and oh way this is weird. Upgraded my Firefox to 51.0.1 and see for yourself. Now working in FF as well
editor
Windows10 btw

avatar AlexRed
AlexRed - comment - 11 Feb 2017

In my test:
No work on Firefox 51.0.1 (64-bit)
Work on Chrome 56.0.2924.87 (64-bit)

Linux PC,
Server Apache/2.4.10 PHP 5.5.15
Error console in Firefox:
L’utilizzo di getAttributeNode() è deprecato. Al suo posto utilizzare getAttribute(). jquery-migrate.min.js:2:1714
TypeError: e is undefined[Ulteriori informazioni] tinymce.min.js:13:17430

avatar Bakual
Bakual - comment - 11 Feb 2017

My tiny JavaScript knowledge fails here. Maybe someone else can figure out if this is a browser bug (may be since upgrading FireFox seems to fix it) or an error in the editor JS. Or both.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Feb 2017

Firefox 51.0.1 shows no TinyMCE, test on Windows7, MacOS Sierra:
bildschirmfoto 2017-02-11 um 09 34 40

avatar gwsdesk
gwsdesk - comment - 11 Feb 2017

For the non-believers ;-) Windows 10 (tailor build PC)
editor2

avatar AlexRed
AlexRed - comment - 11 Feb 2017

it seems ok on Firefox 51.0.1 (32-bit) and not on Firefox 51.0.1 (64-bit),

avatar AlexRed
AlexRed - comment - 11 Feb 2017

No, it is not related to the 32 or 64 bit.
gwsdesk use the TinyMCE "medium preset" for the Administrator user, if I set it also in the Firefox 51.0.1 (64-bit) I can see the editor.
But if I set the default "advanced preset" for the Administrator user I can't see the editor.
Please gwsdesk try with the "advanced preset".

avatar gwsdesk
gwsdesk - comment - 11 Feb 2017

@Alexred Nice catch Alessandro! Indeed with "advanced preset" it is not loading ouch!

avatar infograf768
infograf768 - comment - 11 Feb 2017

I confirm that using the Medium Preset works on my Firefox 48.0.2.
@dgt41
Can you look at this, please.

avatar infograf768
infograf768 - comment - 11 Feb 2017

and @Fedik

avatar AlexRed
AlexRed - comment - 11 Feb 2017

Editor "simple" preset (Set 0) is ok for me in the Contact Field

avatar gwsdesk
gwsdesk - comment - 11 Feb 2017

Not for me see image
editor3

avatar AlexRed
AlexRed - comment - 11 Feb 2017

it is not Set 0 but Set 2 for Public not for administrator

avatar gwsdesk
gwsdesk - comment - 11 Feb 2017

I am not sure if we need to open a new Issue for this but for e the entire layout of this configuration of TinyMCE is horrendous. We will face a fury of comments and problems on the forums for sure. It is difficult the least and before I had a chat with @AlexRed on Glip I simply could not get it right. The tabs for 2/1/0 should be in logical order ("0" first), the image in the top is confusing (even clickable without effect) and should be removed since has no function imho. The entire layout is very much cluttered and needs to be addressed imho. This will create a lot of confusion with the end-users

avatar AlexRed
AlexRed - comment - 11 Feb 2017

I agree, should be in logical order (SET "0" first).
The "demo" editor advanced mode in the top is not necessary and it creates confusion.
We should open it only when we need to drag the buttons in the set.

avatar Fedik
Fedik - comment - 11 Feb 2017

In the single contact edit screen, in the tab "Fieds" the editor don't appear, only the "Toggle editor" button.

what about other (Article, Category), whether there the editor works in another tab?

avatar gwsdesk
gwsdesk - comment - 11 Feb 2017

The editor works normal in the other sections where it is used (articles/modules/cats/etc) except for the custom fields as outlined

avatar AlexRed
AlexRed - comment - 11 Feb 2017

The problem seems only the "Font Family" button. If you try to remove (drag out) the "Font Family" button in the "advanced preset" and save it, the editor is ok in the Contact Field.

avatar AlexRed
AlexRed - comment - 11 Feb 2017

In Joomla 3.6.5, editor TinyMCE "Functionality"--> Extended
in a new article edit page in the editor the "Font Family" button appears by default not select, it is in "Font Family" mode:

http://alexred.com/joomla/2017/editor365.png

In Joomla 3.7.0 Beta 2, editor TinyMCE in "Advanced" preset
in a new article edit page in the editor the "Font Family" button appears by default in "serif" and 12pt font size.

http://alexred.com/joomla/2017/370editor.png

and when the cursor in the editor area the "Font Family" button appears "Tahoma" and 9pt ont size.

http://alexred.com/joomla/2017/test-text.png

sorry for my bad english, I hope screenshot can help.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14005.

avatar gwsdesk
gwsdesk - comment - 11 Feb 2017

This does not only happen in the custom fileds situation a described in this Issue but happens throughout all instances where TinyMCE is loaded such as Articles/Cats/modules etc

avatar Fedik
Fedik - comment - 11 Feb 2017

It looks like TinyMCE bug, see changelog: https://www.tinymce.com/docs/changelog/ for Version 4.5.3 - February 1, 2017 ,

FIXED bug where the editor would throw error with the fontselect plugin on hidden editor instances in Firefox.

Should be fixed in new version of TinyMCE.
Who brave to do update? ?

avatar dgt41
dgt41 - comment - 11 Feb 2017

I'll do that

avatar AlexRed
AlexRed - comment - 11 Feb 2017

Patch ok, now Editor is ok in Custom Fileds,
but the remains the problem #14005 (comment)

avatar Bakual
Bakual - comment - 11 Feb 2017

I'm closing this issue as there is a PR.
@AlexRed Can you open a new one for that issue with the the button so we can better track it?

avatar Bakual Bakual - change - 11 Feb 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-02-11 15:54:17
Closed_By Bakual
avatar Bakual Bakual - close - 11 Feb 2017
avatar Fedik
Fedik - comment - 11 Feb 2017

but the remains the problem #14005 (comment)

It looks like TinyMCE feature, does not related to Joomla.

avatar AlexRed
AlexRed - comment - 11 Feb 2017

yes, looks like TinyMCE feature in the new versions

Add a Comment

Login with GitHub to post a comment