• Re: Storing HTML

    From Kommunikatsioonitehnoloogia valmist@21:1/5 to All on Sun Oct 30 11:06:54 2022
    Hello

    Want to listen something good ?


    https://youtu.be/6FEDrU85FLE



    Dave Pyles kirjutas Neljapäev, 17. märts 2016 kl 03:27:56 UTC+2:
    On 3/16/2016 1:20 PM, bit-n...@hotmail.com wrote:
    Suppose I have a forum type of a site, where people will be typing in stuff into a textbox which will be stored in a MySQL database on the server. Now, I want people to be able to type in italics and bold and underlined, ie. rich text (and if anyone here has a pointer on how to
    do that, that is to say, without actually coding a word processor in Javascript, I'd be much obliged - the new browsers make it easy with
    some type of "editor" tag, don't they?). So there'll be a "italics" button, a "bold" button, etc. just like any word processor has, and
    when someone types in bold, the text will*appear in bold* inside the textbox. How is this pulled off? And, more importantly, the <b> tags
    and <i> tags will be there inside, together with the text - should I
    store the text WITH the "<b>" stuff*INSIDE* the MySQL db? That seems
    kind of messy..... is there a cleaner way?


    Thanks.
    A few online application that I know of use TinyMCE for marking up text
    to be stored. I Have never tried to incorporate it into an application myself, but I might do what you are looking for.
    https://www.tinymce.com/

    I think that this is off topic for this group.

    Dave Pyles

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)