-
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.
-
-
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
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks