MarkItUp: Rails plugin that turns any textarea into a markup editor

I recently published a plugin that helps you turn any textarea into a markup editor. It is based on excellent markItUp! jQuery plugin.

Example

The most simple usage with preset defaults

<html>
<head>
  <%= javascript_include_tag "path/to/jquery" %>
  <%= mark_it_up '#miu_test' %>
</head>
<body>
  <%= form_tag do %>
    <%= text_area_tag "miu_test" %>
  <% end %>
</body>
</html>

You can see a lot more cool examples in action on markitup.cingel.hr.

More info

markitup.cingel.hr
github.com/cingel/mark_it_up

Advertisements

8 thoughts on “MarkItUp: Rails plugin that turns any textarea into a markup editor

  1. I could not get this to work out of the box with rails 3. Will you be updating the plugin to work with rails 3, and time soon.

    thanks

    Like

  2. @HAB100

    I will do my best to add Rails 3 support in the near future, till then you will have to replace


    with

    I just did a quick fix so it should now work out of the box in Rails 3.

    Like

  3. Hi,

    Great to see someone ported this great editor to Rails. However I can’t get it to run in my Rails 3.1 app. It just says: undefined method ‘mark_it_up’ when I follow the steps on the Git.

    Something I’m doing wrong or something incompatible with 3.1?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s