TinyMCE: different type of editor :full,minimal, no-toolbar, plain

This commit is contained in:
sparkyx 2025-10-17 10:18:40 +02:00
parent a28b1c7228
commit 4a5ad9a580
5 changed files with 66 additions and 27 deletions

View file

@ -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");