Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Editor Probleme
#1
Hi,

hatte schonmal gepostet, wegen diesen Problems.. Doch diesmal komm ich nicht weiter

PHP-Code:
<table class="tborder" border="0" cellpadding="4" cellspacing="0">
<
tbody><tr>
<
td class="thead" colspan="2"><strong>Signatur bearbeiten</strong></td>
</
tr>
<
tr>
<
td class="trow1" colspan="2" width="100%">

<
div class="messageEditor" style="position: relative; width: 502px;"><div class="toolbar_container" id="editor_toolbar_container_top"><div class="toolbar float_right" id="editor_toolbar_closetags"><span style="visibility: hidden;" class="toolbar_button toolbar_normal toolbar_button_close_tags toolbar_button_group_first toolbar_button_group_last" id="editor_item_close_tags"><span class="toolbar_sprite toolbar_sprite_close_tags"></span><strong></strong></span><br style="clear: both;"></div><div class="toolbar" id="editor_toolbar_topformatting"><div id="editor_item_font" class="toolbar_dropdown editor_dropdown toolbar_dropdown_font toolbar_dropdown_group_first"><div class="editor_dropdown_label">Schrift</div><div class="editor_dropdown_arrow"></div><ul style="display: none;" class="editor_dropdown_menu"><li class="editor_dropdown_menu_title">Schrift</li><li>Arial<span></span></li><li>Courier<span></span></li><li>Impact<span></span></li><li>Tahoma<span></span></li><li>Times New Roman<span></span></li><li>Trebuchet MS<span></span></li><li>Verdana<span></span></li></ul></div><div id="editor_item_size" class="toolbar_dropdown editor_dropdown toolbar_dropdown_size"><div class="editor_dropdown_label">Schriftgröße</div><div class="editor_dropdown_arrow"></div><ul style="display: none;" class="editor_dropdown_menu"><li class="editor_dropdown_menu_title">Schriftgröße</li><li>Kleinste<span></span></li><li>Kleiner<span></span></li><li>Klein<span></span></li><li>Mittel<span></span></li><li>Groß<span></span></li><li>Größer<span></span></li><li>Größte<span></span></li></ul></div><span class="toolbar_button toolbar_normal toolbar_button_color toolbar_button_with_arrow toolbar_button_group_first toolbar_button_group_last" id="editor_item_color"><img src="http://devidra.bplaced.de/forum/jscripts/editor_themes/default/images/color.gif"><em class="editor_button_color_selected"></em><class="toolbar_button_arrow"></u><strong></strong><ul style="display: none;" class="editor_dropdown_menu"><li class="editor_dropdown_color_item"><a style="background-color: rgb(128, 0, 0);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(139, 69, 19);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(0, 100, 0);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(47, 79, 79);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(0, 0, 128);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(75, 0, 130);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(128, 0, 128);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(0, 0, 0);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(255, 0, 0);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(218, 165, 32);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(107, 142, 35);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(112, 128, 144);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(0, 0, 205);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(72, 61, 139);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(199, 21, 133);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(105, 105, 105);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(255, 69, 0);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(255, 165, 0);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(128, 128, 0);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(70, 130, 180);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(30, 144, 255);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(148, 0, 211);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(255, 20, 147);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(169, 169, 169);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(255, 99, 71);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(255, 215, 0);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(50, 205, 50);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(135, 206, 235);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(0, 191, 255);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(147, 112, 219);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(255, 105, 180);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(220, 220, 220);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(255, 218, 185);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(255, 255, 224);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(152, 251, 152);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(224, 255, 255);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(135, 206, 250);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(230, 230, 250);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(221, 160, 221);"></a></li><li class="editor_dropdown_color_item"><a style="background-color: rgb(255, 255, 255);"></a></li></ul></span><br style="clear: both;"></div></div><div class="toolbar_container" id="editor_toolbar_container_bottom"><div class="toolbar float_right" id="editor_toolbar_insertables"><span class="toolbar_button toolbar_normal toolbar_button_list_num toolbar_button_group_first" title="Nummerierte Liste einfügen" id="editor_item_list_num"><span class="toolbar_sprite toolbar_sprite_list_num"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_list_bullet toolbar_button_group_last" title="Ungeordnete Liste einfügen" id="editor_item_list_bullet"><span class="toolbar_sprite toolbar_sprite_list_bullet"></span><strong></strong></span><span class="toolbar_sep"></span><span class="toolbar_button toolbar_normal toolbar_button_img toolbar_button_group_first" title="Bild einfügen" id="editor_item_img"><span class="toolbar_sprite toolbar_sprite_image"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_url" title="Hyperlink einfügen" id="editor_item_url"><span class="toolbar_sprite toolbar_sprite_link"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_email toolbar_button_group_last" title="E-Mail-Adresse einfügen" id="editor_item_email"><span class="toolbar_sprite toolbar_sprite_email"></span><strong></strong></span><span class="toolbar_sep"></span><span class="toolbar_button toolbar_normal toolbar_button_quote toolbar_button_group_first" title="Zitierten Text einfügen" id="editor_item_quote"><span class="toolbar_sprite toolbar_sprite_quote"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_code" title="Formatierten Code einfügen" id="editor_item_code"><span class="toolbar_sprite toolbar_sprite_code"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_php" title="Formatierten PHP-Code einfügen" id="editor_item_php"><span class="toolbar_sprite toolbar_sprite_php"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_video toolbar_button_with_arrow toolbar_button_group_last" id="editor_item_video"><img src="http://devidra.bplaced.de/forum/jscripts/editor_themes/default/images/television.gif"><class="toolbar_button_arrow"></u><strong></strong><ul style="display: none;" class="editor_dropdown_menu"><li>Dailymotion<span></span></li><li>Google Video<span></span></li><li>MetaCafe<span></span></li><li>MySpace TV<span></span></li><li>Vimeo<span></span></li><li>Yahoo Video<span></span></li><li>YouTube<span></span></li></ul></span><br style="clear: both;"></div><div class="toolbar" id="editor_toolbar_formatting"><span class="toolbar_button toolbar_normal toolbar_button_b toolbar_button_group_first" title="Fettgedruckten Text eingeben" id="editor_item_b"><span class="toolbar_sprite toolbar_sprite_bold"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_i" title="Kursiven Text eingeben" id="editor_item_i"><span class="toolbar_sprite toolbar_sprite_italic"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_u toolbar_button_group_last" title="Unterstrichenen Text eingeben" id="editor_item_u"><span class="toolbar_sprite toolbar_sprite_underline"></span><strong></strong></span><span class="toolbar_sep"></span><span class="toolbar_button toolbar_normal toolbar_button_align_left toolbar_button_group_first" title="Linksbündiger Text" id="editor_item_align_left"><span class="toolbar_sprite toolbar_sprite_align_left"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_align_center" title="Zentrierter Text" id="editor_item_align_center"><span class="toolbar_sprite toolbar_sprite_align_center"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_align_right" title="Rechtsbündiger Text" id="editor_item_align_right"><span class="toolbar_sprite toolbar_sprite_align_right"></span><strong></strong></span><span class="toolbar_button toolbar_normal toolbar_button_align_justify toolbar_button_group_last" title="Text im Blocksatz" id="editor_item_align_justify"><span class="toolbar_sprite toolbar_sprite_align_justify"></span><strong></strong></span><br style="clear: both;"></div></div><div style="clear: both; height: 216px; width: 490px;"><textarea style="height: 216px; width: 490px;" name="signature_new" id="signature_new" rows="15" cols="70"></textarea></div></div><textarea style="visibility: hidden; position: absolute; top: -1000px;" rows="15" cols="70" id="signature_old" name="signature"></textarea>

<!-- 
startcodebuttons --> 

Angeschaut im Template steht es nur so da

PHP-Code:
<table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead" colspan="2"><strong>{$lang->edit_sig}</strong></td>
</
tr>
<
tr>
<
td class="trow1" width="100%" colspan="2">
<
textarea rows="15" cols="70" id="signature" name="signature">{$sig}</textarea>
{
$codebuttons

In Codebuttons ( Templates ohne Gruppe ) steht nur dies

PHP-Code:
<script type="text/javascript" src="jscripts/editor.js?ver=1600"></script>
<
script type="text/javascript">
<!--
    {
$editor_language}
    var 
clickableEditor = new messageEditor("{$bind}", {langeditor_languagertl: {$lang->settings['rtl']}, theme"{$theme['editortheme']}"});
    if(
clickableEditor)
    {
        
clickableEditor.bindSmilieInserter("clickable_smilies");
    }
// -->
</script

Fazit: Ich finde einfach nicht wo der Editor bearbeitet wird, ich bräuchte die Container um die Breite einzustellen, da komischerweiße nicht per CSS der Style bearbeitet werden kann, da ein "Div Style" es bearbeitet

PHP-Code:
<div class="messageEditor" style="position: relative; width: 502px;"
Zitieren
#2
Der Editor hat eigene Stylesheets, diese findest du in einem Unterordner von jscripts.
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren
#3
Hm.. Ok, werd mal versuchen weiterhin mit CSS zu klären, ich hab 2 Thread durchgeschaut, einer sagt dort müssem an in Codebuttons was ändern ( bringt aber bei mir nichts, wahrscheinlich weil da nichtmal 1.6 draussen war )

Und ich hab leider in meinen Thread vergessen zu schreiben wie ich das mit den "überlappen" weggekriegt habt, somit kann ich damit nichtmehr nachschauen

Bin gerade mit Firebug am tüfteln, doch krieg die Lösung nicht hin

Hab das Problem, da ich eh die Funktion im Editor "Justify" nicht benutze, hab ich dieses rausgelöscht

Nun ist der Überlappte Editor weg
Zitieren