Fix CSS issues (empty stylehseets) and bug with inserting images
This commit is contained in:
parent
0908601d43
commit
96fc983f91
@ -260,6 +260,7 @@ function noWysiwygAdd( str, textarea )
|
|||||||
eltarget = document.forms[0].elements[0];
|
eltarget = document.forms[0].elements[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wrapSelection(eltarget, str, '');
|
||||||
eltarget.focus();
|
eltarget.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}: {$CONST.SELECT_FILE}</title>
|
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}: {$CONST.SELECT_FILE}</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset={$CONST.LANG_CHARSET}" />
|
<meta http-equiv="Content-Type" content="text/html; charset={$CONST.LANG_CHARSET}" />
|
||||||
<link rel="stylesheet" type="text/css" href="{$media.css}" />
|
{if $media.css}<link rel="stylesheet" type="text/css" href="{$media.css}" />{/if}
|
||||||
<link rel="stylesheet" type="text/css" href="{$media.css_tree}" />
|
{if $media.css_tree}<link rel="stylesheet" type="text/css" href="{$media.css_tree}" />{/if}
|
||||||
<link rel="stylesheet" type="text/css" href="{$media.css_imgedit}" />
|
{if $media.css_imgedit}<link rel="stylesheet" type="text/css" href="{$media.css_imgedit}" />{/if}
|
||||||
|
|
||||||
{if $media.is_imgedit}
|
{if $media.is_imgedit}
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user