Page 2 of 2

Re: The visual editor of the TinyMCE and Media plugins is no longer displayed

Posted: Sun Jun 21, 2020 11:09 pm
by Edi
Please update to Media 0.1.1.

Re: The visual editor of the TinyMCE and Media plugins is no longer displayed

Posted: Mon Jun 22, 2020 5:51 pm
by SamBrishes
That's really odd...

Looking at the Console Messages...

The first error is a Bludit one, which is fixed in the latest master branch (Pull Request)

Code: Select all

jQuery.Deferred exception: $(...).autoComplete is not a function @https://mydomain.com/admin/edit-content/test:494:23
e@https://mydomain.com/bl-kernel/js/jquery.min.js?version=3.12.0:2:29453
l/</t<@https://mydomain.com/bl-kernel/js/jquery.min.js?version=3.12.0:2:29755
 undefined jquery.min.js:2:31008
TypeError: $(...).autoComplete is not a function test:494:23
    <anonymous> https://mydomain.com/admin/edit-content/test:494
    jQuery 2
        e
        t
 
But the second one belongs to the media Plugin, which shouldn't happen. The URL is passed within the "data-action" attribute on the media-list table, generated by the "buildURL" method of the main media admin class which relates to Bludits "DOMAIN_ADMIN" constant.

Code: Select all

Error: No URL provided. dropzone.min.js:1:3311
    C https://mydomain.com/bl-plugins/media-0.1.0/admin/js/dropzone.min.js:1
    <anonymous> https://mydomain.com/bl-plugins/media-0.1.0/admin/js/media.js:430
    jQuery 2
        e
        t
Since I'm still not able to re-produce this error can you please send me the zipped page per eMail at sam@pytes.net. You can save the page using the Context Menu (Right Click on Firefox / Chrome) -> "Save Page as...".

Please don't upload or link this page here in this forum, since it may contain sensitive information.

Sorry for this, but I can't find another way to fix this.

Thanks for your help.

Re: The visual editor of the TinyMCE and Media plugins is no longer displayed

Posted: Tue Sep 15, 2020 9:03 pm
by Edi
Either this is not yet fixed in v0.2.0 or the bug is back...

It happens if "Root Settings" are set either to "Temporary root/pages folder" or "Permanently root/media folder".

The console shows:

Code: Select all

Uncaught TypeError: list is null
    Media https://[...]/bl-plugins/media-plus/admin/js/media.js?ver=0.2.0:35
    <anonymous> https://[...]/bl-plugins/media-plus/admin/js/admin.js?ver=0.2.0:265
    EventListener.handleEvent* https://[...]/bl-plugins/media-plus/admin/js/admin.js?ver=0.2.0:261
    <anonymous> https://[...]/bl-plugins/media-plus/admin/js/admin.js?ver=0.2.0:773

Re: The visual editor of the TinyMCE and Media plugins is no longer displayed

Posted: Wed Sep 16, 2020 5:44 pm
by SamBrishes
Interesting, I'll check it out as soon as possible. Thanks for your information.