Iframe (Designmode) per Variable an PHP senden

?php

Grünschnabel
Hallo!

Ich habe einen einfachen WYSIWYG-Editor erstellt, dies war auch kein großes Problem!
Nun meine Frage, wie kann ich den Inhalt dieses Editors nun abspeichern?
Der Inhalt des Editors wird als Iframe im beschreibbaren Designmode dargestellt!

Ich habe es folgendermaßen versucht:

HTML-Code:
Code:
<form method="post" action="editor.php" onsubmit="copy_content();">
<input type="hidden" name="content" id="inhalt_editor" />
<input type="submit" name="submit_speichern" value="Seite Speichern" /><button type="button" onclick="view_source();aufklappen('editor_menu')">Quelltext anzeigen</button>
</form>

JS-Code
Code:
  function copy_content()
  {
    if(document.all)
    {
      //IE
      html_code = editor.document.body.innerHTML;
      document.getElementById('content_editor').value = html_code;
    }else
    {
      //ff
      html_code = frames['editor'].document.getElementsByTagName('body')[0].innerHTML;
      document.getElementById('content_editor').value = html_code;
    }
  }

PHP-Code:
Code:
<?php
	echo $_POST['content'];
?>

Dies funktionier aber nicht!
Wieso?
Gibt es noch eine bessere Methode dafür?

Mit freundlichen Grüßen,
?php

PS: Ich bin Anfänger im PHP-Bereich und habe sogut wie keine Erfahrung im JS-Bereich!
Da ich in einem PHP-Forum unfreundlich abgewiesen wurde (nicht zum ersten Mal), dachte ich, dass ich in diesem Forum richtig bin!
 
Hi,

der Zugriff auf den iFrame erfolgt in den Browsern anders als von dir erwartet:
Code:
  if(document.all){
    //IE
    html_code = window.frames['editor'].document.getElementsByTagName("body")[0].innerHTML;
    document.getElementById('content_editor').value = html_code;
  }else{
    //ff
    html_code = document.getElementById('editor').contentWindow.document.getElementsByTagName('body')[0].innerHTML;
    document.getElementById('content_editor').value = html_code;
  }
Desweiteren verwendest du für das Ziel-Inputfeld in der JS-Funktion den Namen content_editor, im HTML-Code inhalt_editor.

Ich würde ausserdem als Zielelement eine textarea verwenden, statt eines input-Feldes.

Ciao
Quaese
 
Das Funktionier leider auch nicht!
Ich habe HTML und JS getrennt, kann dies ein Fehler verursachen?
Wie würdest du es mit einer textarea machen?
 
Hi,

die Trennung von HTML und JS sollte nicht das Problem sein.

Folgendes Testdokument funktioniert bei mir.
Code:
<html>
<head>
<title>www.tutorials.de</title>
<meta name="author" content="Quaese">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
function initEdit(strEdit, strDefTxt) {
  if (document.all && !window.opera)
    objIFrame = window.frames[strEdit].document;
  else
    objIFrame = document.getElementById(strEdit).contentWindow.document;

  // Designmodus einschalten (iFrame wird beabeitbar)
  objIFrame.designMode = 'on';

  // Falls ein Starttext übergeben wurde
  if (strDefTxt)
    // Dokument im IFrame zum Bearbeiten öffnen und Starttext einfügen
    with (objIFrame) {
      open();
      write(strDefTxt);
      close();
    }

  document.getElementById(strEdit).contentWindow.focus();
}

function copy_content(){
  if(document.all){
    //IE
    html_code = window.frames['editor'].document.getElementsByTagName("body")[0].innerHTML;
    document.getElementById('content_editor').value = html_code;
  }else{
    //ff
    html_code = document.getElementById('editor').contentWindow.document.getElementsByTagName('body')[0].innerHTML;
    document.getElementById('content_editor').value = html_code;
  }
}

window.onload = function(){
  initEdit("editor", "Starttext");

}
</script>
</head>
<body >
<iframe name="editor" id="editor"></iframe>
<form method="post" action="editor.php" onsubmit="copy_content();">
  <textarea style="display: none" name="content" id="content_editor"></textarea>
  <input type="submit" name="submit_speichern" value="Seite Speichern" />
</form>
</body>
</html>

Ciao
Quaese
 
Vielen Dank!
Es funktioniert!

Ich habe es wie von Quaese beschrieben gelöst!

Falls jemand ähnliche Probleme hat oder es nachmachen will:

Mein HTML Quelltext:
Code:
<html>
<head>
<title>Editor</title>
<script type="text/javascript" src="editor.js"></script>


<script type="text/javascript">
function getContent(objForm){
  var objIframe = null;
  if(document.all && !window.opera){
    objIframe = document.editor.document;
  }else{
    objIframe = document.getElementById("editor").contentWindow.document;
  }
 
  objForm.txtContent.value = objIframe.getElementsByTagName("body")[0].innerHTML;
}
</script>


<link rel="stylesheet" type="text/css" href="editor.css">
<body onLoad="Init()">
	<table id="tblCtrls" width="415px" height="30px" border="0" cellspacing="0" cellpadding="0">	
	<tr>
		<td class="tdClass">
			<img alt="Bold" class="butClass" src="bold.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doBold()">
			<img alt="Italic" class="butClass" src="italic.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doItalic()">
			<img alt="Underline" class="butClass" src="underline.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doUnderline()">
			
			<img alt="Left" class="butClass" src="left.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doLeft()">
			<img alt="Center" class="butClass" src="center.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doCenter()">
			<img alt="Right" class="butClass" src="right.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doRight()">
						
			<img alt="Ordered List" class="butClass" src="ordlist.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doOrdList()">
			<img alt="Bulleted List" class="butClass" src="bullist.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doBulList()">
			
			<img alt="Text Color" class="butClass" src="forecol.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doForeCol()">
			<img alt="Background Color" class="butClass" src="bgcol.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doBackCol()">
			
			<img alt="Hyperlink" class="butClass" src="link.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doLink()">
			<img alt="Image" class="butClass" src="image.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doImage()">
			<img alt="Horizontal Rule" class="butClass" src="rule.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doRule()">
			
		</td>
	</tr>
	</table>

	<iframe name="editor" id="iView" style="width: 415px; height:205px"></iframe>
<form method="post" action="editor.php" onsubmit="copy_content();">
  <textarea style="display: none" name="content" id="content_editor"></textarea>
  <input type="submit" name="submit_speichern" value="Seite Speichern" />
</form>
</body>
</html>

    <table width="415px" height="30px" border="0" cellspacing="0" cellpadding="0">	
    <tr>
		<td class="tdClass" colspan="1" width="80%">
		  <select name="selFont" onChange="doFont(this.options[this.selectedIndex].value)">
		    <option value="">-- Font --</option>
		    <option value="Arial">Arial</option>
		    <option value="Courier">Courier</option>
		    <option value="Sans Serif">Sans Serif</option>
		    <option value="Tahoma">Tahoma</option>
		    <option value="Verdana">Verdana</option>
		    <option value="Wingdings">Wingdings</option>
		  </select>
		  <select name="selSize" onChange="doSize(this.options[this.selectedIndex].value)">
		    <option value="">-- Size --</option>
		    <option value="1">Very Small</option>
		    <option value="2">Small</option>
		    <option value="3">Medium</option>
		    <option value="4">Large</option>
		    <option value="5">Larger</option>
		    <option value="6">Very Large</option>
		  </select>
		  <select name="selHeading" onChange="doHead(this.options[this.selectedIndex].value)">
		    <option value="">-- Heading --</option>
		    <option value="Heading 1">H1</option>
		    <option value="Heading 2">H2</option>
		    <option value="Heading 3">H3</option>
		    <option value="Heading 4">H4</option>
		    <option value="Heading 5">H5</option>
		    <option value="Heading 6">H6</option>
		  </select>
		</td>
		<td class="tdClass" colspan="1" width="20%" align="right">
		  <img alt="Toggle Mode" class="butClass" src="mode.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doToggleView()">
		  &nbsp;&nbsp;&nbsp;
		</td>
    </tr>
    </table>
</body>
</html>

JS Code:
Code:
  var viewMode = 1; // WYSIWYG

  function Init()
  {
    iView.document.designMode = 'On';
  }   
 //-----------------------Von Quaese------------------------
function initEdit(strEdit, strDefTxt) {
  if (document.all && !window.opera)
    objIFrame = window.frames[strEdit].document;
  else
    objIFrame = document.getElementById(strEdit).contentWindow.document;
 
  // Designmodus einschalten (iFrame wird beabeitbar)
  objIFrame.designMode = 'on';
 
  // Falls ein Starttext übergeben wurde
  if (strDefTxt)
    // Dokument im IFrame zum Bearbeiten öffnen und Starttext einfügen
    with (objIFrame) {
      open();
      write(strDefTxt);
      close();
    }
 
  document.getElementById(strEdit).contentWindow.focus();
}
 
function copy_content(){
  if(document.all){
    //IE
    html_code = window.frames['editor'].document.getElementsByTagName("body")[0].innerHTML;
    document.getElementById('content_editor').value = html_code;
  }else{
    //ff
    html_code = document.getElementById('editor').contentWindow.document.getElementsByTagName('body')[0].innerHTML;
    document.getElementById('content_editor').value = html_code;
  }
}
 //-----------------------------------------------------
window.onload = function(){
  initEdit("editor", "Starttext");
 
}
  function selOn(ctrl)
  {
	ctrl.style.borderColor = '#000000';
	ctrl.style.backgroundColor = '#B5BED6';
	ctrl.style.cursor = 'hand';	
  }
  
  function selOff(ctrl)
  {
	ctrl.style.borderColor = '#D6D3CE';  
	ctrl.style.backgroundColor = '#D6D3CE';
  }
  
  function selDown(ctrl)
  {
	ctrl.style.backgroundColor = '#8492B5';
  }
  
  function selUp(ctrl)
  {
    ctrl.style.backgroundColor = '#B5BED6';
  }
    
  function doBold()
  {
	iView.document.execCommand('bold', false, null);
  }

  function doItalic()
  {
	iView.document.execCommand('italic', false, null);
  }

  function doUnderline()
  {
	iView.document.execCommand('underline', false, null);
  }
  
  function doLeft()
  {
    iView.document.execCommand('justifyleft', false, null);
  }

  function doCenter()
  {
    iView.document.execCommand('justifycenter', false, null);
  }

  function doRight()
  {
    iView.document.execCommand('justifyright', false, null);
  }

  function doOrdList()
  {
    iView.document.execCommand('insertorderedlist', false, null);
  }

  function doBulList()
  {
    iView.document.execCommand('insertunorderedlist', false, null);
  }
  
  function doForeCol()
  {
    var fCol = prompt('Enter foreground color', '');
    
    if(fCol != null)
      iView.document.execCommand('forecolor', false, fCol);
  }

  function doBackCol()
  {
    var bCol = prompt('Enter background color', '');
    
    if(bCol != null)
      iView.document.execCommand('backcolor', false, bCol);
  }

  function doLink()
  {
    iView.document.execCommand('createlink');
  }
  
  function doImage()
  {
    var imgSrc = prompt('Enter image location', '');
    
    if(imgSrc != null)    
     iView.document.execCommand('insertimage', false, imgSrc);
  }
  
  function doRule()
  {
    iView.document.execCommand('inserthorizontalrule', false, null);
  }
  
  function doFont(fName)
  {
    if(fName != '')
      iView.document.execCommand('fontname', false, fName);
  }
  
  function doSize(fSize)
  {
    if(fSize != '')
      iView.document.execCommand('fontsize', false, fSize);
  }
  
  function doHead(hType)
  {
    if(hType != '')
    {
      iView.document.execCommand('formatblock', false, hType);  
      doFont(selFont.options[selFont.selectedIndex].value);
    }
  }
  
  function doToggleView()
  {  
    if(viewMode == 1)
    {
      iHTML = iView.document.body.innerHTML;
      iView.document.body.innerText = iHTML;
      
      // Hide all controls
      tblCtrls.style.display = 'none';
      selFont.style.display = 'none';
      selSize.style.display = 'none';
      selHeading.style.display = 'none';
      iView.focus();
      
      viewMode = 2; // Code
    }
    else
    {
      iText = iView.document.body.innerText;
      iView.document.body.innerHTML = iText;
      
      // Show all controls
      tblCtrls.style.display = 'inline';
      selFont.style.display = 'inline';
      selSize.style.display = 'inline';
      selHeading.style.display = 'inline';
      iView.focus();
      
      viewMode = 1; // WYSIWYG
    }
  }

PHP-Code (Zur späteren Speicherung in der MySQL-Datenbank):
Code:
<?php
	echo $_POST['content'];
?>

Vielen Dank!:)

Wenigstens ein Forum indem man sich bemüht!
 
Hallo!

Ich habe leider noch ein Problem:
Der WYSIWYG-Editor funktioniert zwar im IE super, aber im Mozilla Firefox nicht!
Es wird zwar alles angezeigt, aber das Iframe ist nicht bearbeitbar! (Geht im Firefox vieleicht der Iframe-Designmode nicht?)
Zudem wird der Hintergrund des Iframes im Firefox transparent angezeigt. (Im IE weiß)

Hier noch der Aktuelle HTML-Code:
Code:
<html>
<head>
<title>Editor</title>
<script type="text/javascript" src="editor3.js"></script>
<link rel="stylesheet" type="text/css" href="editor.css">
<body onLoad="Init()">
	<table id="tblCtrls" width="415px" height="30px" border="0" cellspacing="0" cellpadding="0">	
	   <tr>
		<td class="tdClass">
			<img alt="Fett" class="butClass" src="bold.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doBold()">
			<img alt="Kursiv" class="butClass" src="italic.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doItalic()">
			<img alt="Unterstrichen" class="butClass" src="underline.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doUnderline()">
			
			<img alt="Links" class="butClass" src="left.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doLeft()">
			<img alt="Mitte" class="butClass" src="center.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doCenter()">
			<img alt="Rechts" class="butClass" src="right.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doRight()">
						
			<img alt="Nummerierung" class="butClass" src="ordlist.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doOrdList()">
			<img alt="Aufzählungszeichen" class="butClass" src="bullist.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doBulList()">
			
			<img alt="Textfarbe Schwarz" class="butClass" src="forecolblack.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doForeColblack()">
			<img alt="Textfarbe Rot" class="butClass" src="forecolred.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doForeColred()">
			<img alt="Textfarbe Grün" class="butClass" src="forecolgreen.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doForeColgreen()">
			<img alt="Textfarbe Blau" class="butClass" src="forecolblue.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doForeColblue()">
			<img alt="Textfarbe Gelb" class="butClass" src="forecolyellow.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doForeColyellow()">
			<img alt="Textfarbe Orange" class="butClass" src="forecolorange.gif" onMouseOver="selOn(this)" onMouseOut="selOff(this)" onMouseDown="selDown(this)" onMouseUp="selUp(this)" onClick="doForeColorange()">
		</td>
	   </tr>
	</table>

	<iframe name="editor" id="iView" style="width: 415px; height:205px"></iframe>

	<table width="415px" height="30px" border="0" cellspacing="0" cellpadding="0">	
	   <tr>
		<td class="tdClass" colspan="1" width="80%">
		  <select name="selFont" onChange="doFont(this.options[this.selectedIndex].value)">
		    <option value="">-- Schriftart --</option>
		    <option value="Arial">Arial</option>
		    <option value="Courier">Courier</option>
		    <option value="Sans Serif">Sans Serif</option>
		    <option value="Tahoma">Tahoma</option>
		    <option value="Verdana">Verdana</option>
		    <option value="Wingdings">Wingdings</option>
		  </select>
		  <select name="selSize" onChange="doSize(this.options[this.selectedIndex].value)">
		    <option value="">-- Schriftgröße --</option>
		    <option value="1">Sehr klein</option>
		    <option value="2">Klein</option>
		    <option value="3">Mittel</option>
		    <option value="4">Groß</option>
		    <option value="5">Größer</option>
		    <option value="6">Sehr groß</option>
		  </select>
		</td>
	   </tr>
	</table>
<form method="post" action="editor.php" onsubmit="copy_content();">
  <textarea style="display: none" name="content" id="content_editor"></textarea>
  <input type="submit" name="submit_speichern" value="Senden" />
</form>
</body>
</html>

Java-Script-Code:
Code:
  var viewMode = 1; // WYSIWYG

  function Init()
  {
    iView.document.designMode = 'On';
  }   
 
  function getContent(objForm){
    var objIframe = null;
    if(document.all && !window.opera)
    {
      objIframe = document.editor.document;
    }else
    {
      objIframe = document.getElementById("editor").contentWindow.document;
    }
    objForm.txtContent.value = objIframe.getElementsByTagName("body")[0].innerHTML;
  }
 
  function initEdit(strEdit, strDefTxt)
  {
    if (document.all && !window.opera)
      objIFrame = window.frames[strEdit].document;
    else
      objIFrame = document.getElementById(strEdit).contentWindow.document;
 
    // Designmodus einschalten (iFrame wird beabeitbar)
    objIFrame.designMode = 'on';
 
    // Falls ein Starttext übergeben wurde
    if (strDefTxt)
      // Dokument im IFrame zum Bearbeiten öffnen und Starttext einfügen
      with (objIFrame) {
        open();
        write(strDefTxt);
        close();
      }
    document.getElementById(strEdit).contentWindow.focus();
  }
 
  function copy_content(){
    if(document.all){
      //IE
      html_code = window.frames['editor'].document.getElementsByTagName("body")[0].innerHTML;
      document.getElementById('content_editor').value = html_code;
    }else
    {
      //ff
      html_code = document.getElementById('editor').contentWindow.document.getElementsByTagName('body')[0].innerHTML;
      document.getElementById('content_editor').value = html_code;
    }
  }
 
  window.onload = function(){
  initEdit("editor", "Starttext");
  }
  
  function selOn(ctrl)
  {
	ctrl.style.borderColor = '#000000';
	ctrl.style.backgroundColor = '#B5BED6';
	ctrl.style.cursor = 'hand';	
  }
  
  function selOff(ctrl)
  {
	ctrl.style.borderColor = '#999999';  
	ctrl.style.backgroundColor = '#FFFFFF';
  }
  
  function selDown(ctrl)
  {
	ctrl.style.backgroundColor = '#8492B5';
  }
  
  function selUp(ctrl)
  {
    ctrl.style.backgroundColor = '#D6D3CE';
  }
    
  function doBold()
  {
	iView.document.execCommand('bold', false, null);
  }

  function doItalic()
  {
	iView.document.execCommand('italic', false, null);
  }

  function doUnderline()
  {
	iView.document.execCommand('underline', false, null);
  }
  
  function doLeft()
  {
    iView.document.execCommand('justifyleft', false, null);
  }

  function doCenter()
  {
    iView.document.execCommand('justifycenter', false, null);
  }

  function doRight()
  {
    iView.document.execCommand('justifyright', false, null);
  }

  function doOrdList()
  {
    iView.document.execCommand('insertorderedlist', false, null);
  }

  function doBulList()
  {
    iView.document.execCommand('insertunorderedlist', false, null);
  }
  
  function doForeCol()
  {
    var fCol = prompt('Schriftfarbe eingeben', '');
    
    if(fCol != null)
      iView.document.execCommand('forecolor', false, fCol);
  }

  function doBackCol()
  {
    var bCol = prompt('Enter background color', '');
    
    if(bCol != null)
      iView.document.execCommand('backcolor', false, bCol);
  }

  function doLink()
  {
    iView.document.execCommand('createlink');
  }
  
  function doImage()
  {
    var imgSrc = prompt('Enter image location', '');
    
    if(imgSrc != null)    
     iView.document.execCommand('insertimage', false, imgSrc);
  }
  
  function doRule()
  {
    iView.document.execCommand('inserthorizontalrule', false, null);
  }
  
  function doFont(fName)
  {
    if(fName != '')
      iView.document.execCommand('fontname', false, fName);
  }
  
  function doSize(fSize)
  {
    if(fSize != '')
      iView.document.execCommand('fontsize', false, fSize);
  }
  
  function doHead(hType)
  {
    if(hType != '')
    {
      iView.document.execCommand('formatblock', false, hType);  
      doFont(selFont.options[selFont.selectedIndex].value);
    }
  }
  
  function doToggleView()
  {  
    if(viewMode == 1)
    {
      iHTML = iView.document.body.innerHTML;
      iView.document.body.innerText = iHTML;
      
      // Hide all controls
      tblCtrls.style.display = 'none';
      selFont.style.display = 'none';
      selSize.style.display = 'none';
      selHeading.style.display = 'none';
      iView.focus();
      
      viewMode = 2; // Code
    }
    else
    {
      iText = iView.document.body.innerText;
      iView.document.body.innerHTML = iText;
      
      // Show all controls
      tblCtrls.style.display = 'inline';
      selFont.style.display = 'inline';
      selSize.style.display = 'inline';
      selHeading.style.display = 'inline';
      iView.focus();
      
      viewMode = 1; // WYSIWYG
    }
  }

Ich hoffe ihr könnt mir weiterhelfen,
?php
 

Neue Beiträge

Zurück