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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:30:21+00:00 2026-05-26T04:30:21+00:00

Using Rails, I am building a new wiki system from scratch; however, I am

  • 0

Using Rails, I am building a new wiki system from scratch; however, I am unsure how to handle the buttons for the “create a page” section. Where, for example, a person were to press the “bold” button, it would dynamically add to the textbox below.

In theory, It should be a matter of using javascript to, “on click”, add to the value of the textbox. I just do not know how to do this.

Please keep in mind that I am using ruby on rails, and I am not well versed in Javascript.

  • 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-26T04:30:22+00:00Added an answer on May 26, 2026 at 4:30 am

    For your usage, I would recommend using something like TinyMCE, since it’s a full-fledged javascript text editor that can be easily added to existing forms.

    Generally, to append a text you just do somethig like:

    document.getElementById('textbox').value += "something";
    

    Transforming is done by getting .value and changing it to your likes.

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

Sidebar

Related Questions

I'm relatively new to rails (3), and am building an application, using CanCan, where
I'm building a Rails application using MongoDB as the back-end and MongoMapper as the
I'm building a Flex 4 + Rails 2.3.5 application. First I was using XML
I'm new to rails and building a small test app on rails3 (beta4). I
SOLUTION FOUND: See comment Building a new rails 3.1 app. Started with a basic
I am building a Rails application which allows a user to create an object
I am building web applications using Ruby on Rails and I would like to
I am building a rails application using devise for authentication - including :confirmable functionality.
I'm building a simple real time chat using Juggernaut, Redis, SQLite and Rails 3.1
I am building an app using Rails 3 that allows users to submit videos.

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.