Hi,
Is there a way to turn off the double quotes used when inserting images of hrefs? For example, if I use tinyMCE to insert an image if will produce something of the sorts....
How would one go about adjusting tinyMCE so that the code output would read
The reason for this is to allow compatibility for the boxover javascript module... possibly there is an alternative way to do this?
Any ideas are welcome, thank you.
[SOLVED] TinyMCE auto use of double quote when inserting images / href - disable
[SOLVED] TinyMCE auto use of double quote when inserting images / href - disable
Last edited by mrjamie on Wed May 28, 2008 7:11 pm, edited 1 time in total.
Re: TinyMCE auto use of double quote when inserting images / href - disable?
Solved by bypassing tinymce and creating a smarty modifier...
...and chucking modifier.stripq.php in the plugins folder. Now I can use {$event.event_details|stripq} for my calendar details and use the funky boxover module alongside the calendar.
Code: Select all
<?php
function smarty_cms_modifier_stripq($string)
{
return str_replace('"', "'", $string);
}
?>