TinyMCE: different type of editor :full,minimal, no-toolbar, plain
This commit is contained in:
parent
a28b1c7228
commit
4a5ad9a580
5 changed files with 66 additions and 27 deletions
|
|
@ -38,12 +38,35 @@ echo '</div>';
|
|||
$itext=new \ITextarea("enrich");
|
||||
$itext->value= $http->post("enrich","raw","");
|
||||
|
||||
$itext->set_enrichText("enrich");
|
||||
$itext->set_enrichText("full");
|
||||
echo $itext->input();
|
||||
?>
|
||||
|
||||
|
||||
<hr>
|
||||
<h1>Minimum Area</h1>
|
||||
<?php
|
||||
$itext=new \ITextarea("enrich2");
|
||||
$itext->value= $http->post("enrich2","raw","");
|
||||
|
||||
$itext->set_enrichText("minimal");
|
||||
echo $itext->input();
|
||||
?>
|
||||
|
||||
|
||||
<p>
|
||||
<h1>No Toolbar</h1>
|
||||
<?php
|
||||
$itext=new \ITextarea("enrich3");
|
||||
$itext->value= $http->post("enrich3","raw","");
|
||||
|
||||
$itext->set_enrichText("no-toolbar");
|
||||
echo $itext->input();
|
||||
?>
|
||||
|
||||
|
||||
<p>
|
||||
|
||||
<h1>Plain Area</h1>
|
||||
<?php
|
||||
$itext=new \ITextarea("enrich2");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue