Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Question about modifying current webpages in WYSIWYG editor.

Question about modifying current webpages in WYSIWYG editor.

Question about modifying current webpages in WYSIWYG editor.

I'm currently using CKEditor from CKEDITOR.COM.

Anyway, I'm trying to load the contents of a webpage into the editor. The code below shows the data from the editor being posted to a webpage.

$editor_data = ($_POST[ 'editor1' ]);

'Editor1' is the data from the WYSIWYG editor. This is placed in the html file. This works good. But now I would like this reversed in that the information from the html file is loaded into the editor so that it can be updated by the user.

Do I use something like a Get statement? I don't need to use file browsing to locate the html file. I would have a static entry I guess like Get="File.HTML" , something like that. I'm not sure of the correct syntax. Otherwise everything else works fine.

Any assistance will be appreciated.


RE: Question about modifying current webpages in WYSIWYG editor.


Your question is off-topic as it has nothing to do with web design.

But before re-posting in the appropriate forum, please read the documentation :

Quote (CKEditor):

Note that, if you want to load data into the editor, from a database for example, just put that data inside the textarea, just like the above example.
CKEditor 3.x | Developers Guide | Integration | Creating an Editor Instance


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close