Results 1 to 2 of 2

Thread: using strings in place of preloaded text

  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default using strings in place of preloaded text

    1) Script Title: Rich Text Editor

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...itor/index.htm

    3) Describe problem:
    This should be easy but I cannot replace the preloaded text with a string variable. For example I simply want to replace:

    writeRichText('rte2', 'preloaded <b>text</b>', 560, 100, true, false);

    with

    writeRichText('rte2', '<?php echo $variable ?>', 560, 100, true, false);

    But it keeps making the script not work.

    I would think that there would be an easy way to do this. Any advice would be helpful.

  2. #2
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    turns out that it only caused the editor to not work for some values and not others. beats me. wasted too much time. gonna look for another text editor

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
  •