Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: insert image in a Rich Text Editor

  1. #1
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default insert image in a Rich Text Editor

    hi, i am developing a Rich Text Editor with the functionallity of inserting image. Does anyone have the experiece of making an image to be follow by more than 1 line of sentences?
    As we familiar with, before or after we insert an image we can only type 1 line of sentence no matter how big is the image, what i mean here is i desire to make a function that allow the user to type more than one line whenever they had insert an image.

    Hope u guys understand what i mean

    Thank a lot for reply.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    divs or tables needed for that, basically.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you .....

  4. #4
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    but i m not creating a web site, what i creating is the Rich Text Editor allowed the user can type in another line or more than 1 line after they insert an image.
    Pls give me more guidelines........

    Thank You

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    It's complex. But... yeah, you'd basically need a table with two cells, or two divs lined up next to each other.
    I wouldn't really know the exact coding on that... a RTE is a big project
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    djr33, do u know any web site that i can get for the tutorial of this?

    Thank you

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Not really sure.

    If I were to try, I'd just copy an existing function and try to mimic it, plus changing the html it outputs (to create the needed table, etc.).
    That's probably easier said than done, however.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  8. #8
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://www.mozilla.org/editor/midas-spec.html

    there's one related with IE but not sure where. Try googling it.

  9. #9
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok , Thank you very much guys!

  10. #10
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •