modxcms/evolution

Bug in TinyMCE

fourroses666 opened this issue · 14 comments

When placing an image in the Content field. -> Select the image, click on the link icon, link to a file, then you can't click on OKE.

Nothing happens.

When you do the same with selecting text it does work.

I think I found a bug! (1.2.1 and FF on mac)

uhhh

nick0 commented

Glad it isn't just me :).
This is related to a couple of things in #1324.
I can't add a class or a link to images.
Would be great to have it fixed.

plz test i update tinymce to 4.6.3

nick0 commented

Thanks @Dmi3yy! Great work. That solves all three things in #1324. Now I can:

  • ad a wrapper div to images
  • add a link to an image
  • add a class to an image

The 4.6.3 version does not solve the custom toolbar issue from #1205. For some reason I still cannot get rid of the second row of buttons in TinyMCE. This may be related to this below?

Not sure if another bug has surfaced? But the placeholder [+defaultCheckbox+] is shown multiple times in the "tools > configuration > interface & features > TinyMCE4 Settings" section. See image below...

untitled-1

I just checked the "[+defaultCheckbox+]" issue and with latest version of today everything works as expected. Can you maybe re-check with latest version?

Jako commented

You should make those extras installable separate from the core: The package on http://extras.evolution-cms.com/packages/adminka/tinymce4.html and in the store is 4.3.7.

Not everyone has the time to update the core, when he wants to fix a bug in an extra. And (somehow worse) not everyone wants to install a prerelease core version from GitHub, when he wants to fix a bug in an extra.

Yes i will update soon in extras

nick0 commented

I just checked the "[+defaultCheckbox+]" issue and with latest version of today everything works as expected. Can you maybe re-check with latest version?

Hmmmm. I just tried the updated 4.6.3 in my Evo 1.2.1 install.

The TinyMCE Plugin>Configuration page looks a little wierd with lots of text below the settings boxes (which were previously much wider) - see below:
untitled-1

And the TinyMCE section doesn't load at all in the Tools>Configuration>Interface&Features section (TinyMCE 4.6.3 is definitely installed)

Any ideas?

Seems your configuration-string has been corrupted for any reason. You could try to tick the checkbox "Parse DocBlock" and then save the Plugin again to reset its configuration to default.

nick0 commented

Thanks @Deesen.
I tried saving "Parse DocBlock" checkbox and that fixed the display on the Plugin > Configuration page. However, the TinyMCE section still doesn't load at all in the Tools>Configuration>Interface&Features section and now the Security, File Manager and File Browser Tools tabs do not load - it seems more broken now :)
Any ideas?

Yes you can look into the main-frames source-code at the end to look for any PHP error-message. Maybe some files were not uploaded correctly, causing now an error.

nick0 commented

Hmm maybe test 1.2.2-beta?

nick0 commented

Will reopen if it doesn't work in the newst version