Tags:
create new tag
view all tags

SID-02397: WYSYWIG Editing With Images

Status: Answered Answered TWiki version: 6.1.0 Perl version: 5.22.1
Category: CategoryPlugins Server OS: Ubuntu 18.04 Last update: 7 years ago

I am running TWiki 6.1 on Ubuntu 18.04. I created a document using the WYSIWYG editor. I drag and drop a few images into the document and saved it. Now when I edit the document it puts me in the Raw Editor. Is there a way a can keep using the WYSIWYG editor on documents with embedded images?

Thanks, Dan

-- Daniel Pelton - 2019-03-19

Discussion and Answer

I'm also looking for a solution to this problem. I tried using the WYSIWYGPLUGIN_PROTECT_EXISTING_TAGS and WYSIWYGPLUGIN_PROTECT_TAG_BLOCKS flags with no success. I have had success with placing the <img> tag inside of <sticky> tags but this doesn't seem like a permanent solution.

-- TWiki Guest - 2019-04-10

I have found a solution. On lines 306 and 308 of twiki/lib/TWiki/Plugins/WysiwygPlugin/Handlers.pm before each left brace ( { ) there should be a back slash ( \ ). This clears the issue right up.

-- TWiki Guest - 2019-05-01

Many thanks for the valuable description of the symptoms to Daniel Pelton - and for the fix to TWiki Guest!

For followup and fix, see Bugs:Item7860. The fixed version will come with the next TWiki distribution, but is also available at WysiwygPlugin (you don't need it, of course, if you applied the patch given above by TWiki Guest).

-- Harald Jörg - 2019-05-01

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title WYSYWIG Editing With Images
SupportCategory CategoryPlugins
TWiki version 6.1.0
Server OS Ubuntu 18.04
Web server Apache 2.4.18
Perl version 5.22.1
Browser & version Fierfox Quantum 60.5.0esr (32-bit)
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2019-05-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.