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 8021707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:03:59+00:00 2026-06-04T22:03:59+00:00

I have added a dojo rtf editor to a django admin page using the

  • 0

I have added a dojo rtf editor to a django admin page using the instructions from this blog post (Using Dojo Rich Editor with Django’s Admin).

The problem is that there appears and extra rtf editor at the top of the page .ScreenShot
How do I get rid of this ?

The Source Code for the project can be found at gautamk/QPaperGenerator-Django – GitHub.

  • 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-06-04T22:04:00+00:00Added an answer on June 4, 2026 at 10:04 pm

    I believe the problem is that all textarea elements are getting turned into dijit editor widgets. The code at fault is in editor.js:

    var textareas = dojo.query("textarea");
    if(textareas && textareas.length){
      ...
      textareas.instantiate(dijit.Editor, {...});
    }
    

    As you can see, the query selects all textareas, not just the ones you want. Now, I have no idea why there’s a text area up at the top of your screen to begin with, but presumably it’s getting hit by this query too. To fix the problem, try a more specific query. For instance something like one of these:

    dojo.query("#id_question"); // Only the question field
    dojo.query("#id_comments"); // Only the comments field
    dojo.query(".vLargeTextField"); // All the large-ish admin text widgets
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've added the Dojo wysiwyg editor to my django admin panel. I have an
I have added some settings to my c# application using the configuration editor. There
I have added this to a class comment: @link http://www.google.com Google @endlink However, when
I am new to DoJo development so this could be basic. I have created
We have added a yes/no product attribute labelled: Allow this product to have coupons
I have added a category to my Xcode project using File > New >
I have added a list of items in my blckberry screen using custom list
I have added a checkbox to the Additional Tasks page of an InnoSetup script
I have added a subview over my UITableView using: TransparentViewController *tvc = [[TransparentViewController alloc]
i have added to my page an asp.net calendar control and i would 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.