SID-02464: Including images on a page disables wysiwyg editor
| Status: |
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:
Test inline image:
- Mickey-Mouse.jpg:
--
Peter Thoeny - 2021-01-16
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.