[-] BO : fixed #PSCFV-1239 - tinyMCE issue on IE8
This commit is contained in:
1 parent
90f77bd3de
commit
1c21fecb00
1 file changed
+7
-14
@@ -383,6 +383,7 @@
|
|||||||
</form>
|
</form>
|
||||||
{/block}
|
{/block}
|
||||||
{block name="after"}{/block}
|
{block name="after"}{/block}
|
||||||
|
|
||||||
{if isset($tinymce) && $tinymce}
|
{if isset($tinymce) && $tinymce}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
@@ -391,21 +392,13 @@
|
|||||||
var ad = '{$ad}';
|
var ad = '{$ad}';
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|
||||||
tinySetup();
|
|
||||||
|
|
||||||
{block name="autoload_tinyMCE"}
|
{block name="autoload_tinyMCE"}
|
||||||
// change each by click to load only on click
|
tinySetup({
|
||||||
$(".autoload_rte").each(function(e){
|
editor_selector :"autoload_rte",
|
||||||
tinySetup({
|
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull|cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,undo,redo",
|
||||||
mode :"exact",
|
theme_advanced_buttons2 : "link,unlink,anchor,image,cleanup,code,|,forecolor,backcolor,|,hr,removeformat,visualaid,|,charmap,media,|,ltr,rtl,|,fullscreen",
|
||||||
editor_selector :"autoload_rte",
|
theme_advanced_buttons3 : "",
|
||||||
elements : $(this).attr("id"),
|
theme_advanced_buttons4 : ""
|
||||||
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull|cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,undo,redo",
|
|
||||||
theme_advanced_buttons2 : "link,unlink,anchor,image,cleanup,code,|,forecolor,backcolor,|,hr,removeformat,visualaid,|,charmap,media,|,ltr,rtl,|,fullscreen",
|
|
||||||
theme_advanced_buttons3 : "",
|
|
||||||
theme_advanced_buttons4 : "",
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
{/block}
|
{/block}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user