﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7822	Fake image for protectedSource	datalink		"For old fckeditor I've written a plugin to change proteted source to fake images (code icon). That was working without any problems. Now I migrate my little system to ckeditor and want this feature too. But it seems not possible to handle this with a [http://dev.ckeditor.com/attachment/ticket/7563/codeplugin.zip plugin] in new editor version (see ticket [http://dev.ckeditor.com/ticket/7563 7563]). I think it has to be a core feature that it works.[[BR]]
[[BR]]
Can you provide a methode to set a fake image that doesn't validate protected source to html? There are different problems to handle it with
{{{
new CKEDITOR.htmlParser.element( 'img', attributes );
}}}
[[BR]]
Examples:[[BR]]
With htmlParser.element... ckeditor changes source from
{{{
<?PHP echo 'test'; ?>
}}}
to
{{{
<?php echo=""""></?php>
}}}
or
{{{
<p></p>
<script>alert('test');</script>
<p></p>
}}}
to
{{{
<p></p>
<p>
	<script>alert('test');</script>
</p>
<p></p>
}}}
Fake images are right and displayed, but source not. There should be another way equivalent to htmlParser.element()
[[BR]]
[[BR]]
It would be very nice to have fake images for protected source in a future version."	New Feature	closed	Normal		Core : Parser		invalid		
