Tags:
create new tag
view all tags

SID-02464: Including images on a page disables wysiwyg editor

Status: Asked Asked TWiki version: Perl version:
Category: TinyMCEPlugin Server OS: Last update: 5 years ago

When I edit a Topic, insert an image (doesn't matter if png, jpeg etc.) and save, the next time I hit the edit button I get the raw edit instead the wysiwyg. I insert the image by clicking the button in the TinyMCEPlugin editor and filling out the form sheet. Furthermore I can't change back to wysiwyg so I'm stuck with the raw edit as long as I have at least one image inserted.

Apparently the wysiwyg is switching off once code like the following is inserted: <img src="%PUBURLPATH%/TWiki06x01/TWikiLogos/T-logo-80x15.gif" width="80" height="15" border="0" alt="logo" /> logo.

How can I fix that?

-- Florian Kark - 2021-01-04

Discussion and Answer

I tried and can't reproduce the issue you describe. When I attach an image (and check the "Create a link to the attached file" checkbox to inline the image), as well as when I drag and drop an image into the WYSIWYG editor (thus creating an image with src="data:image/jpeg;base64,... attribute), I still get the WYSIWYG editor on next edit.

What TWiki version do you have?

-- Peter Thoeny - 2021-01-16

Test default WYSIWYG editor:

  • Set EDITMETHOD = wysiwyg

Test inline image:

  • Mickey-Mouse.jpg:
    Mickey-Mouse.jpg

-- Peter Thoeny - 2021-01-16

      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 Asked
Title Including images on a page disables wysiwyg editor
SupportCategory TinyMCEPlugin
TWiki version

Server OS

Web server

Perl version

Browser & version

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg Mickey-Mouse.jpg r1 manage 17.7 K 2021-01-16 - 06:21 PeterThoeny  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2021-01-16 - 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.