Quantcast
Channel: Últimos conteúdos
Viewing all articles
Browse latest Browse all 14190

Editor de texto

$
0
0
Boa noite a todos. Direto ao ponto. Pessoal neste link temos dois editores de texto ambos com height de 300px sendo exibido na tela.
Gostaria que o 2º EDITOR exibisse na tela height de 150px e não 300px 
 
<script src="ckeditor_full_nightly/ckeditor/ckeditor.js"></script>


<table width="350" border="1">
  <tr>
    <td width="334" height="91">1° EDITOR<textarea name="obs01" id="id_textarea_1" ></textarea></td>
  </tr>
  
<script>
// Replace the <textarea id="editor"> with an CKEditor
// instance, using default configurations.
CKEDITOR.replace( 'obs01', {
uiColor: '#14B8C4',
toolbar: [
[ 'Bold', '-', 'Italic', 'FontSize', 'Font', 'TextColor', '-', 'BGColor'],
[ '' ]
]
});
</script>  
</table>
   
<br /><br /><br />
<!-- ############################################################################ -->
<table width="700" border="1">
  <tr>
    <td width="665" height="91">2° EDITOR<textarea name="obs02" id="id_textarea_1" ></textarea></td>
  </tr>
  
<script>
// Replace the <textarea id="editor"> with an CKEditor
// instance, using default configurations.
CKEDITOR.replace( 'obs02', {
uiColor: '#14B8C4',
toolbar: [
[ 'Bold', '-', 'Italic', 'FontSize', 'Font', 'TextColor', '-', 'BGColor'],
[ '' ]
]
});
</script>  
</table>
 
 
 
 
 

Viewing all articles
Browse latest Browse all 14190