Closed (won't fix)
Project:
Insert
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2011 at 02:50 UTC
Updated:
6 Sep 2012 at 09:24 UTC
When inserting an image in my WYSIWYG editor (TinyMCE), the image will appear to be inserted but when reviewing the HTML source (before form save) it appears that only <p>nospace</p> tags have been created and not the entire <img> tag.
This behaviour happens 50% of the time (not yet clear why). After trial and error an image can be successfully inserted in the editor with corresponding source code. Below is an example source whereby the first image was successfully inserted but not the second:
<p><img src="http://www.example.com/sites/default/files/imagecache/Landscape/images/news/image.jpg" alt="" title="" class="imagecache-Landscape" /></p>
<p> </p>
Comments
Comment #0.0
maedi commentedHTML fix
Comment #0.1
maedi commentededitor add
Comment #1
quicksketchThis isn't the fault of Insert, which does nothing but either call the APIs of WYSIWYG module or tinyMCE. It's a behavior of the libraries that are handling the content after Insert calls their insert APIs.
Comment #1.0
quicksketchurl change