#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2014
    Posts
    1
    Rep Power
    0

    Humbly asking for a little help


    Hello all,
    I will try to make it short, and not take too much of your time. I need to create a special functionality in an html document, my feelings tell me JavaScript is the answer, but I would like some confirmation.

    I will briefly describe my problem. I have an html document with short paragraphs of color coded text. My goal is to click on any paragraph, which would then be transferred to an editable text area. If its too complicated to move the text with color into this editable area, then it would suffice if its above this textarea in color and in the text area without color (this is the way I depicted in the imaginary screenshot below). If this editable text area is in a popup or lets say on the right side of the screen does not matter. The only button necessary next to the text area is "copy to clipboard" which afaik can currently only be done with the help of flash.

    Below you can find the image how I imagine the most simple solution to my problem. Please kindly let me know if this is possible with Javascript, and if its difficult to do. What functions should I look into, can you give me some tips to get me started? I know some html, but in terms of scripting I only know AutoHotKey, no Javascript yet.

    Since I am new I could not paste the image here, its uploaded
    to imgur as eAcgPP9
    to cubeupload as yLFkBi.jpg

    Thank you for your time and help! I am willing to learn, but I don't know where to start. And since my time is limited I cannot start at A
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2013
    Posts
    67
    Rep Power
    0
    There are tools out there that will do what you want.

    The one I use is called ckeditor, and allows for in-line text editing, so yes you could click on coloured text and then open it somewhere to modify it. I'm not sure if ckeditor has an option to copy to clipboard though... although it does have paste options...

    http://ckeditor.com/

    Check it out.
    Last edited by someGuyGatsby; February 18th, 2014 at 07:44 PM.
    http://kawaii-nation.com (^._.^)ノ

IMN logo majestic logo threadwatch logo seochat tools logo