Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3792082
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:34:04+00:00 2026-05-19T12:34:04+00:00

iam using ckeditor in my website to add the content to the pages. But

  • 0

iam using ckeditor in my website to add the content to the pages.
But I’m not able to understand how I get this content in ckeditor for editing it later…

How to load content into the ckeditor? Iam using the following code to load the editor:

    if ( !@file_exists( '../../ckeditor/ckeditor.php' ) )
    {
    if ( @file_exists('../../ckeditor/ckeditor.js') || @file_exists('../../../ckeditor/ckeditor_source.js') )
        printNotFound('CKEditor 3.1+');
    else
        printNotFound('CKEditor');
    }


include_once '../../ckeditor/ckeditor.php';
include_once '../../ckfinder/ckfinder.php';

// This is a check for the CKEditor class. If not defined, the paths in lines 57 and 70 must be checked.
if (!class_exists('CKEditor'))
{
    printNotFound('CKEditor');
}
else
{
 $ckeditor = new CKEditor();
 $ckeditor->basePath = '../../ckeditor/';
 $ckfinder = new CKFinder();
 $ckfinder->BasePath = '../../ckfinder/'; // Note: BasePath property in CKFinder class starts with capital letter
 $ckfinder->SetupCKEditorObject($ckeditor);
 $ckeditor->editor('message');
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T12:34:05+00:00Added an answer on May 19, 2026 at 12:34 pm

    One way is to pre-populate the <textarea> field with the appropriate (htmlentities() processed) HTML content. CKEditor will automatically fetch the data, and insert it into the WYSIWYG editor.

    See the Integration chapter in the developers guide

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using CKEditor on a website and I need to be able to
i am using rails 3.0.3 and i recently installed ckeditor to add text editor
EDIT: iam using ajax to load text in my content that is why onload
I am using the CKEditor for my website along with PHP, and want to
Hi folks this is prob quiet simple but not sure how to do it.
I am using CKeditor to allow users to add images to their textboxes in
I am working to make html files of a website editable using CKEditor. I
i am using ckeditor,now i want to translate the content in onChange event using
I'm using Ckeditor version 3.1 within CakePHP 2.x I can get the editor to
I am using ckeditor in drupal and add some html tags in it like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.