Click here to Skip to main content
15,921,454 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hi how can I create a rich text box for my cms that can alter the text and upload image for my content?
Posted
Updated 21-Feb-18 18:17pm
Comments
Sergey Alexandrovich Kryukov 6-Aug-12 12:25pm    
It depends on what do you mean by "rich text box". If you mean literally RTF format, it is not supported by the browsers, anyway. You can have RTF on the server side only as internal data presentation, but it would make little practical sense. If you want something else, you should describe it.
--SA

HTML5 allow div to edit on running site. with clever javascript you can convert a div to smart document writer.

you can also follow codeproject textbox style. its a simple textarea. all you have to do is do some javascripting.
 
Share this answer
 
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="CSS/stile.css">
    <title>tabella</title>
</head>

<body>
    <br>
    <div class="titlebarpesiti" style="background-color:#22AEB9">
    CONTROLLO SITO
    </div>

    <br>
    <br>

    <div class="titlebarpesiti">
        <form id="richiesta dati" name="richiesta dati" method="POST" action="PHP/Scrittura_dati.php">

            <label for="festa">Festa:  </label><input type="text" name="festa"> <br> <br>
            <label for="data">Data:  </label><input type="text" name="data"><br> <br> 
            <label for="luogo">Luogo:  </label><input type="text" name="luogo"><br> <br>
            <label for="prezzo">Prezzo:  </label><input type="text" name="prezzo"><br> <br>
            <label for="bus">Bus:  </label><input type="text" name="bus"><br> <br>
            <label for="organizzatori">Organizzatori:  </label><input type="text" name="organizzatore"><br> <br>
            <label for="dettagli">Altre info:  </label><input type="text" name="dettagli"><br> <br>
            <input type="submit" value="Invia Dati"><br> </br>
        </form>
    </div>
    <div class="titlebarpesiti" style="background-color:#FF0004">
    ELIMINARE DATI
        <form id="eliminare dati" name="eliminare dati" method="POST" action="PHP/eliminaredati.php">
            <input type="text" name="ideliminare">
            <input type="submit" value="INVIO"><br> </br>
        </form>
    </div>

    <br>
    <br>

</body>
</html>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900