cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
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

 

QuestionForm edit

Subject Using an extension
Extension TinyMCEPlugin
Version Foswiki 2.1.4
Status Needs followup in Tasks
Related Topics
Topic revision: r4 - 14 Aug 2017, CrawfordCurrie - This page was cached on 18 Jul 2018 - 01:04.

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