Jump to content

Preloading Content in Rich Text Editor


misterivanovich
 Share

Recommended Posts

First of all, I figure it would be useful to know which Rich Text Editor I'm using. That would be the Dynamic Drive Rich Text Editor. I'm sure it's basically just like every other rich text editor out there... But if that's the case, then just using a different editor wouldn't change my predicament at all.First of all, I'm having an issue with preloading content in there. I did happen to realize that most of this relies on JavaScript, and maybe that's why it's not particularly enjoying my use of PHP in the midst of it? But in the section where it asks for the HTML that will be the original content of the textarea, I tried using "<?php echo($rtecontent) ?>" ((I defined $rtecontent = 'Testing textarea'; earlier)), but it didn't so much work for me.Also, I'm having trouble actually making the editor appear on the page in proper format. Granted, I move some of the files around ((like the CSS to another directory, same with JavaScript...)) but I could swear I was compensating for that and changing the paths in the JavaScript files and my web pages. I suppose I was wrong.I guess right now, my only question is on the preloading content. If it comes down to it, I'll just put the files where it tells me to and stop being stubborn with my organizational needs.---EDIT---As soon as I posted it, I retried it and it worked. I'm sure I just made some stupid error last time...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...