This question about Using an extension: Needs followup in Tasks

unable to upload attachment using WYSIWYG editor

When we try to upload an image using the "Manage Attachments" icon in the wysiwyg editor, it does not complete the upload. Instead it warps the size of the dialog box.

Nothing is logged in the apache error logs, and attaching using the regular "Attach" button when viewing each page works fine.

-- DevinBougie - 09 Aug 2017

Looks OK to me. Try on https://foswiki.org/Sandbox/TestTinyMCE

You might want to try with the console open in the browser, and report any messages.

Note that TinyMCE has recently been upgraded to a more recent version, and this dialog has disappeared.

-- Main.CrawfordCurrie - 10 Aug 2017 - 09:18

I am able to reproduce this if I "Set SKIN = pattern" and "NOWYSIWYG = 0."

https://foswiki.org/Sandbox/TestTinyMCE

If I watch the console, I see:
[Error] TypeError: undefined is not an object (evaluating 'parent.document.EditForm.validation_key')
   submit (attach.js:1:1545)
   (anonymous function) (attach.js:1:955)
   dispatch (jquery-2.2.4.js:2:30808)
   handle (jquery-2.2.4.js:2:27588)

Thanks for taking a look!

-- DevinBougie - 10 Aug 2017

OK, reproducible on trunk.foswiki.org using the "Upload Attachment" button. Looks like strikeone isn't getting installed/called, though why it should only do that in pattern skin is a mystery.

See https://trunk.foswiki.org/Sandbox/TestTinyMCE - needs a Task opening for it.

-- Main.CrawfordCurrie - 14 Aug 2017 - 17:21

Thanks, Crawford. Item14743 created - https://foswiki.org/Tasks/Item14743 .

-- DevinBougie - 07 Aug 2018
 

QuestionForm edit

Subject Using an extension
Extension TinyMCEPlugin
Version Foswiki 2.1.4
Status Needs followup in Tasks
Related Topics
Topic revision: r5 - 07 Aug 2018, DevinBougie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy