Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

KarlN on "TinyMCE inserting unnecessary characters into image SRC URLs"

$
0
0

I am using the WP_editor function to add some content to a custom database table, the only problem I have come across is with images, TinyMCE is adding some unnecessary characters which is preventing the images from being displayed.

Example:

src="\"http://localhost:8888/wordpress/wp-content/uploads/2014/04/dscn7122-300x225.jpg\""

Should be:

src="http://localhost:8888/wordpress/wp-content/uploads/2014/04/dscn7122-300x225.jpg"


Viewing all articles
Browse latest Browse all 8245

Trending Articles